Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

snapshot-temp-directory

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


wolfgang.hennerbichler at risc-software

Aug 13, 2012, 4:52 AM

Post #1 of 2 (88 views)
Permalink
snapshot-temp-directory

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-0000005c/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.hennerbichler [at] risc-software
http://www.risc-software.at

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


bfilippov at griddynamics

Aug 13, 2012, 6:57 AM

Post #2 of 2 (82 views)
Permalink
Re: snapshot-temp-directory [In reply to]

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 [at] lists/msg13730.html


2012/8/13 Wolfgang Hennerbichler <wolfgang.hennerbichler [at] risc-software>:
> 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-0000005c/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.hennerbichler [at] risc-software
> http://www.risc-software.at
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack [at] lists
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.