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

CA-392823: ensure no device mapper conflicts in LVHDSR detach #686

Merged
merged 2 commits into from
May 17, 2024

Conversation

MarkSymsCtx
Copy link
Contributor

Within the detach operation checks are made that none of the device mapper devices for the SR volume group have opern handles. The falls false if operations on other LVM srs happen to call a device mapper operation such as lvs or vgs at the point the check is made as these operations can result in all of the devices managed by the device mapper subsystem being accessed as part of the scan. this then gives a false response for the open file handles check.

Within the detach operation checks are made that none of the device
mapper devices for the SR volume group have opern handles. The falls
false if operations on other LVM srs happen to call a device mapper
operation such as `lvs` or `vgs` at the point the check is made as
these operations can result in all of the devices managed by the
device mapper subsystem being accessed as part of the scan. this then
gives a false response for the open file handles check.

Signed-off-by: Mark Syms <mark.syms@cloud.com>
TimSmithCtx
TimSmithCtx previously approved these changes May 13, 2024
KevinLCtx
KevinLCtx previously approved these changes May 13, 2024
Signed-off-by: Mark Syms <mark.syms@cloud.com>
@MarkSymsCtx MarkSymsCtx merged commit 34bef14 into xapi-project:master May 17, 2024
2 checks passed
@MarkSymsCtx MarkSymsCtx deleted the CA-392823 branch May 17, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants