[TRAIN ONLY] post Leapp package fixups
During the UpgradeInit command we set repos and we might be enabling modules. To ensure proper state we run dnf distro-sync after. This way we prevent bugs where container-selinux is updated after installing openstack-selinux package. We remove ceph-common we should also reinstall it after leep and after we have repos set up. Change-Id: Ib33504757a3d4b695f9bac23c9b6fc5e62d17ebf
This commit is contained in:
parent
abf6c28cfa
commit
0395513af0
|
@ -575,7 +575,15 @@ outputs:
|
|||
description: Role data for the Ceph base service.
|
||||
value:
|
||||
service_name: ceph_base
|
||||
upgrade_tasks: []
|
||||
upgrade_tasks:
|
||||
- name: Reinstall ceph-common package which was removed in tripleo-packages-baremetal-puppet.yaml workaround
|
||||
package:
|
||||
name:
|
||||
- ceph-common
|
||||
state: present
|
||||
when:
|
||||
- step|int == 1
|
||||
- ansible_distribution_major_version == '8'
|
||||
puppet_config:
|
||||
config_image: ''
|
||||
config_volume: ''
|
||||
|
|
|
@ -61,7 +61,7 @@ outputs:
|
|||
description: Role data for the Ceph Metadata service.
|
||||
value:
|
||||
service_name: ceph_mds
|
||||
upgrade_tasks: []
|
||||
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||
puppet_config:
|
||||
config_image: ''
|
||||
config_volume: ''
|
||||
|
|
|
@ -69,7 +69,7 @@ outputs:
|
|||
description: Role data for the Ceph Monitor service.
|
||||
value:
|
||||
service_name: ceph_mon
|
||||
upgrade_tasks: []
|
||||
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||
puppet_config:
|
||||
config_image: ''
|
||||
config_volume: ''
|
||||
|
|
|
@ -70,10 +70,12 @@ outputs:
|
|||
value:
|
||||
service_name: ceph_osd
|
||||
upgrade_tasks:
|
||||
- name: Check legacy Ceph hieradata
|
||||
tags: validation
|
||||
when: step|int == 0
|
||||
shell: test "nil" == "$(hiera -c /etc/puppet/hiera.yaml ceph::profile::params::osds)"
|
||||
list_concat:
|
||||
- {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||
- - name: Check legacy Ceph hieradata
|
||||
tags: validation
|
||||
when: step|int == 0
|
||||
shell: test "nil" == "$(hiera -c /etc/puppet/hiera.yaml ceph::profile::params::osds)"
|
||||
puppet_config:
|
||||
config_image: ''
|
||||
config_volume: ''
|
||||
|
|
|
@ -120,7 +120,7 @@ outputs:
|
|||
- member
|
||||
- ResellerAdmin
|
||||
- swiftoperator
|
||||
upgrade_tasks: []
|
||||
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||
puppet_config:
|
||||
config_image: ''
|
||||
config_volume: ''
|
||||
|
|
|
@ -267,6 +267,9 @@ outputs:
|
|||
- ''
|
||||
- - "#!/bin/bash\n\n"
|
||||
- {get_param: UpgradeInitCommonCommand}
|
||||
- name: Ensure EL modules are in proper state
|
||||
shell: dnf -y distro-sync
|
||||
when: ansible_distribution_major_version == '8'
|
||||
- name: Ensure TripleO prerequisite packages are installed
|
||||
package:
|
||||
name:
|
||||
|
|
Loading…
Reference in New Issue