Skip to content

Conversation

@ratailor
Copy link
Contributor

Two different controllers are watching the same Secret changes and both logging when they detect that a keystone-related resource has changed.

This commit add controller prefix to both controllers:

  • Add [ControlPlane] prefix to OpenStackControlPlane controller log
  • Add [Client] prefix to OpenStackClient controller log

Benefits:

  • Immediate differentiation of log sources
  • Low risk, minimal code changes
  • Maintains all existing functionality
  • Improved operator debugging experience

Before:
'input source keystone changed, reconcile: nova - openstack' 'input source keystone changed, reconcile: nova - openstack'

After:
'[ControlPlane] input source keystone changed, reconcile: nova - openstack'
'[Client] input source keystone changed, reconcile: nova - openstack'

Fixes: #duplicate-logs
Assisted by: claude-4-sonnet

Two different controllers are watching the same Secret
changes and both logging when they detect that a keystone-related
resource has changed.

This commit add controller prefix to both controllers:
- Add [ControlPlane] prefix to OpenStackControlPlane controller log
- Add [Client] prefix to OpenStackClient controller log

Benefits:
- Immediate differentiation of log sources
- Low risk, minimal code changes
- Maintains all existing functionality
- Improved operator debugging experience

Before:
'input source keystone changed, reconcile: nova - openstack'
'input source keystone changed, reconcile: nova - openstack'

After:
'[ControlPlane] input source keystone changed, reconcile: nova -
openstack'
'[Client] input source keystone changed, reconcile: nova - openstack'

Fixes: #duplicate-logs
Assisted by: claude-4-sonnet
@openshift-ci openshift-ci bot requested review from rebtoor and stuggi September 12, 2025 06:04
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 12, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

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

@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/a5b06c6471164a4c82dc4c9738b0d859

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 23m 41s
podified-multinode-edpm-deployment-crc FAILURE in 1h 42m 37s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 25m 03s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 10m 00s
openstack-operator-tempest-multinode FAILURE in 1h 45m 39s

@ratailor
Copy link
Contributor Author

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/85d9cf555b7844c3a690627bc2b3a4aa

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 25m 33s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 1h 15m 26s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 34s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 10m 29s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 37m 23s

@ratailor
Copy link
Contributor Author

/retest

@abays
Copy link
Contributor

abays commented Sep 12, 2025

recheck

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.

2 participants