Skip to content
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

The reconciler loop should exit after setting metadata to prevent "the object has been modified" error #147

Open
2 tasks done
henrybear327 opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@henrybear327
Copy link
Collaborator

henrybear327 commented Dec 2, 2024

Bug report criteria

  • This bug report is not security related, security issues should be disclosed privately via netbox operator maintainers.
  • Existing open issues have been checked and this is not a duplicate.

What happened?

From time to time when applying the sample CRs, we might see the following error message in the log the object has been modified; please apply your changes to the latest version and try again

What did you expect to happen?

No such log should be recorded

How can we reproduce it (as minimally and precisely as possible)?

Apply/Delete the sample CRs

Netbox operator version

f882482

Netbox operator configuration (command line flags or environment variables)

No response

Relevant log output

the object has been modified; please apply your changes to the latest version and try again

Anything else we need to know?

The reconciler loop should exit after setting metadata, such as finalizers, to prevent such error

@henrybear327 henrybear327 added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant