-
Notifications
You must be signed in to change notification settings - Fork 237
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
Bug: ArtifactRegistryRepository errors with NotReady even after the registry has already been created. #348
Comments
Hi @karlkfi, thank you for raising this issue! I was able to reproduce your 404 error yesterday and was able to work around it by deleting the k8s object for ARRepository and then reapplying it. (By reapplying it, you're basically acquiring the existing ARRepository). We will investigate why the 404 error appears when trying to create an ARRepository for the first time and will post updates to this thread. |
Hi @karlkfi, are you still encountering this issue? I am currently unable to reproduce this issue on either KCC 1.27.1 or the latest version of KCC. |
Discussed internally and this doesn't seem to be a problem anymore. Closing for now, but will reopen if the issue re-surfaces. |
deleting and re-creating the resources seemed to make it work. not quite sure why that was required after KCC upgrade tho. |
The bug came back... KCC: 1.37.0
|
Ok I see -- I'll try to reproduce again (this time letting the repo live for a few hours and see if I see the same issue). |
I'm finally able to reproduce the issue, and what's more, it seems like just updating the resource at all triggers the error. Will continue to investigate. |
Ok I think there is just something wrong with the update logic, and the resource triggers the issue eventually after resource creation due to KCC updating the labels periodically as part of the leasing mechanism. So for now, while we investigate the root cause, our recommendation is to disable the leasing mechanism for your The leasing mechanism can be disabled by adding the annotation: annotations:
cnrm.cloud.google.com/management-conflict-prevention-policy: none Note that you'll need to abandon and re-acquire any existing |
This issue has now been fixed in v1.39.0. |
Describe the bug
ArtifactRegistryRepository errors with NotReady even after the registry has already been created (as seen in UI or CLI).
ConfigConnector Version
1.27.1
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: