Skip to content

Unable to delete ACLs for existing service account #1430

@ppatierno

Description

@ppatierno

I have a service account together with some ACLs related to it.

rhoas kafka acl list --service-account srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf

PRINCIPAL (9)                                    PERMISSION   OPERATION          DESCRIPTION              
------------------------------------------------ ------------ ------------------ ------------------------- 
All Accounts                                     allow        describe           cluster is "*"           
All Accounts                                     allow        describe           group is "*"             
All Accounts                                     allow        describe           topic is "*"             
All Accounts                                     allow        describe-configs   topic is "*"             
srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf   allow        create             topic starts with "f1-"  
srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf   allow        describe           topic starts with "f1-"  
srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf   allow        write              topic starts with "f1-"  
srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf   allow        describe           transactional-id is "*"  
srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf   allow        write              transactional-id is "*"

I would like to delete all the ACLs related to that specific service account, so I tried the following:

rhoas kafka acl delete --operation all --permission any --topic f1- --prefix --service-account srvc-acct-adg23480-dsdf-244a-gt65-d4vd65784dsf

But the result is the following:

? All ACLs matching the criteria provided will be deleted from the Kafka instance "formula1-kafka". Are you sure you want to proceed? Yes


ℹ  No ACLs match the specified criteria

Metadata

Metadata

Assignees

Labels

authpriority/criticalThese should be fixed before the next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions