-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ansible operator: race condition between delete and status update #818
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
Labels
kind/bug
Categorizes issue or PR as related to a bug.
language/ansible
Issue is related to an Ansible operator project
Comments
mhrivnak
added a commit
to mhrivnak/operator-sdk
that referenced
this issue
Dec 5, 2018
- Fixes bug where reconcile attempted to update status after running finalizer - Stops depending on grepping for a log statement for a test to pass - Disables debug log mode by default - Ensures no errors appear in log at end of e2e test run - logs cache miss at INFO instead of ERROR - adds sleep statement to tolerate operator-framework#818 in e2e tests
mhrivnak
added a commit
to mhrivnak/operator-sdk
that referenced
this issue
Dec 5, 2018
- Fixes bug where reconcile attempted to update status after running finalizer - Stops depending on grepping for a log statement for a test to pass - Disables debug log mode by default - Ensures no errors appear in log at end of e2e test run - logs cache miss at INFO instead of ERROR - adds sleep statement to tolerate operator-framework#818 in e2e tests
mhrivnak
added a commit
to mhrivnak/operator-sdk
that referenced
this issue
Dec 5, 2018
- Fixes bug where reconcile attempted to update status after running finalizer - Stops depending on grepping for a log statement for a test to pass - Disables debug log mode by default - Ensures no errors appear in log at end of e2e test run - logs cache miss at INFO instead of ERROR - adds sleep statement to tolerate operator-framework#818 in e2e tests
mhrivnak
added a commit
to mhrivnak/operator-sdk
that referenced
this issue
Dec 5, 2018
- Fixes bug where reconcile attempted to update status after running finalizer - Stops depending on grepping for a log statement for a test to pass - Disables debug log mode by default - logs cache miss at INFO instead of ERROR - adds commented-out check for errors in logs in e2e tests, which will be enabled after operator-framework#818 gets fixed
@dymurray we think the work you're doing on status will fix this. |
This test should be enabled when this bug is fixed: operator-sdk/hack/tests/e2e-ansible.sh Lines 96 to 102 in fc428c9
|
fabianvf
pushed a commit
to fabianvf/operator-sdk
that referenced
this issue
Dec 21, 2018
- Fixes bug where reconcile attempted to update status after running finalizer - Stops depending on grepping for a log statement for a test to pass - Disables debug log mode by default - logs cache miss at INFO instead of ERROR - adds commented-out check for errors in logs in e2e tests, which will be enabled after operator-framework#818 gets fixed
I believe this issue is resolved here: df40e30#diff-9649888b3df1961dad649345545de4c0 |
I agree that resolved it. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
language/ansible
Issue is related to an Ansible operator project
If a CR gets deleted while ansible is running, and the operator is in its reconcile loop, the ending status update will fail because the object changed underneath it (the deletion timestamp was added, or the object is actually gone). This error will appear in the log:
The text was updated successfully, but these errors were encountered: