Bug 2054128 - Updating controller node to RHOSP16.1.7 fails because galera resource fails to start
Summary: Updating controller node to RHOSP16.1.7 fails because galera resource fails t...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-14 09:06 UTC by Takashi Kajinami
Modified: 2023-11-16 08:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-16 08:40:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2015325 1 high CLOSED FFU: upgrade failed during "Upgrade Mysql database from a temporary container" step 2022-06-29 12:15:31 UTC
Red Hat Issue Tracker OSP-12645 0 None None None 2022-02-14 09:32:16 UTC

Description Takashi Kajinami 2022-02-14 09:06:22 UTC
Description of problem:

Updating controller node to RHOSP16.1.7 fails at "TASK [Wait for containers to start for step 2 using paunch]" .

Looking at logs, it turned out /var/log/mariadb is deleted while uninstalling mariadb package, which is the task introduced by [1], although galera-bundle-resource requires the directory.

[1] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/814786


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Update controller node from older RHOSP16.1 to RHOSP16.1.7

Actual results:
Update fails at "TASK [Wait for containers to start for step 2 using paunch]"

Expected results:
Update succeeds without any failures

Additional info:

Comment 3 Takashi Kajinami 2022-02-14 09:38:59 UTC
Hmmm.... it seems mariadb-server package is not installed in RHOSP16.1.6 freshly deployed.

~~~
$ rpm -qa | grep mariadb
mariadb-connector-c-3.1.11-2.el8_2.x86_64
mariadb-connector-c-config-3.1.11-2.el8_2.noarch
     
$ rpm -q --whatprovides /var/log/mariadb
file /var/log/mariadb is not owned by any package
     
$ cat /etc/rhosp-release
Red Hat OpenStack Platform release 16.1.6 GA (Train)
~~~

The package is installed in RHOSP13 deployment and I confirmed the directory
is owned by the mariadb-server.

~~~
[heat-admin@controller-0 ~]$ rpm -qa | grep mariadb
mariadb-server-galera-10.1.20-3.el7ost.x86_64
mariadb-config-10.1.20-3.el7ost.x86_64
mariadb-common-10.1.20-3.el7ost.x86_64
mariadb-libs-10.1.20-3.el7ost.x86_64
mariadb-errmsg-10.1.20-3.el7ost.x86_64
mariadb-10.1.20-3.el7ost.x86_64
mariadb-server-10.1.20-3.el7ost.x86_64
[heat-admin@controller-0 ~]$ rpm -q --whatprovides /var/log/mariadb
mariadb-server-10.1.20-3.el7ost.x86_64
[heat-admin@controller-0 ~]$ cat /etc/rhosp-release 
Red Hat OpenStack Platform release 13.0.16 (Queens)
~~~


Note You need to log in before you can comment on or make changes to this bug.