-
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
integrety: storage pool deactivate/undefine needs to consider vm usage #355
Comments
Another case related this one is: Result: |
Please, assign to me. |
@lvroyce ? |
On 2014年05月08日 04:41, Rodrigo Trujillo wrote:
|
(1) create a template using nfs pool
(2) create a vm from this template
(3) delete template
(4) deactivate the nfs pool
storage pool return error: vm is using this pool
backend pass this deactivate request to libvirt and libvirt returns with error:
INFO:cherrypy.access.47688656:127.0.0.1 - - [21/Mar/2014:16:05:08] "GET /storagepools/nfs-pool/storagevolumes HTTP/1.1" 200 270 "http://localhost:8000/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0"
libvirt: error : internal error: Child process (/bin/umount /var/lib/kimchi/nfs_mount/nfs-pool) unexpected exit status 16: umount.nfs: /var/lib/kimchi/nfs_mount/nfs-pool: device is busy
umount.nfs: /var/lib/kimchi/nfs_mount/nfs-pool: device is busy
127.0.0.1 - - [21/Mar/2014:16:05:10] "POST /storagepools/nfs-pool/deactivate HTTP/1.1" 500 1290 "http://localhost:8000/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0"
The text was updated successfully, but these errors were encountered: