Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-27 Thread Soren Hansen
2011/4/26 Thomas Goirand : > On 04/27/2011 12:42 PM, Soren Hansen wrote: >> The nova.conf we ship in the Debian packages already sets lock_path to >> /var/lock/nova. > Is that new? I didn't see it, and it wasn't set in my test server. Depends on your definition of "new", I suppose. --

Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-27 Thread Thomas Goirand
On 04/27/2011 01:37 PM, Masanori ITOH wrote: > Hi, > > I reported this issue in: > > https://bugs.launchpad.net/nova/+bug/754687 > > But, the title was renamed to RHEL6 specific issue against my intention. > As I satated in the bug report, I think this is a common isue among > distributions.

Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-26 Thread Masanori ITOH
cause you run nova.sh (or anyway nova-* services) by root user. # Or, maybe someone set writable bit in the directory which lock_path points to. Regards, Masanori -- Masanori ITOH From: Thomas Goirand Subject: Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6 Date: Wed, 2

Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-26 Thread Thomas Goirand
On 04/27/2011 12:42 PM, Soren Hansen wrote: > The nova.conf we ship in the Debian packages already sets lock_path to > /var/lock/nova. Is that new? I didn't see it, and it wasn't set in my test server. Thomas ___ Mailing list: https://launchpad.net/~op

Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-26 Thread Soren Hansen
2011/4/26 Thomas Goirand : > Hi, > > I thought I was the only one, as using Debian, but it seems I'm not. > > Nova is trying to write in /usr/lib/pymodules/python2.6. It should not, > as an admin can decide to mount /usr read only. Here's the output: > > http://paste.openstack.org/show/1253/ > > Of

Re: [Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-26 Thread Diego Parrilla SantamarĂ­a
I have found some random issues if you don't set the lock_path to a writeable directory in Cactus. Never saw any issue in Bexar. Hence, in the new version of our distro the lock_path parameter is always set. -- Diego Parrilla CEO www.stackops.com | diego.parri...@stackops.com | +34 649 94 43 29

[Openstack] Nova writing lock files in /usr/lib/pymodules/python2.6

2011-04-26 Thread Thomas Goirand
Hi, I thought I was the only one, as using Debian, but it seems I'm not. Nova is trying to write in /usr/lib/pymodules/python2.6. It should not, as an admin can decide to mount /usr read only. Here's the output: http://paste.openstack.org/show/1253/ Of course, doing: chown nova /usr/lib/pymodu