Skip to content

Propagate rabbitmq users to nova-cellX secret#1066

Merged
openshift-merge-bot[bot] merged 2 commits intoopenstack-k8s-operators:mainfrom
lmiccini:cell_rmquser
Feb 12, 2026
Merged

Propagate rabbitmq users to nova-cellX secret#1066
openshift-merge-bot[bot] merged 2 commits intoopenstack-k8s-operators:mainfrom
lmiccini:cell_rmquser

Conversation

@lmiccini
Copy link
Contributor

@lmiccini lmiccini commented Feb 6, 2026

Followup from #1052

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/722fb15020ea48668696a9ea967e110c

openstack-meta-content-provider FAILURE in 5m 20s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/66dd56c83809460ebc69b4bf475f3e32

openstack-meta-content-provider FAILURE in 12m 36s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

recheck

@softwarefactory-project-zuul
Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/openstack-operator#1797 is needed.

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

recheck

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

/test functional

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d61263831d4e40ac9dd1e74a07dae687

✔️ openstack-meta-content-provider SUCCESS in 2h 47m 52s
✔️ nova-operator-kuttl SUCCESS in 46m 53s
✔️ nova-operator-tempest-multinode SUCCESS in 2h 31m 07s
nova-operator-tempest-multinode-ceph FAILURE in 25m 17s

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

recheck

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

/test functional

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/86da2905b79842218447638627e08de0

✔️ openstack-meta-content-provider SUCCESS in 1h 05m 14s
✔️ nova-operator-kuttl SUCCESS in 47m 06s
nova-operator-tempest-multinode FAILURE in 24m 12s
nova-operator-tempest-multinode-ceph FAILURE in 25m 47s

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

/test functional

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 7, 2026

recheck

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/075471792bbb4a00a30355133555361b

✔️ openstack-meta-content-provider SUCCESS in 3h 25m 02s
✔️ nova-operator-kuttl SUCCESS in 53m 06s
nova-operator-tempest-multinode FAILURE in 27m 10s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 3h 06m 51s

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 8, 2026

/test functional

1 similar comment
@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 9, 2026

/test functional

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 9, 2026

recheck

err := r.GenerateConfigs(
ctx, h, instance, configName, &hashes, templateParameters, map[string]string{}, cmLabels, map[string]string{},
ctx, h, instance, configName, &hashes, templateParameters, extraData, cmLabels, map[string]string{},
)
Copy link
Contributor

Choose a reason for hiding this comment

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

without this PR

  $ oc get secret nova-cell1-compute-config -o json | jq -r '.data | keys'
  [
    "01-nova.conf",
    "nova-blank.conf"
  ]

with this PR - adds rabbitmq_user_name and notification_rabbitmq_user_name

  $ oc get secret nova-cell1-compute-config -o json | jq -r '.data | keys'
  [
    "01-nova.conf",
    "notification_rabbitmq_user_name",
    "nova-blank.conf",
    "rabbitmq_user_name"
  ]

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b0d14df9b3af4897ae7289bd9dc943c1

✔️ openstack-meta-content-provider SUCCESS in 3h 07m 34s
nova-operator-kuttl FAILURE in 44m 46s
✔️ nova-operator-tempest-multinode SUCCESS in 2h 37m 07s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 48m 48s

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 9, 2026

recheck

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 9, 2026

/retest

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 9, 2026

/test functional

1 similar comment
@lmiccini
Copy link
Contributor Author

/test functional

@lmiccini lmiccini force-pushed the cell_rmquser branch 2 times, most recently from 8f141f7 to 5c3b89b Compare February 10, 2026 09:32
@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/0e1e2cf439a54b4498b6b474b6beb516

✔️ openstack-meta-content-provider SUCCESS in 2h 39m 45s
✔️ nova-operator-kuttl SUCCESS in 46m 10s
✔️ nova-operator-tempest-multinode SUCCESS in 2h 22m 44s
nova-operator-tempest-multinode-ceph FAILURE in 22m 05s

@lmiccini
Copy link
Contributor Author

/test functional

1 similar comment
@lmiccini
Copy link
Contributor Author

/test functional

@lmiccini
Copy link
Contributor Author

/test precommit-check

@fmount
Copy link
Contributor

fmount commented Feb 11, 2026

/lgtm

@fmount
Copy link
Contributor

fmount commented Feb 11, 2026

I think this patch addresses [1], so +1 from me. (cc @SeanMooney)

[1] #1052 (comment)

@lmiccini
Copy link
Contributor Author

#1052 (comment) for context


// Parse the INI file once after Eventually succeeds (avoids repeated parsing)
cfg, err := ini.Load([]byte(configData))
Expect(err).ShouldNot(HaveOccurred(), "Should be able to parse config as INI")
Copy link
Contributor

Choose a reason for hiding this comment

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

this might bite us in the futre since the nova.conf is not an ini file its in oslo config format which is a superset fo ini format but htis is a prexisign test so its fine.

just noting tha twe cant assume its ini formce as its technially not even if they default config we generate is only useing the base feature of ini

keystoneAPI := keystone.GetKeystoneAPI(novaNames.KeystoneAPIName)
keystoneAPI.Spec.Region = "regionOne"
Expect(k8sClient.Update(ctx, keystoneAPI)).To(Succeed())

Copy link
Contributor

Choose a reason for hiding this comment

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

we might want to keep this in an Eventually bock.

Copy link
Contributor

Choose a reason for hiding this comment

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

with that said i think this commit shoudl have been in a different pr

im happ to approve the priror commit but i think we had the ocnte in the eventually block becuase of ci issue in thepast with stablity on slow nodes so im concervitive with this type of refactor without review form others

@SeanMooney
Copy link
Contributor

i think we can proceed with this but i want @mrkisaolamb or @gibizer to take a look to confirm

@lmiccini
Copy link
Contributor Author

fwiw the tests optimization is a separate commit, so we could always revert it independently if we want to, or I can remove it now if you prefer.

Copy link
Contributor

@mrkisaolamb mrkisaolamb left a comment

Choose a reason for hiding this comment

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

Patch lgtm. I’m ok with having test improvements in the same PR since they are in a separate commit. Thanks @lmiccini and @SeanMooney !

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lmiccini, mrkisaolamb

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

The pull request process is described 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

@openshift-merge-bot openshift-merge-bot bot merged commit 4ae0be0 into openstack-k8s-operators:main Feb 12, 2026
7 checks passed
@lmiccini
Copy link
Contributor Author

/cherry-pick 18.0-fr5

@openshift-cherrypick-robot

@lmiccini: new pull request created: #1071

Details

In response to this:

/cherry-pick 18.0-fr5

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants