]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: update the OS before deploying Ceph
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 10 Mar 2023 15:01:19 +0000 (16:01 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 10 Mar 2023 15:01:19 +0000 (16:01 +0100)
ceph-volume tests are failing, OSDs never get up and running.
For some reason, updating the OS early in the testing workflow
addresses that issue in the CI.

-- to be continued ... --

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/tests/functional/playbooks/deploy.yml

index e5185e3fcdfc7d85ce4abfe0b0fe2da323a0494f..e45a41d22eeee31454bb6dfdf136b4c3a050e13e 100644 (file)
       set_fact:
         is_atomic: '{{ stat_ostree.stat.exists }}'
 
+    - name: update the system
+      command: dnf update -y
+      changed_when: false
+      when: not is_atomic | bool
+
   tasks:
     - import_role:
         name: ceph-defaults