]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
add better clarification on ceph-ansible current status
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Jun 2022 07:16:26 +0000 (09:16 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Jun 2022 11:02:15 +0000 (13:02 +0200)
Given that the project is still maintained for the time being, let's add a better
comment about that.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
README.rst
site-container.yml.sample
site.yml.sample
tox-external_clients.ini
tox-subset_update.ini
tox-update.ini
tox.ini

index 87c5bab8a1223c2e36ec893c63d3734e1a95792f..9a1428ae2fcb41b8e79a1dfb6e9c2bc662093acc 100644 (file)
@@ -1,8 +1,10 @@
-ceph-ansible -- DEPRECATED --
+ceph-ansible
 ============
 
 **NOTE: cephadm is the new official installer, you should consider migrating to cephadm.**
 
+The project is still maintained for the time being but it is encouraged to migrate to ``cephadm``.
+
 Ansible playbooks for Ceph, the distributed filesystem.
 
 Please refer to our hosted documentation here: https://docs.ceph.com/projects/ceph-ansible/en/latest/
index a75235647cb98490b145805480a429ff09e907c3..d552084ce86cf28761503a464c9adc9ec28a9456 100644 (file)
@@ -3,16 +3,12 @@
 - hosts: localhost
   connection: local
   tasks:
-    - name: Warn about ceph-ansible deprecation
-      debug:
+    - name: Warn about ceph-ansible current status
+      fail:
         msg: "cephadm is the new official installer. Please, consider migrating.
               See https://docs.ceph.com/en/latest/cephadm/install for new deployments
               or https://docs.ceph.com/en/latest/cephadm/adoption for migrating existing deployments."
-      retries: 9
-      delay: 2
-      until: false
-      ignore_errors: true
-      when: not skip_deprecation_warn | default(false) | bool
+      when: not yes_i_know | default(false) | bool
 
 - hosts:
   - mons
index 942f9ee7e7c21bbbba324756989882682078d8bb..3b66683e5ce9899c7849d8b7013d80c4a7ab6d9d 100644 (file)
@@ -4,16 +4,12 @@
 - hosts: localhost
   connection: local
   tasks:
-    - name: Warn about ceph-ansible deprecation
-      debug:
+    - name: Warn about ceph-ansible current status
+      fail:
         msg: "cephadm is the new official installer. Please, consider migrating.
               See https://docs.ceph.com/en/latest/cephadm/install for new deployments
               or https://docs.ceph.com/en/latest/cephadm/adoption for migrating existing deployments."
-      retries: 9
-      delay: 2
-      until: false
-      ignore_errors: true
-      when: not skip_deprecation_warn | default(false) | bool
+      when: not yes_i_know | default(false) | bool
 
 - hosts:
   - mons
index d7dbf9c1aa8f29d843c6be832a47cbe4ee00d674..ba1118be9d8700411aa385902ba25d99f995b9f6 100644 (file)
@@ -41,6 +41,7 @@ commands=
 
   non_container: ansible-playbook -vv -i "localhost," -c local {toxinidir}/tests/functional/dev_setup.yml --extra-vars "dev_setup=True change_dir={changedir} ceph_dev_branch=main ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb" --tags "vagrant_setup"
   ansible-playbook -vv -i {changedir}/inventory/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --limit 'all:!clients' --extra-vars "\
+      yes_i_know=true \
       delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
       ceph_dev_branch=main \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -52,6 +53,7 @@ commands=
   ansible-playbook -vv -i {changedir}/inventory {toxinidir}/tests/functional/external_clients_admin_key.yml
 
   ansible-playbook -vv -i {changedir}/inventory/external_clients-hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ireallymeanit=yes \
       fsid=40358a87-ab6e-4bdc-83db-1d909147861c \
       external_cluster_mon_ips=192.168.31.10,192.168.31.11,192.168.31.12 \
index f33b140de6dbf64e59070c78c2ae8c34a1b7d68f..8e7e72c4d3d16579d426733bc97d3057b44cc4c4 100644 (file)
@@ -43,6 +43,7 @@ commands=
 
   non_container: ansible-playbook -vv -i "localhost," -c local {toxinidir}/tests/functional/dev_setup.yml --extra-vars "dev_setup=True change_dir={changedir} ceph_dev_branch={env:UPDATE_CEPH_DEV_BRANCH:main} ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb" --tags "vagrant_setup"
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
       ceph_dev_branch={env:UPDATE_CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
index aeb1d39af763a5787479052d0779ee803beb52d8..66275e36cbdc1eccc21692798394de57402e4f59 100644 (file)
@@ -52,6 +52,7 @@ commands=
 
   non_container: ansible-playbook -vv -i "localhost," -c local {toxinidir}/tests/functional/dev_setup.yml --extra-vars "dev_setup=True change_dir={changedir} ceph_dev_branch={env:UPDATE_CEPH_DEV_BRANCH:main} ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb" --tags "vagrant_setup"
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
       ceph_dev_branch={env:UPDATE_CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
diff --git a/tox.ini b/tox.ini
index db4b146870fafd553a85896cf8350efea8f3cbf5..520c94d220c2f84c8fd44cc3500eecc07ebb1a61 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -61,6 +61,7 @@ commands=
 
   # set up the cluster again
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars @ceph-override.json --extra-vars "\
+      yes_i_know=true \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
       ceph_docker_registry_auth=True \
@@ -81,6 +82,7 @@ commands=
 
   # set up the cluster again
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars @ceph-override.json --extra-vars "\
+      yes_i_know=true \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
       ceph_docker_registry_auth=True \
@@ -104,6 +106,7 @@ commands=
 
   # set up the cluster again
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
   "
@@ -183,6 +186,7 @@ commands=
 commands=
   ansible-playbook -vv -i {changedir}/hosts-2 --limit mgrs {toxinidir}/tests/functional/setup.yml
   ansible-playbook -vv -i {changedir}/hosts-2 --limit mgrs {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ireallymeanit=yes \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -196,6 +200,7 @@ commands=
 commands=
   ansible-playbook -vv -i {changedir}/hosts-2 --limit mdss {toxinidir}/tests/functional/setup.yml
   ansible-playbook -vv -i {changedir}/hosts-2 --limit mdss {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ireallymeanit=yes \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -209,6 +214,7 @@ commands=
 commands=
   ansible-playbook -vv -i {changedir}/hosts-2 --limit rbdmirrors {toxinidir}/tests/functional/setup.yml
   ansible-playbook -vv -i {changedir}/hosts-2 --limit rbdmirrors {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ireallymeanit=yes \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -222,6 +228,7 @@ commands=
 commands=
   ansible-playbook -vv -i {changedir}/hosts-2 --limit rgws {toxinidir}/tests/functional/setup.yml
   ansible-playbook -vv -i {changedir}/hosts-2 --limit rgws {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ireallymeanit=yes \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -242,6 +249,7 @@ commands=
   ansible -i localhost, all -c local -b -m iptables -a 'chain=FORWARD protocol=tcp source=192.168.0.0/16 destination=192.168.0.0/16 jump=ACCEPT action=insert rule_num=1 state=absent'
   ansible -i localhost, all -c local -b -m iptables -a 'chain=FORWARD protocol=tcp source=192.168.0.0/16 destination=192.168.0.0/16 jump=ACCEPT action=insert rule_num=1 state=present'
   ansible-playbook --ssh-common-args='-F {changedir}/secondary/vagrant_ssh_config -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey' -vv -i {changedir}/secondary/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       ireallymeanit=yes \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -250,6 +258,7 @@ commands=
       ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
       "
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --limit rgws --extra-vars "\
+      yes_i_know=true \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
       ceph_docker_registry_auth=True \
@@ -369,6 +378,7 @@ commands=
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/setup.yml
 
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
+      yes_i_know=true \
       deploy_secondary_zones=False \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:main} \
       ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb \
@@ -387,7 +397,7 @@ commands=
   all_daemons,collocation: py.test --reruns 20 --reruns-delay 3 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests
 
   # handlers/idempotency test
-  all_daemons,all_in_one,collocation: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "delegate_facts_host={env:DELEGATE_FACTS_HOST:True} ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG_BIS:latest-bis-main} ceph_dev_branch={env:CEPH_DEV_BRANCH:main} ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb" --extra-vars @ceph-override.json
+  all_daemons,all_in_one,collocation: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "delegate_facts_host={env:DELEGATE_FACTS_HOST:True} ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG_BIS:latest-bis-main} ceph_dev_branch={env:CEPH_DEV_BRANCH:main} ceph_dev_sha1=6f765e25ab7b138b5c901363389df705244e91bb yes_i_know=true" --extra-vars @ceph-override.json
 
   purge: {[purge]commands}
   purge_dashboard: {[purge-dashboard]commands}