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

[release-4.9] Bug 2046016: SnapShot with Disk Hot-plug hangs #10959

Conversation

avivtur
Copy link
Contributor

@avivtur avivtur commented Jan 27, 2022

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2046016

Analysis / Root cause:
missing check for hotplug volumes

Solution Description:
adding check for hotplug volumes and toggling the alerts as needed

Screen shots / Gifs for design review:

Before:

before

After:

after

Signed-off-by: Aviv Turgeman aturgema@redhat.com

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 27, 2022

@avivtur: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

Bug 2047371 - live snapshot is allowed with hotplugs

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 component/kubevirt Related to kubevirt-plugin label Jan 27, 2022
@yaacov
Copy link
Member

yaacov commented Jan 27, 2022

@avivtur do you know about this ?
kubevirt/kubevirt#7127

@avivtur
Copy link
Contributor Author

avivtur commented Jan 27, 2022

@yaacov yes I was aware of that PR,
this is a bug suggested to me by @ShellyKa13,
@ShellyKa13 can you please review the fix?

Copy link

@ShellyKa13 ShellyKa13 left a comment

Choose a reason for hiding this comment

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

looks ok to me.
just making sure that this change is only for 4.9, in 4.10 hotplug will be supported. the bug fix that was mentioned here will be in 4.10.
Also making sure that in 4.10 hotplug disks will be in the snapshot only if they are persistent, i.e should be mentioned that for non-persistent hotplug disks that they will not be in the snapshot.

@avivtur avivtur changed the title Bug 2047371 - live snapshot is allowed with hotplugs Bug 2046016: SnapShot with Disk Hot-plug hangs Jan 30, 2022
@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium 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. labels Jan 30, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 30, 2022

@avivtur: This pull request references Bugzilla bug 2046016, 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.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.z) matches configured target release for branch (4.9.z)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 2045199 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 2045199 targets the "4.10.0" release, which is one of the valid target releases: 4.10.0
  • bug has dependents

Requesting review from QA contact:
/cc @gouyang

In response to this:

Bug 2046016: SnapShot with Disk Hot-plug hangs

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 requested a review from gouyang January 30, 2022 09:30
@avivtur
Copy link
Contributor Author

avivtur commented Jan 30, 2022

looks ok to me. just making sure that this change is only for 4.9, in 4.10 hotplug will be supported. the bug fix that was mentioned here will be in 4.10.

@ShellyKa13 Hi, first of all thank you for looking :)
this PR is for 4.9 only and should not affect 4.10 at all, as hotplugs should be allowed in live snapshots.

Also making sure that in 4.10 hotplug disks will be in the snapshot only if they are persistent, i.e should be mentioned that for non-persistent hotplug disks that they will not be in the snapshot.

for non persistent hotplugs there is an indication when listing all volumes which are not included in snapshot, it looks like this:
disk-1 - Volume snapshots are not supported for auto-detach hotplug volumes.

@openshift-ci openshift-ci bot added the kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated label Jan 30, 2022
@avivtur
Copy link
Contributor Author

avivtur commented Jan 30, 2022

/retest

@yaacov
Copy link
Member

yaacov commented Jan 30, 2022

/retitle [release-4.9] Bug 2046016: SnapShot with Disk Hot-plug hangs

@openshift-ci openshift-ci bot changed the title Bug 2046016: SnapShot with Disk Hot-plug hangs [release-4.9] Bug 2046016: SnapShot with Disk Hot-plug hangs Jan 30, 2022
@yaacov
Copy link
Member

yaacov commented Jan 30, 2022

/label backport-risk-assessed

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Jan 30, 2022
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@avivtur
Copy link
Contributor Author

avivtur commented Feb 1, 2022

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2022

@avivtur: This pull request references Bugzilla bug 2046016, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.z) matches configured target release for branch (4.9.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 2045199 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 2045199 targets the "4.10.0" release, which is one of the valid target releases: 4.10.0
  • bug has dependents

Requesting review from QA contact:
/cc @gouyang

In response to this:

[release-4.9] Bug 2046016: SnapShot with Disk Hot-plug hangs

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.

1 similar comment
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2022

@avivtur: This pull request references Bugzilla bug 2046016, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.z) matches configured target release for branch (4.9.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 2045199 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 2045199 targets the "4.10.0" release, which is one of the valid target releases: 4.10.0
  • bug has dependents

Requesting review from QA contact:
/cc @gouyang

In response to this:

[release-4.9] Bug 2046016: SnapShot with Disk Hot-plug hangs

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.

@avivtur
Copy link
Contributor Author

avivtur commented Feb 2, 2022

/retest

@gouyang
Copy link
Contributor

gouyang commented Feb 11, 2022

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Feb 11, 2022
@yaacov
Copy link
Member

yaacov commented May 11, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 11, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avivtur, yaacov

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

The pull request process is described here

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 11, 2022
@gouyang
Copy link
Contributor

gouyang commented May 11, 2022

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 11, 2022

@avivtur: all tests passed!

Full PR test history. Your PR dashboard.

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 fbb914f into openshift:release-4.9 May 11, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 11, 2022

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

Bugzilla bug 2046016 has been moved to the MODIFIED state.

In response to this:

[release-4.9] Bug 2046016: SnapShot with Disk Hot-plug hangs

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium 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. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. component/kubevirt Related to kubevirt-plugin kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants