Bug 2019178
Summary: | FFU: upgrade failed during "Upgrade Mysql database from a temporary container" step | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jesse Pretorius <jpretori> |
Component: | openstack-tripleo-heat-templates | Assignee: | Damien Ciabrini <dciabrin> |
Status: | CLOSED ERRATA | QA Contact: | Jason Grosso <jgrosso> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 16.2 (Train) | CC: | amcleod, dabarzil, gregraka, mburns, spower, tvignaud |
Target Milestone: | z1 | Keywords: | Triaged |
Target Release: | 16.2 (Train on RHEL 8.4) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-11.5.1-2.20210603174829.el8ost.10 | Doc Type: | Bug Fix |
Doc Text: |
Before this update, an upgradable `mariadb-server` package in the RHEL repository caused the package manager to upgrade the `mariadb-server` package on the host, interfering with the containerized `mariadb-server` that pre-exists on the same host. With this update, the Red Hat OpenStack Platform (RHOSP) director removes the `mariadb-server` package from any hosts which also have the containerized MariaDB, and the RHOSP FFU process continues.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-12-09 20:41:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2015325 |
Description
Jesse Pretorius
2021-11-01 18:58:32 UTC
FFU succuded on: https://rhos-ci-staging-jenkins.lab.eng.tlv2.redhat.com/job/DFG-upgrades-ffu-16.2-from-13-latest_cdn-3cont_2comp_2net-ipv4-ovs_vlan-provider-network/ [stack@undercloud-0 ~]$ rpm -qa| grep openstack-tripleo-heat-template openstack-tripleo-heat-templates-11.5.1-2.20210603174829.el8ost.10.noarch [stack@undercloud-0 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux release 8.4 (Ootpa) For OSP version 16.2.0, the following workaround may be used: # remove the mariadb-server package from the controllers $ ansible -i ~/inventory.yaml Controller -b -m yum -a "name=mariadb-server state=absent" This can happen during the steps performed in Chapter 8: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/framework_for_upgrades_13_to_16.2/configuring-the-overcloud-for-a-leapp-upgrade_preparing-overcloud A better workaround is to include 'sudo yum -y remove mariadb-server*’ in LeappInitCommand in 8.1: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/framework_for_upgrades_13_to_16.1/configuring-the-overcloud-for-a-leapp-upgrade_preparing-overcloud That would ensure that it doesn't add more steps - it just includes more configuration. (In reply to Jesse Pretorius from comment #13) > A better workaround is to include 'sudo yum -y remove mariadb-server*’ in > LeappInitCommand in 8.1: > https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16. > 1/html/framework_for_upgrades_13_to_16.1/configuring-the-overcloud-for-a- > leapp-upgrade_preparing-overcloud > > That would ensure that it doesn't add more steps - it just includes more > configuration. Revised version, which is necessary in the case where there may be a failure that requires the re-run of the LeappInitCommand. This ensures that if the mariadb-server* packages are not present, the yum command doesn't fail and cause the whole script to fail. parameter_defaults: LeappInitCommand: | sudo yum -y remove mariadb-server* || true 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 (Release of components for Red Hat OpenStack Platform 16.2.1 (Train)), 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:5067 |