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-372785 make with-vdi more robust #4855

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

lindig
Copy link
Contributor

@lindig lindig commented Nov 23, 2022

The vbd-plug call in with-vdi may fail after a VBD was already created. The errexit option would cause the script to fail before the VBD would be destroyed. So make sure we destroy the VBD if vbd-plug fails.

Signed-off-by: Christian Lindig christian.lindig@citrix.com

The vbd-plug call in with-vdi may fail after a VBD was already created.
The errexit option would cause the script to fail before the VBD would
be destroyed. So make sure we destroy the VBD if vbd-plug fails.

Signed-off-by: Christian Lindig <christian.lindig@citrix.com>
Copy link
Contributor

@MarkSymsCtx MarkSymsCtx left a comment

Choose a reason for hiding this comment

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

LGTM

@lindig lindig merged commit cb7a8c9 into xapi-project:master Nov 23, 2022
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