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-405628: unmount/detach PVS cache VDI before destroying #6266

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

robhoes
Copy link
Member

@robhoes robhoes commented Jan 31, 2025

The pvsproxy daemon normally unmounts and removes the locally attached VBD for the cache VDI when needed. We do it as well in PVS_cache_storage.destroy, just in case pvsproxy did not manage to, for whatever reason. This should avoid any VDI_IN_USE errors.

ocaml/xapi/xapi_globs.ml Outdated Show resolved Hide resolved
ocaml/xapi/pvs_cache_vdi.ml Outdated Show resolved Hide resolved
The pvsproxy daemon normally unmounts and removes the locally attached
VBD for the cache VDI when needed. We do it as well in
`PVS_cache_storage.destroy`, just in case pvsproxy did not manage to,
for whatever reason. This should avoid any VDI_IN_USE errors.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
@robhoes robhoes added this pull request to the merge queue Feb 3, 2025
Merged via the queue into xapi-project:master with commit b81ff9d Feb 3, 2025
15 checks passed
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