From: Guillaume Abrioux Date: Tue, 11 Apr 2023 11:29:15 +0000 (+0200) Subject: ceph-volume/tests: fix an issue with rpm X-Git-Tag: v16.2.12~2^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2829b0c1c044543031ff334c0162f9cf56696967;p=ceph.git ceph-volume/tests: fix an issue with rpm Typical error seen in the CI: ``` error: /var/cache/dnf/baseos-00fe51d07def85f0/packages/kernel-core-4.18.0-483.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(459772) out of range ``` Upgrading `rpm` fixes this issue. Signed-off-by: Guillaume Abrioux (cherry picked from commit 05aa334b96ed8a8c8497047bc26da64ee3a3d1fa) --- diff --git a/src/ceph-volume/ceph_volume/tests/functional/playbooks/deploy.yml b/src/ceph-volume/ceph_volume/tests/functional/playbooks/deploy.yml index e45a41d22eeee..0ac200c6bc0d5 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/playbooks/deploy.yml +++ b/src/ceph-volume/ceph_volume/tests/functional/playbooks/deploy.yml @@ -87,6 +87,12 @@ set_fact: is_atomic: '{{ stat_ostree.stat.exists }}' + - name: force rpm pkg upgrade + package: + name: rpm + state: latest + when: not is_atomic | bool + - name: update the system command: dnf update -y changed_when: false