-
Notifications
You must be signed in to change notification settings - Fork 364
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
Deactive logical pool cause vm failed to start while storage of the vm is in this logical pool #569
Comments
Storage pool's "deactive" action call libvirt "StoragePoolDestroy" function which causes different result on different pool type. IMO, once 'logical' type pool is used by guest, UI should prompt can not deactive this pool. Anybody has a different opinion ? |
According to the documentation, the data should still be there, so that's not good. Did you find some documentation that cited this behavior? I know I've seen different behaviors documented for storage pools, but just not finding this particular case documented anywhere. |
I did some experiments about this issue and I learned that this is exactly libvirt's expected behavior. There are a few points to take a look:
Here is the output of some
Therefore, what's happening in the description of this issue is expected, according to libvirt. I have two proposals for this issue:
Personally, I prefer proposal (2) as it is more consistent and makes more sense; afterall, the user shouldn't be trying to start a VM in an inactive storage pool. |
I will close it as duplicated of #355 |
How to reproduce:
Expected result:
step 6 failed or step 7 success
While pool type is 'dir', process above does not cause an error, both step 6 and 7 success.
The text was updated successfully, but these errors were encountered: