Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2137842

Summary: Update from 16.2.3 to 16.2.4 fails due to MysqlMariabackupPassword not set
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: osp-director-operator-containerAssignee: Martin Schuppert <mschuppe>
Status: CLOSED ERRATA QA Contact: pkomarov
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: jschluet, pkomarov
Target Milestone: z4Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: osp-director-operator-container-1.3.0-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-13 11:11:47 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 Martin Schuppert 2022-10-26 11:37:17 UTC
Description of problem:

Right now OSPdO does not update the password secret after initial created . In 16.2.4 tht requires a MysqlMariabackupPassword to exist, otherwise the deployment fails. While OSPdO creates the MysqlMariabackupPassword on a fresh deployment it does not add new passwords on existing envs.

rendering playbooks fails with:

 

2022-10-18 10:31:09Z [overcloud.CtlNovaStdaloneServiceChain]: CREATE_FAILED  resources.ServiceChain: resources.CtlNovaStdaloneServiceChain.Property error: resources[82].properties: Property MysqlMariabackupPassword not assigned
2022-10-18 10:31:09Z [overcloud.ControllerServiceChain]: CREATE_FAILED  resources.ServiceChain: resources.ControllerServiceChain.Property error: resources[96].properties: Property MysqlMariabackupPassword not assigned
2022-10-18 10:31:09Z [overcloud]: CREATE_FAILED  Resource CREATE failed: resources.ServiceChain: resources.ControllerServiceChain.Property error: resources[96].properties: Property MysqlMariabackupPassword not assigned
2022-10-18 10:31:10Z [overcloud]: CREATE_FAILED  Resource CREATE failed: resources.ServiceChain: resources.CtlNovaStdaloneServiceChain.Property error: resources[82].properties: Property MysqlMariabackupPassword not assigned
 
MysqlMariabackupPassword entry is missing in tripleo-passwords secret

 

# oc get secret tripleo-passwords -o json | jq -r '.data."tripleo-overcloud-passwords.yaml"' | base64 -d  | grep Mysql
  MysqlClustercheckPassword: 7k5zkdbm9hns4tx4c6nb88qdx
  MysqlRootPassword: rd9wb5s8v2

Comment 7 pkomarov 2022-12-11 07:10:11 UTC
Verification looks good :  https://bugzilla.redhat.com/show_bug.cgi?id=2137842#c5
Setting to verifid

Comment 11 errata-xmlrpc 2022-12-13 11:11:47 UTC
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 containers for Red Hat OpenStack Platform 16.2.4 director operator), 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-2022:8952