align with ceph/ceph/pull/47458 since it has been merged.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
# octopus: 15
# pacific: 16
# quincy: 17
+# reef: 18
# dev: 99
#
#ceph_mirror: https://download.ceph.com
#ceph_stable_key: https://download.ceph.com/keys/release.asc
-#ceph_stable_release: quincy
+#ceph_stable_release: reef
#ceph_stable_repo: "{{ ceph_mirror }}/debian-{{ ceph_stable_release }}"
#nfs_ganesha_stable: true # use stable repos for nfs-ganesha
# octopus: 15
# pacific: 16
# quincy: 17
+# reef: 18
# dev: 99
#
#ceph_mirror: https://download.ceph.com
#ceph_stable_key: https://download.ceph.com/keys/release.asc
-#ceph_stable_release: quincy
+#ceph_stable_release: reef
#ceph_stable_repo: "{{ ceph_mirror }}/debian-{{ ceph_stable_release }}"
#nfs_ganesha_stable: true # use stable repos for nfs-ganesha
- name: check ceph release being deployed
fail:
- msg: "This version of ceph-ansible is intended for upgrading to Ceph Quincy only."
- when: "'quincy' not in ceph_version.stdout.split()"
+ msg: "This version of ceph-ansible is intended for upgrading to Ceph Reef only."
+ when: "'reef' not in ceph_version.stdout.split()"
- name: upgrade ceph mon cluster
name: ceph-facts
tasks_from: container_binary.yml
- - name: container | disallow pre-quincy OSDs and enable all new quincy-only functionality
- command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_facts']['hostname'] }} ceph --cluster {{ cluster }} osd require-osd-release quincy"
+ - name: container | disallow pre-reef OSDs and enable all new reef-only functionality
+ command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_facts']['hostname'] }} ceph --cluster {{ cluster }} osd require-osd-release reef"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when:
- containerized_deployment | bool
- groups.get(mon_group_name, []) | length > 0
- - name: non container | disallow pre-quincy OSDs and enable all new quincy-only functionality
- command: "ceph --cluster {{ cluster }} osd require-osd-release quincy"
+ - name: non container | disallow pre-reef OSDs and enable all new reef-only functionality
+ command: "ceph --cluster {{ cluster }} osd require-osd-release reef"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when:
set_fact:
ceph_release: quincy
when: ceph_version.split('.')[0] is version('17', '==')
+
+- name: set_fact ceph_release reef
+ set_fact:
+ ceph_release: reef
+ when: ceph_version.split('.')[0] is version('18', '==')
set_fact:
ceph_release: quincy
when: ceph_version.split('.')[0] is version('17', '==')
+
+- name: set_fact ceph_release reef
+ set_fact:
+ ceph_release: reef
+ when: ceph_version.split('.')[0] is version('18', '==')
octopus: 15
pacific: 16
quincy: 17
+ reef: 18
dev: 99
#
ceph_mirror: https://download.ceph.com
ceph_stable_key: https://download.ceph.com/keys/release.asc
-ceph_stable_release: quincy
+ceph_stable_release: reef
ceph_stable_repo: "{{ ceph_mirror }}/debian-{{ ceph_stable_release }}"
nfs_ganesha_stable: true # use stable repos for nfs-ganesha
- name: validate ceph_repository_community
fail:
- msg: "ceph_stable_release must be 'quincy'"
+ msg: "ceph_stable_release must be 'reef'"
when:
- ceph_origin == 'repository'
- ceph_repository == 'community'
- - ceph_stable_release not in ['quincy']
+ - ceph_stable_release not in ['reef']
'octopus': 15,
'pacific': 16,
'quincy': 17,
+ 'reef': 18,
'dev': 99
}
ceph_dev_sha1={env:CEPH_DEV_SHA1:latest} \
"
- bash -c "CEPH_STABLE_RELEASE=quincy py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests"
+ bash -c "CEPH_STABLE_RELEASE=reef py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests"
vagrant destroy --force
"
- bash -c "CEPH_STABLE_RELEASE=quincy py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests"
+ bash -c "CEPH_STABLE_RELEASE=reef py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests"
vagrant destroy --force
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
"
- bash -c "CEPH_STABLE_RELEASE=quincy py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests"
+ bash -c "CEPH_STABLE_RELEASE=reef py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests"
vagrant destroy --force