Bug 1923887
| Summary: | virt:8.2 module not available in ceph subscription makes fail the upgrade/update | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jose Luis Franco <jfrancoa> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Giulio Fidente <gfidente> |
| Status: | CLOSED ERRATA | QA Contact: | Sergii Golovatiuk <sgolovat> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.1 (Train) | CC: | fpantano, gfidente, jelle.hoylaerts.ext, jpretori, mburns, sgolovat, vgrosu |
| Target Milestone: | z6 | Keywords: | Triaged |
| Target Release: | 16.1 (Train on RHEL 8.2) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-11.3.2-1.20210324233518.29a02c1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-26 13:50:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jose Luis Franco
2021-02-02 07:11:26 UTC
To ensure that the override is only applied to the specific roles where this is required, the parameters should rather be something like:
parameter_defaults:
CephStorageParameters:
DnfStreams: [{'module':'container-tools', 'stream':'2.0'}]
The following content in /home/stack/templates/upgrades-environment.yaml can be used as a workaround.
parameter_defaults:
DnfStreams: [{'module':'container-tools', 'stream':'2.0'}]
UpgradeInitCommand: |
sudo dnf module disable -y container-tools:rhel8
sudo dnf module enable -y container-tools:2.0
{% if 'Compute' in group_names or 'Controller' in group_names %}
sudo dnf module disable -y virt:rhel
sudo dnf module enable -y virt:8.2
{% endif %}
UpgradeLeappCommandOptions: >-
{%- if 'Compute' in group_names or 'Controller' in group_names %}
--enablerepo rhel-8-for-x86_64-baseos-eus-rpms
--enablerepo rhel-8-for-x86_64-appstream-eus-rpms
--enablerepo fast-datapath-for-rhel-8-x86_64-rpms
{%- else %}
--enablerepo rhel-8-for-x86_64-baseos-rpms
--enablerepo rhel-8-for-x86_64-appstream-rpms
{%- endif %}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:2097 |