-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACLs not getting created properly when having Julie manage principles with Confluent Cloud #438
Comments
Any timeline on when this bug will be fixed? |
@MichaelBeausoleil we learned from a support case with Confluent Cloud that the documentation for the create ACL API is incorrect. The API only accepts the integer account ID and Confluent is working on updating the documentation https://docs.confluent.io/cloud/current/api.html#operation/createKafkaV3Acls. I believe this is the reason Julie is not creating the ACL. It gets an inaccurate 201 response from Confluent Cloud. @purbon ☝️ |
Does that mean that I just need to change the references in the descriptor file or that there still needs to be a code change in JulieOps? If it is the former can you please provide and example of what needs to change in the descriptor files? If it is the later is there a timeliness for the code correction? Thanks for the quick response. |
@shan916 can you provide a reference to the Confluent support case so I can ask Confluent about its status? |
Hi folks, this is currently a work in progress to improve on the Confluent Cloud API. In the meantime, I will try to figure out if possible we can do something here to solve this problem in this layer. Sorry for the inconviniences, as you know this is not an official Confluent Product, and I do my best to keep it up for the latest changes and improvements. |
Hi, |
Thank you for the update. |
This should be fixed with #444
Hope that helps! |
Hi, quick update on this issue, you will find a release with a workaround for this issue at https://github.com/kafka-ops/julie/releases/tag/v4.1.1 hope it helps you, let me know how it goes. |
@purbon thank you very much for working on this fix. I will be trying this out today. |
Thanks, please let me know how it goes. Remember that in the new version
4.1.1 you need to disable principal management if using the cloud,
otherwise JulieOps is going to try to create your ServiceAccount as defined
in the topology. You can do this by putting
https://github.com/kafka-ops/julie/blob/master/example/julieops-confluent-cloud.properties#L18
as false.
…-- Pere
On Tue, Feb 8, 2022 at 3:58 PM Michael Beausoleil ***@***.***> wrote:
@purbon <https://github.com/purbon> thank you very much for working on
this fix. I will be trying this out today.
—
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQXPBGIERBZVRJTXJTQNLU2EVQVANCNFSM5LNWN6UQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Pere Urbon-Bayes
Software Architect
https://twitter.com/purbon
https://www.linkedin.com/in/purbon/
|
I apologize for the delay on my response. The new version is working well. Thank you again for your efforts. |
Thanks Michael, happy it is working right now for you. |
When having Julie manage principals with Confluent Cloud, the ACLs are not created properly. Also, the service account is created with format
User:SA_NAME
instead of justSA_NAME
.To Reproduce
Expected behavior
The expected behavior is for the ACL to be created for the resource id associated with the
test-julie
account and for the service account name to betest-julie
.Screenshots
Service Account:
ACLs:
Runtime (please complete the following information):
Additional context
If you try the ACL create operation via the Confluent Cloud REST API, the API does not create the ACL unless the numeric service account ID is specified.
The Confluent Cloud ACL API expects a principal with format
principalType:principalName
. If you send a request in this format, the API will return a 201 but doesn't actually create the ACL. If the numeric service account ID is specified in place of "principalName", it works.https://docs.confluent.io/cloud/current/api.html#operation/createKafkaV3Acls
Confluent support was able to replicate the issue with the API on their end, and have escalated it internally. They also requested for us to create an issue here.
The text was updated successfully, but these errors were encountered: