Add application credential finalizer management#413
Conversation
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Deydra71 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@Deydra71 IIUC, circular dependency on openstack-operator is not here as pointed in nova-operator change. (both quote copied from nova-operator PR)
Another thing, if agreed, placement-op code should also follow this recommended approach.
Just to be sure, am I understanding this correctly? |
|
Hi @amartyasinha ! The EDPM concern does not apply to placement. Placement is a ctlplane only service - it has no config rendered or deployed to EDPM dataplane nodes. There is no placement entry in the NodeSet's The EDPM tracking is only relevant for services whose AC secret data gets rendered into a config secret that is then deployed to dataplane nodes (only nova and ceilometer). For these services, there's a window between AC rotation on the controlplane and the next EDPM deploy where the old credential is still in use on the nodes. That's what the EDPM aware revocation prevents. For ctlplane only services like placement, barbican, or cinder, etc the consumer finalizer , eg in placement Re the circular dependency concern: we changed our current approach in keystone-operator to use unstructured access to |
|
Thanks @Deydra71 for explaining. Now it is clear to me. But seems like I haven't get clarity regarding the second quote.
Is this the answer to the above concern? Just want to ensure I get the clear idea.
|
Jira: OSPRH-29269
Application Credential dev-doc: https://github.com/openstack-k8s-operators/dev-docs/blob/main/application_credentials.md
Status.ApplicationCredentialSecretopenstack.org/placementapi-ac-consumerfinalizer to the AC secret after service config is renderedThis ensures that the keystone-operator cannot revoke a rotated AC secret while Placement is still consuming it.
Depends-On: openstack-k8s-operators/keystone-operator#685
Assisted-by: Claude Opus 4.6 noreply@anthropic.com