Merge "CI: Bump Ceph to Pacific"
This commit is contained in:
commit
599f82ad32
@ -1,13 +1,14 @@
|
|||||||
---
|
---
|
||||||
cephadm_ceph_apt_repo: "deb http://download.ceph.com/debian-octopus/ {{ ansible_distribution_release }} main"
|
cephadm_ceph_release: "pacific"
|
||||||
|
cephadm_ceph_apt_repo: "deb http://download.ceph.com/debian-{{ cephadm_ceph_release }}/ {{ ansible_distribution_release }} main"
|
||||||
|
|
||||||
cephadm_ceph_rpm_repos:
|
cephadm_ceph_rpm_repos:
|
||||||
- shortname: "ceph"
|
- shortname: "ceph"
|
||||||
name: "Ceph {{ ansible_architecture }} repository"
|
name: "Ceph {{ ansible_architecture }} repository"
|
||||||
url: "http://download.ceph.com/rpm-octopus/el8/{{ ansible_architecture }}/"
|
url: "http://download.ceph.com/rpm-{{ cephadm_ceph_release }}/el8/{{ ansible_architecture }}/"
|
||||||
- shortname: "ceph-noarch"
|
- shortname: "ceph-noarch"
|
||||||
name: "Ceph noarch repository"
|
name: "Ceph noarch repository"
|
||||||
url: "http://download.ceph.com/rpm-octopus/el8/noarch/"
|
url: "http://download.ceph.com/rpm-{{ cephadm_ceph_release }}/el8/noarch/"
|
||||||
|
|
||||||
cephadm_ceph_rpm_gpg_key: http://download.ceph.com/keys/release.gpg
|
cephadm_ceph_rpm_gpg_key: http://download.ceph.com/keys/release.gpg
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
--skip-dashboard
|
--skip-dashboard
|
||||||
--skip-firewalld
|
--skip-firewalld
|
||||||
--mon-ip={{ mon_ip }}
|
--mon-ip={{ mon_ip }}
|
||||||
|
--mon-addrv='[v2:{{ mon_ip }}:3300,v1:{{ mon_ip }}:6789]'
|
||||||
become: True
|
become: True
|
||||||
register: cephadm_bootstrap_output
|
register: cephadm_bootstrap_output
|
||||||
|
|
||||||
@ -64,6 +65,13 @@
|
|||||||
dest: "/var/run/ceph/{{ ceph_fsid }}/cluster.yml"
|
dest: "/var/run/ceph/{{ ceph_fsid }}/cluster.yml"
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
|
- name: Check Ceph Orchestrator state
|
||||||
|
command:
|
||||||
|
cmd: >
|
||||||
|
cephadm shell --
|
||||||
|
ceph orch status --detail
|
||||||
|
become: True
|
||||||
|
|
||||||
- name: Apply cluster spec
|
- name: Apply cluster spec
|
||||||
command:
|
command:
|
||||||
cmd: >
|
cmd: >
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
{% for host in groups['all'] %}
|
{% for host in groups['all'] %}
|
||||||
---
|
---
|
||||||
service_type: host
|
service_type: host
|
||||||
hostname: {{ host }}
|
hostname: {{ hostvars[host]['ansible_hostname'] }}
|
||||||
labels:
|
addr: {{ hostvars[host]['ansible_vxlan0']['ipv4']['address'] }}
|
||||||
|
labels:
|
||||||
|
- _admin
|
||||||
- mon
|
- mon
|
||||||
- mgr
|
- mgr
|
||||||
- osd
|
- osd
|
||||||
|
@ -88,6 +88,8 @@ copy_logs() {
|
|||||||
|
|
||||||
# cephadm related logs
|
# cephadm related logs
|
||||||
mkdir -p ${LOG_DIR}/ceph
|
mkdir -p ${LOG_DIR}/ceph
|
||||||
|
sudo cp /etc/ceph/ceph.conf ${LOG_DIR}/ceph
|
||||||
|
sudo cp -Rf /var/run/ceph/* ${LOG_DIR}/ceph
|
||||||
sudo cephadm shell -- ceph --connect-timeout 5 -s > ${LOG_DIR}/ceph/ceph_s.txt
|
sudo cephadm shell -- ceph --connect-timeout 5 -s > ${LOG_DIR}/ceph/ceph_s.txt
|
||||||
sudo cephadm shell -- ceph --connect-timeout 5 osd tree > ${LOG_DIR}/ceph/ceph_osd_tree.txt
|
sudo cephadm shell -- ceph --connect-timeout 5 osd tree > ${LOG_DIR}/ceph/ceph_osd_tree.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user