The location for the locks is determined by the --lock_path setting in
nova.conf. This is apparently set to the base path where the nova
python code lives ($pybasedir) in devstack:
2012-04-14 21:35:42 DEBUG nova.service [-] lock_path : /opt/stack/nova
from (pid=3700) wait /opt/stack/nova/nova/service.py:442
Since, that directory has a bunch of important files in it, certainly
don't follow my previous advice and remove all the files in that
directory. There is a bug
) about nova not cleaning
up locks that should have been fixed in essex-4. As part of the fix
to that Mike Pittaro wrote a cleanup locks script that should be in
/opt/stack/nova/tools/clean_file_locks.py. Try running that and let
us know if that fixed it. If not look for *.lock files in
On Sat, Apr 14, 2012 at 9:07 PM, Salman Malik <email@example.com> wrote: > Thanks Nate for the quick reply.
> There is no such directory on the system (I am using devstack if that
> Date: Sat, 14 Apr 2012 21:00:39 -0400
> Subject: Re: [Openstack] nova-network service stuck
> From: firstname.lastname@example.org
> To: email@example.com
> CC: firstname.lastname@example.org
> Check in Nova's lock dir, on my system it's /var/lib/nova/tmp. Remove any
> files in there and restart the services.
> On Apr 14, 2012 8:56 PM, "Salman Malik" <email@example.com> wrote:
> Hi All,
> I am having problem with getting nova-service to work. The last line that is
> shown on the screen is: "2012-04-14 19:42:39 DEBUG nova.utils [-] Attempting
> to grab file lock "iptables" for method "apply"... from (pid=3649) inner
> /opt/stack/nova/nova/utils.py:936" and the service is stuck at this point.
> So when I do a nova-manage service list, network service turns out to be
> unhappy. I haven't found much help on how to 'unlock' iptables file.
> Thoughts please ?
> Mailing list: https://launchpad.net/~openstack
> Post to : firstname.lastname@example.org
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~openstack
Post to : email@example.com
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp