[Openstack] How do I stop image-create from using /tmp?
Jay Pipes
jaypipes at gmail.com
Mon Jul 2 22:37:06 UTC 2012
On 07/02/2012 01:32 PM, Mark Lehrer wrote:
>> just did an "ln -s /some/dir/with/space /tmp" and that does solve
>
> I added an option to /etc/init/nova_compute.conf to specify the tmp
> space, so the start line looks like this:
>
> exec su -s /bin/sh -c "export TMPDIR=/var/tmp; exec nova-compute
> --flagfile ........
>
> Not a great solution either since package updates over-write this setting.
Yeah, that's exactly what we found as well -- Chef would overwrite the
upstart script, and we couldn't for the life of us figure out how to get
Chef to set the TMPDIR environment variable for *user running nova-compute*.
Best,
-jay
More information about the Openstack
mailing list