The reconciler loop should exit after setting metadata to prevent "the object has been modified" error
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
Research direction
Start by locating the reconciler loop that applies metadata such as finalizers, then reproduce the issue by applying and deleting the sample CRs. Done means the reconciler exits after changing metadata and the log no longer records the object-modified error.
Written by the indexing model from the issue text.
Description
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
f882482f9dd6ee1d667fa664528af03a97eb4bb4
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
- Dominant language
- Go
- Stars
- 157
- Forks
- 28
- Avg merge
- 18h 57m
- Merged PRs (30d)
- 13
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netbox-community/netbox-operator
-
Possible race-condition for PrefixClaimPossibly taken @mraerino claimed this 36 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 52/100
netbox-community/netbox-operator#661 ·
Maintainers usually reply within 1 day
-
feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
netbox-community/netbox-operator#501 · 6 comments ·
Maintainers usually reply within 1 day
-
feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
netbox-community/netbox-operator#500 · 2 comments ·
Maintainers usually reply within 1 day
-
feature
Difficulty 5/5 Over a week Newbie friendliness 32/100
netbox-community/netbox-operator#499 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
feature
Difficulty 3/5 1-2 days Newbie friendliness 42/100
netbox-community/netbox-operator#400 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in netbox-community/netbox-operator
Similar issues
-
ec2-subnet, security-group and internet-gateway skip all resources when one is deleted during the scanPossibly taken @toabctl claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
gruntwork-io/cloud-nuke#1208 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
snowflakedb/gosnowflake#1872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Linux 主机 macOS 主机
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Lee-xeo/Claude-Cage#1455 ·
Maintainers usually reply within 1 day