[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.
|
description: Role data for the Ceph base service.
|
||||||
value:
|
value:
|
||||||
service_name: ceph_base
|
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:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
|
@ -61,7 +61,7 @@ outputs:
|
||||||
description: Role data for the Ceph Metadata service.
|
description: Role data for the Ceph Metadata service.
|
||||||
value:
|
value:
|
||||||
service_name: ceph_mds
|
service_name: ceph_mds
|
||||||
upgrade_tasks: []
|
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
|
@ -69,7 +69,7 @@ outputs:
|
||||||
description: Role data for the Ceph Monitor service.
|
description: Role data for the Ceph Monitor service.
|
||||||
value:
|
value:
|
||||||
service_name: ceph_mon
|
service_name: ceph_mon
|
||||||
upgrade_tasks: []
|
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
|
@ -70,10 +70,12 @@ outputs:
|
||||||
value:
|
value:
|
||||||
service_name: ceph_osd
|
service_name: ceph_osd
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
- name: Check legacy Ceph hieradata
|
list_concat:
|
||||||
tags: validation
|
- {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||||
when: step|int == 0
|
- - name: Check legacy Ceph hieradata
|
||||||
shell: test "nil" == "$(hiera -c /etc/puppet/hiera.yaml ceph::profile::params::osds)"
|
tags: validation
|
||||||
|
when: step|int == 0
|
||||||
|
shell: test "nil" == "$(hiera -c /etc/puppet/hiera.yaml ceph::profile::params::osds)"
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
|
@ -120,7 +120,7 @@ outputs:
|
||||||
- member
|
- member
|
||||||
- ResellerAdmin
|
- ResellerAdmin
|
||||||
- swiftoperator
|
- swiftoperator
|
||||||
upgrade_tasks: []
|
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
|
@ -267,6 +267,9 @@ outputs:
|
||||||
- ''
|
- ''
|
||||||
- - "#!/bin/bash\n\n"
|
- - "#!/bin/bash\n\n"
|
||||||
- {get_param: UpgradeInitCommonCommand}
|
- {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
|
- name: Ensure TripleO prerequisite packages are installed
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
|
Loading…
Reference in New Issue