Bug 2137842 - Update from 16.2.3 to 16.2.4 fails due to MysqlMariabackupPassword not set
Summary: Update from 16.2.3 to 16.2.4 fails due to MysqlMariabackupPassword not set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: osp-director-operator-container
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 16.2 (Train on RHEL 8.4)
Assignee: Martin Schuppert
QA Contact: pkomarov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-26 11:37 UTC by Martin Schuppert
Modified: 2022-12-13 11:11 UTC (History)
2 users (show)

Fixed In Version: osp-director-operator-container-1.3.0-3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 11:11:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openstack-k8s-operators osp-director-operator pull 667 0 None Merged [v1.3.x] Allow updating password secret with new/missing passwords 2022-10-26 11:37:17 UTC
Red Hat Issue Tracker OSP-19552 0 None None None 2022-10-26 11:37:17 UTC
Red Hat Issue Tracker OSP-19720 0 None None None 2022-10-26 12:09:46 UTC
Red Hat Product Errata RHBA-2022:8952 0 None None None 2022-12-13 11:11:56 UTC

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


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