Skip to content

[scenarios] Pin DB root password for whitebox tempest compat - #4092

Closed
sbauza wants to merge 1 commit into
openstack-k8s-operators:mainfrom
sbauza:fix/whitebox-db-password-from-osp-secret
Closed

[scenarios] Pin DB root password for whitebox tempest compat#4092
sbauza wants to merge 1 commit into
openstack-k8s-operators:mainfrom
sbauza:fix/whitebox-db-password-from-osp-secret

Conversation

@sbauza

@sbauza sbauza commented Aug 5, 2026

Copy link
Copy Markdown

install_yamls PR openstack-k8s-operators/install_yamls#1158 replaced
hardcoded passwords with dynamically generated per-service secrets.
The whitebox_tempest_plugin tempestconf overrides still reference the
old hardcoded whitebox-database.password value (12345678), causing
Access Denied errors against Galera.

As a short-term fix, pin DB_ROOT_PASSWORD in the multinode-ci and
hci_ceph_backends scenarios so that the deployed Galera root password
matches what whitebox tempest expects. A proper long-term fix (reading
DbRootPassword from osp-secret at runtime) is tracked in #4090.

@sbauza
sbauza force-pushed the fix/whitebox-db-password-from-osp-secret branch from 8e486d7 to bd1763c Compare August 6, 2026 08:34
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign bshewale for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sbauza sbauza changed the title [test_operator] Read whitebox DB password from osp-secret [hci_ceph_backends] Pin DB root password for whitebox tempest compat Aug 6, 2026
gibizer
gibizer previously approved these changes Aug 6, 2026

@gibizer gibizer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds like a reasonable short term solution to unblock the work.

install_yamls PR openstack-k8s-operators/install_yamls#1158 replaced
hardcoded passwords with dynamically generated per-service secrets.
The whitebox_tempest_plugin tempestconf overrides still reference the
old hardcoded whitebox-database.password value ("12345678"), causing
Access Denied errors against Galera.

As a short-term fix, pin DB_ROOT_PASSWORD in the HCI ceph scenario
so that the deployed Galera root password matches what whitebox
tempest expects. A proper long-term fix (reading DbRootPassword from
osp-secret at runtime) is tracked in openstack-k8s-operators#4090.

Signed-off-by: Sylvain Bauza <sbauza@redhat.com>
Assisted-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@sbauza
sbauza force-pushed the fix/whitebox-db-password-from-osp-secret branch from bd1763c to a32e1ac Compare August 6, 2026 08:41
@sbauza sbauza changed the title [hci_ceph_backends] Pin DB root password for whitebox tempest compat [scenarios] Pin DB root password for whitebox tempest compat Aug 6, 2026
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9d5054ef34404c98b7af5bbae0212c38

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 59m 13s
podified-multinode-edpm-deployment-crc POST_FAILURE in 24m 39s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 43m 55s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 25m 10s
podified-multinode-hci-deployment-crc POST_FAILURE in 25m 13s
✔️ cifmw-multinode-tempest SUCCESS in 1h 52m 54s
✔️ openstack-k8s-operators-content-provider-bootc SUCCESS in 2h 31m 05s
✔️ cifmw-crc-podified-edpm-baremetal-bootc SUCCESS in 1h 41m 35s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 14s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 03s

@sbauza

sbauza commented Aug 7, 2026

Copy link
Copy Markdown
Author

Closing in favor of the downstream ci-framework-jobs fix: https://gitlab.cee.redhat.com/ci-framework/ci-framework-jobs/-/merge_requests/3516

That MR pins DB_ROOT_PASSWORD in the edpm_base job definition where the whitebox tempest overrides live, which is a more targeted fix than changing the upstream scenario files.

@sbauza sbauza closed this Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants