[Openstack] Got semaphore "storage-registry-lock" and XXX in nova-compute

somshekar kadam som_kadam at yahoo.co.in
Mon Dec 8 08:20:11 UTC 2014


Hi All, 

I have found the same problem on my normal setup without using storage node.
All in the same machine
Controller <->compute node. setup

Controller on  Fedora20 host machine and compute node running in VM (Fedora20) on the same machine. 

I found that 
sudo service  nova-compute status
Redirecting to /bin/systemctl status  nova-compute.service
nova-compute.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

hope I am in the right direction, please correct me If I am wrong. 

regardsSomshekar


 
Regards
Neelu 

     On Monday, 8 December 2014 5:42 AM, Francisco J. Araya <faraya at kionetworks.com> wrote:
   

 Finally the problem was that /var/lib/nova/instances mounted over CephFS had bad permitions on files/directories. With a clean directory the problem doesn't show anymore.

Regards,

2014-12-04 12:39 GMT-06:00 Francisco J. Araya <faraya at kionetworks.com>:

Well, after working with Guillermo we have acknowleged is that it seems to be an issue with the shared storage (CephFS).

We changed /var/lib/nova/instances to local storage on one of the computer nodes and voila! The node it's not going down with XXX anymore!

Now we want to check if it's a file permissions issue on /var/lib/nova/instances or there is a issue with shared fs ceph storage.



2014-12-04 1:15 GMT-06:00 Guillermo Alvarado <guillermoalvarado89 at gmail.com>:

Hi everyone,
I can not found any info about this error: Got semaphore "storage-registry-lock"
All my computes goes :-) but after 40 mins aprox I got XXX
Here the complete log:
2014-12-04 00:43:41.921 32947 DEBUG nova.openstack.common.lockutils [-] Got semaphore "storage-registry-lock" lock /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:168
2014-12-04 00:43:41.922 32947 DEBUG nova.openstack.common.lockutils [-] Attempting to grab file lock "storage-registry-lock" lock /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:178
2014-12-04 00:43:41.963 32947 DEBUG nova.openstack.common.lockutils [-] Got file lock "storage-registry-lock" at /var/lib/nova/instances/locks/nova-storage-registry-lock lock /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:206
2014-12-04 00:43:41.964 32947 DEBUG nova.openstack.common.lockutils [-] Got semaphore / lock "do_get_storage_users" inner /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:248
2014-12-04 00:43:41.965 32947 DEBUG nova.openstack.common.lockutils [-] Released file lock "storage-registry-lock" at /var/lib/nova/instances/locks/nova-storage-registry-lock lock /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:210
2014-12-04 00:43:41.966 32947 DEBUG nova.openstack.common.lockutils [-] Semaphore / lock released "do_get_storage_users" inner /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:252

BTW I am using ceph and RBD to cinder 
Any Ideas??



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





-- 
Francisco J. Araya Maggiolo
DevOp - Research & Development
KIO Networks
Mexico City
Phone: +52 (55) 8503 2600 ext. 3901
Mobile: +52 (1) (55) 6066 9025
http://www.kionetworks.com





-- 
Francisco J. Araya Maggiolo
DevOp - Research & Development
KIO Networks
Mexico City
Phone: +52 (55) 8503 2600 ext. 3901
Mobile: +52 (1) (55) 6066 9025
http://www.kionetworks.com





Puede consultar aquí la Política de Privacidad


Este mensaje es confidencial. Si usted no es el destinatario de este mensaje, le suplicamos se lo notifique al remitente mediante un correo electrónico y que borre el presente mensaje y sus anexos de su computadora sin retener una copia de los mismos. No debe copiar este mensaje o usarlo para cualquier prop&oiacute;sito ni divulgar su contenido. KIO Networks se reserva el derecho de monitorear todas las comunicaciones de correo electrónico (relacionadas o no con KIO Networks) que se transmitan a través de su sistema. Muchas gracias.


This email is confidential and may also be privileged. If you are not the intended recipient please immediately advise the sender by reply e-mail and delete this message and its attachments from your computer without retaining a copy. You should not copy it or use it for any purpose nor disclose its contents to any other person. KIO Networks reserves the right to monitor all email communications (whether related to the business of KIO Networks or not) through its networks. Thank you.


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to    : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141208/0d15d7f6/attachment.html>


More information about the Openstack mailing list