Skip to content

Bug 2028054: Ensure old deployment is deleted before new deployment creation#157

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
JoelSpeed:adjust-tombstone
Dec 18, 2021
Merged

Bug 2028054: Ensure old deployment is deleted before new deployment creation#157
openshift-merge-robot merged 1 commit into
openshift:masterfrom
JoelSpeed:adjust-tombstone

Conversation

@JoelSpeed

Copy link
Copy Markdown
Contributor

We have seen instances during upgrades from 4.8 to 4.9 in which the deployments end up stuck on leader election due to the new deployment being created before the old deployment (possibly).

At the moment, the CVO doesn't wait on deployments to become ready, but if it did, our current ordering (tombstone after new deployment) could block the application of the manifests.

To avoid this possible conflict, we should make sure that the tombstone comes before the deployment manifest.

@wking Would you be able to sanity check this from the CVO side, I've moved the tombstone to a lower numbered manifest which I believe should guarantee it to be actioned before the new deployment

@openshift-ci openshift-ci Bot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Dec 17, 2021
@openshift-ci

openshift-ci Bot commented Dec 17, 2021

Copy link
Copy Markdown
Contributor

@JoelSpeed: This pull request references Bugzilla bug 2028054, which is invalid:

  • expected the bug to target the "4.10.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 2028054: Ensure old deployment is deleted before new deployment creation

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.

@openshift-ci openshift-ci Bot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Dec 17, 2021
@openshift-ci openshift-ci Bot requested review from Fedosin and lobziik December 17, 2021 10:02
@JoelSpeed

Copy link
Copy Markdown
Contributor Author

/bugzilla refresh

@openshift-ci openshift-ci Bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Dec 17, 2021
@openshift-ci

openshift-ci Bot commented Dec 17, 2021

Copy link
Copy Markdown
Contributor

@JoelSpeed: This pull request references Bugzilla bug 2028054, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.10.0) matches configured target release for branch (4.10.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @sunzhaohua2

Details

In response to this:

/bugzilla refresh

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.

@openshift-ci openshift-ci Bot removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Dec 17, 2021
@openshift-ci openshift-ci Bot requested a review from sunzhaohua2 December 17, 2021 10:05

@Fedosin Fedosin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2021

@wking wking left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 18, 2021
@openshift-ci

openshift-ci Bot commented Dec 18, 2021

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Fedosin, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot

Copy link
Copy Markdown

/retest-required

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot

Copy link
Copy Markdown

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci

openshift-ci Bot commented Dec 18, 2021

Copy link
Copy Markdown
Contributor

@JoelSpeed: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 302ec4a into openshift:master Dec 18, 2021
@openshift-ci

openshift-ci Bot commented Dec 18, 2021

Copy link
Copy Markdown
Contributor

@JoelSpeed: All pull requests linked via external trackers have merged:

Bugzilla bug 2028054 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2028054: Ensure old deployment is deleted before new deployment creation

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.

@vrutkovs

Copy link
Copy Markdown

/cherry-pick release-4.9

@openshift-cherrypick-robot

Copy link
Copy Markdown

@vrutkovs: new pull request created: #162

Details

In response to this:

/cherry-pick release-4.9

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants