daemon/update: use --delete-if-present to delete old kargs#3086
daemon/update: use --delete-if-present to delete old kargs#3086jlebon wants to merge 1 commit intoopenshift:masterfrom
--delete-if-present to delete old kargs#3086Conversation
Let's make the MCO more resilient to the old state not being what it expects it to be. In an ideal world, that shouldn't happen but there's nothing preventing sysadmins from fiddling around with kargs for testing things and that would throw us off. Related: https://bugzilla.redhat.com/show_bug.cgi?id=2075126
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jlebon The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
This is more of an RFC after looking at https://bugzilla.redhat.com/show_bug.cgi?id=2075126. I'm not sure if it's a good idea. |
|
I think this makes sense framing it with Kubernetes' model of eventual consistency. But OTOH, it means that we could end up fighting with something else trying to own parts of the kargs and instead of erroring out upfront, we'd have an eternal battle between the two. |
Yeah, this also relates to #245 Dunno. I'm OK with this, but I also feel like we'd want to know when it happens. |
|
@jlebon: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Let's make the MCO more resilient to the old state not being what it
expects it to be. In an ideal world, that shouldn't happen but there's
nothing preventing sysadmins from fiddling around with kargs for testing
things and that would throw us off.
Related: https://bugzilla.redhat.com/show_bug.cgi?id=2075126