]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume/tests: workaround rpm issue
authorYuri Weinstein <yweinste@redhat.com>
Wed, 31 May 2023 21:08:46 +0000 (21:08 +0000)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 31 May 2023 21:08:46 +0000 (21:08 +0000)
needs to be updated prior to running setup.yml

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit dbe372a00ed636d6437d953d745bd97751840f3c)

src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini
src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini

index 873c96a0d1857cb9e8b6f2d1809fbb854fa1e64c..0c30fa7f5e6cb9b84a7240276db1ae89239a1a97 100644 (file)
@@ -42,6 +42,8 @@ commands=
 
   cp {toxinidir}/../playbooks/deploy.yml {envdir}/tmp/ceph-ansible
 
+  ansible -vv -i {changedir}/hosts all -b -m package -a 'name=rpm state=latest'
+
   # individual scenario setup
   ansible-playbook -vv -i {changedir}/hosts {changedir}/setup.yml
 
index ec2982a3a000096e44fd3d221ca774875c02bd8c..d06d4bcf311814ab9ae51f28052bd68c8c058017 100644 (file)
@@ -40,6 +40,8 @@ commands=
   # create logical volumes to test with on the vms
   ansible-playbook -vv -i {changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/lvm_setup.yml
 
+  ansible -vv -i {changedir}/hosts all -b -m package -a 'name=rpm state=latest'
+
   # ad-hoc/local test setup for lvm
   ansible-playbook -vv -i {changedir}/hosts {changedir}/setup.yml