Skip Ceph packages when running tripleo-packages

Do not upgrade the Ceph packages when tripleo-packages runs. This
avoids that packages on baremetal are upgraded to the Luminous
level while the cluster is still running at the Jewel level during
FFU process.

Partial-Bug: #1785279
Change-Id: Ie17daa98109b0d51e2258bd6d360d6b2f0e1b0ae
This commit is contained in:
Giulio Fidente 2018-08-03 18:13:49 +02:00
parent dfb946ff19
commit 6a4dcca632
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ outputs:
- os_net_config_has_config.rc == 0
- name: Update all packages
when: step|int == 3
package: name=* state=latest
yum: name=* state=latest exclude=ceph*,librados*,librbd*,libcephfs*,librgw*,python-rados*,python-rbd*,python-cephfs*,python-rgw*,rbd-mirror
update_tasks:
- name: Check for existing yum.pid
stat: path=/var/run/yum.pid
@ -104,7 +104,7 @@ outputs:
fail: msg="ERROR existing yum.pid detected - can't continue! Please ensure there is no other package update process for the duration of the minor update worfklow. Exiting."
when: (step|int == 0 or step|int == 3) and yum_pid_file.stat.exists
- name: Update all packages
package: name=* state=latest update_cache=yes # cache for tripleo/+bug/1703830
yum: name=* state=latest update_cache=yes exclude=ceph*,librados*,librbd*,libcephfs*,librgw*,python-rados*,python-rbd*,python-cephfs*,python-rgw*,rbd-mirror # cache for tripleo/+bug/1703830
when: step == "3"
fast_forward_upgrade_tasks:
- name: Register repo type and args