]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: remove all references to ceph_stable_release
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 29 Sep 2021 14:25:42 +0000 (16:25 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 30 Sep 2021 14:13:55 +0000 (16:13 +0200)
this is legacy and not needed anymore.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
docs/source/index.rst
docs/source/installation/containerized.rst
docs/source/installation/non-containerized.rst
docs/source/testing/tox.rst
tests/conftest.py
tox-filestore_to_bluestore.ini
tox-podman.ini
tox-shrink_osd.ini
tox-update.ini
tox.ini

index 9ea31ea2d3b2ae3e930ed0c130b494c5478be8af..9ba499020fcd8a2558f69cc7653dba18c1ad1ef5 100644 (file)
@@ -215,7 +215,6 @@ An example configuration that deploys the upstream ``octopus`` version of Ceph w
 
    ceph_origin: repository
    ceph_repository: community
-   ceph_stable_release: octopus
    public_network: "192.168.3.0/24"
    cluster_network: "192.168.4.0/24"
    monitor_interface: eth1
@@ -227,7 +226,6 @@ The following config options are required to be changed on all installations but
 selection or other aspects of your cluster.
 
 - ``ceph_origin``
-- ``ceph_stable_release``
 - ``public_network``
 - ``monitor_interface`` or ``monitor_address``
 
index 81f05b14e8d2812c4e4c9c08f30bf59756c45ef8..b1115357295fe032fb526b7f559d327a0611dcbe 100644 (file)
@@ -12,7 +12,7 @@ To deploy ceph in containers, you will need to set the ``containerized_deploymen
 
    containerized_deployment: true
 
-The ``ceph_origin``, ``ceph_repository`` and ``ceph_stable_release`` variables aren't needed anymore in containerized deployment and are ignored.
+The ``ceph_origin`` and ``ceph_repository`` variables aren't needed anymore in containerized deployment and are ignored.
 
 .. code-block:: console
 
index e7b4d5d7f3b4b4aaec4960d98f1af21533d85761..af93a4896f8bfcb8a52f785e1c86826f7d2788ee 100644 (file)
@@ -24,8 +24,6 @@ Community repository
 ~~~~~~~~~~~~~~~~~~~~
 
 If ``ceph_repository`` is set to ``community``, packages you will be by default installed from http://download.ceph.com, this can be changed by tweaking ``ceph_mirror``.
-Final step is to select which Ceph release you want to install, for this you have to set ``ceph_stable_release`` accordingly.
-For example, ``ceph_stable_release: luminous``.
 
 RHCS repository
 ~~~~~~~~~~~~~~~
index f58aa7cd9b1a8d5e2ee48e39195e87de9a7d2460..ae845d2bbd640f512cf21e12fbb4c63b5922be60 100644 (file)
@@ -21,12 +21,6 @@ runs of ``ceph-ansible``.
 
 The following environent variables are available for use:
 
-* ``CEPH_STABLE_RELEASE``: (default: ``jewel``) This would configure the ``ceph-ansible`` variable ``ceph_stable_relese``. This is set
-  automatically when using the ``jewel-*`` or ``kraken-*`` testing scenarios.
-
-* ``UPDATE_CEPH_STABLE_RELEASE``: (default: ``kraken``) This would configure the ``ceph-ansible`` variable ``ceph_stable_relese`` during an ``update``
-  scenario. This is set automatically when using the ``jewel-*`` or ``kraken-*`` testing scenarios.
-
 * ``CEPH_DOCKER_REGISTRY``: (default: ``quay.ceph.io``) This would configure the ``ceph-ansible`` variable ``ceph_docker_registry``.
 
 * ``CEPH_DOCKER_IMAGE``: (default: ``ceph-ci/daemon``) This would configure the ``ceph-ansible`` variable ``ceph_docker_image``.
index 68f63e9f7c2a1aaa42f46ea814d485d0e8f2d5b1..415f1031dfb0743283588d2cc2c7a68bb6932c2b 100644 (file)
@@ -98,7 +98,7 @@ def node(host, request):
     # tox will pass in this environment variable. we need to do it this way
     # because testinfra does not collect and provide ansible config passed in
     # from using --extra-vars
-    ceph_stable_release = os.environ.get("CEPH_STABLE_RELEASE", "luminous")
+    ceph_stable_release = os.environ.get("CEPH_STABLE_RELEASE", "quincy")
     rolling_update = os.environ.get("ROLLING_UPDATE", "False")
     group_names = ansible_vars["group_names"]
     docker = ansible_vars.get("docker")
index 2489f766d2fe49427430f0bd5df8e21ce83b914e..695eff2c193bd6588dbeec8f2a2640877a6bb293 100644 (file)
@@ -31,7 +31,6 @@ setenv=
   non_container: DEV_SETUP = True
 
   CEPH_DOCKER_IMAGE_TAG = latest-master
-  CEPH_STABLE_RELEASE = octopus
 
 deps= -r{toxinidir}/tests/requirements.txt
 changedir={toxinidir}/tests/functional/filestore-to-bluestore{env:CONTAINER_DIR:}
@@ -49,7 +48,6 @@ commands=
   # deploy the cluster
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
       delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
-      ceph_stable_release={env:CEPH_STABLE_RELEASE:octopus} \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:master} \
       ceph_dev_sha1={env:CEPH_DEV_SHA1:latest} \
       ceph_docker_registry_auth=True \
