[Openstack] snapshot-temp-directory

2012-08-13 Thread Wolfgang Hennerbichler

hello fellow openstack users,

I just tried to create a snapshot of a virtual machine, which was larger 
than average. Bad news: The snapshot couldn't be saved, but what I see 
here is some kind of design problem:


2012-08-13 13:44:41 DEBUG nova.utils 
[req-a678e738-9c18-4ee6-8e2e-f1f176a4674b 
9b4ad74ecb69492db1bd3818efe6a47f 7edc3284f53f4e02b92d498db41b842d] 
Running cmd (subprocess): qemu-img convert -f qcow2 -O raw -s 
34dd12038e7b400b9f1d772de4e01
70a /var/lib/nova/instances/instance-005c/disk 
/tmp/tmp1gRMY9/34dd12038e7b400b9f1d772de4e0170a from (pid=25365) execute 
/usr/lib/python2.7/dist-packages/nova/utils.py:219


that's bad, I don't have so much disk space on /, but I have plenty in 
/var/lib/nova/instances.


df -h | grep nova
/dev/dm-8   1.4T  150G  1.3T  11% /var/lib/nova/instances

is there a generic way to change this path?

Wolfgang

--
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
wolfgang.hennerbich...@risc-software.at
http://www.risc-software.at

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] snapshot-temp-directory

2012-08-13 Thread Boris Filippov
This actually was fixed in upstream (
https://github.com/openstack/nova/commit/70129ed19db187cc90f74abd5c93c86098d29c27
).

Which OpenStack version you use?
Maybe this patch can be backported there.
There is workaround for this problem, but it's (not a bit) ugly:
http://www.mail-archive.com/openstack@lists.launchpad.net/msg13730.html


2012/8/13 Wolfgang Hennerbichler wolfgang.hennerbich...@risc-software.at:
 hello fellow openstack users,

 I just tried to create a snapshot of a virtual machine, which was larger
 than average. Bad news: The snapshot couldn't be saved, but what I see here
 is some kind of design problem:

 2012-08-13 13:44:41 DEBUG nova.utils
 [req-a678e738-9c18-4ee6-8e2e-f1f176a4674b 9b4ad74ecb69492db1bd3818efe6a47f
 7edc3284f53f4e02b92d498db41b842d] Running cmd (subprocess): qemu-img convert
 -f qcow2 -O raw -s 34dd12038e7b400b9f1d772de4e01
 70a /var/lib/nova/instances/instance-005c/disk
 /tmp/tmp1gRMY9/34dd12038e7b400b9f1d772de4e0170a from (pid=25365) execute
 /usr/lib/python2.7/dist-packages/nova/utils.py:219

 that's bad, I don't have so much disk space on /, but I have plenty in
 /var/lib/nova/instances.

 df -h | grep nova
 /dev/dm-8   1.4T  150G  1.3T  11% /var/lib/nova/instances

 is there a generic way to change this path?

 Wolfgang

 --
 DI (FH) Wolfgang Hennerbichler
 Software Development
 Unit Advanced Computing Technologies
 RISC Software GmbH
 A company of the Johannes Kepler University Linz

 IT-Center
 Softwarepark 35
 4232 Hagenberg
 Austria

 Phone: +43 7236 3343 245
 Fax: +43 7236 3343 250
 wolfgang.hennerbich...@risc-software.at
 http://www.risc-software.at

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp