[Openstack] How do I stop image-create from using /tmp?

Nathanael Burton nathanael.i.burton at gmail.com
Mon Jul 2 20:37:51 UTC 2012


I agree with Daniel for the qemu-img commands. For other temp file usage, I
know on Fedora/RHEL there's already /var/lib/nova/tmp which is used for
lock files, etc.

Nate
On Jul 2, 2012 4:29 PM, "Daniel P. Berrange" <berrange at redhat.com> wrote:

> On Mon, Jul 02, 2012 at 10:24:02AM -0700, Matt Joyce wrote:
> > I like the idea of making this a flagfile option.
>
> In the particular case of the qemu-img command described
> in earlier in this thread, I'm not convinced we need a
> new option. Instead of using /tmp when extracting a snapshot
> from an existing disk image, it could just use the path
> where the source image already resides. ie the existing
> FLAGS.instances_path directory, which can be assumed to
> be a suitably large persistent data store.
>
> Other uses of temporary files should be analysed ona case
> by case basis to figure out a suitable storage location.
> This might perhaps identify a need for a generic temp
> file location for nova, such as /var/run/nova/ or
> /var/cache/nova or both (depending on use case).
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/:|
> |: http://libvirt.org              -o-             http://virt-manager.org:|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/:|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc:|
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120702/997d144d/attachment.html>


More information about the Openstack mailing list