@@ -58,11 +56,10 @@ commands=
   "
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/infrastructure-playbooks/filestore-to-bluestore.yml --limit osds --extra-vars "\
       delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
-      ceph_stable_release={env:CEPH_STABLE_RELEASE:octopus} \
       ceph_dev_branch={env:CEPH_DEV_BRANCH:master} \
       ceph_dev_sha1={env:CEPH_DEV_SHA1:latest} \
   "
 
-  bash -c "CEPH_STABLE_RELEASE={env:UPDATE_CEPH_STABLE_RELEASE:octopus} 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=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"
 
   vagrant destroy --force
index 9e0787c1c33c21ba278d7cca8c14206bcbad52d8..3f9644aea63607fae6c531657211e40235d1159f 100644 (file)
@@ -26,7 +26,6 @@ setenv=
   # Set the ansible inventory host file to be used according to which distrib we are running on
   INVENTORY = {env:_INVENTORY:hosts}
   PLAYBOOK = site-container.yml.sample
-  CEPH_STABLE_RELEASE = nautilus
 
 deps= -r{toxinidir}/tests/requirements.txt
 changedir= {toxinidir}/tests/functional/podman
index e7961d126b0e86e2fc6ca4128393bbf66084b931..b8a7c719eac863c6217ad26ab6750fff1abaf5ca 100644 (file)
@@ -72,7 +72,6 @@ setenv=
   CEPH_DOCKER_IMAGE_TAG = latest-master
   CEPH_DOCKER_IMAGE_TAG_BIS = latest-bis-master
   UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-master
-  CEPH_STABLE_RELEASE = pacific
 
 deps= -r{toxinidir}/tests/requirements.txt
 changedir=
index ce89f9b7a29fed79e3b4cc2fd3c8b57cb9a4414a..a1e25d1e1b23db2c3391e0b53bde8874c863e6f5 100644 (file)
@@ -62,6 +62,6 @@ commands=
       ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
   "
 
-  bash -c "CEPH_STABLE_RELEASE={env:UPDATE_CEPH_STABLE_RELEASE:octopus} 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=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"
 
   vagrant destroy --force
diff --git a/tox.ini b/tox.ini
index 0cb8c64156c5cb75bf7ff8e7c039d9fcb1ecf964..a0f34ca9254248f6f21102fc6a1f4be7ec70a6d9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -318,7 +318,6 @@ setenv=
   CEPH_DOCKER_IMAGE_TAG = latest-master
   CEPH_DOCKER_IMAGE_TAG_BIS = latest-bis-master
   UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-master
-  CEPH_STABLE_RELEASE = pacific
 
   switch_to_containers: CEPH_DOCKER_IMAGE_TAG = latest-master-devel