[Openstack-operators] problem with glance-registory

Marcos Ortiz mlortiz at uci.cu
Thu Sep 20 12:34:22 UTC 2012


On 09/20/2012 07:18 AM, Salman Toor wrote:
> Hi again,
>
> Thank very much Derek! I have resolved the problem.
>
> Just to make our conversation useful for others I am writing the steps 
> in a sequence.
>
> Problem
> ------------
> Cannot start the glance-registry, give following message,
> openstack-glance-registry dead but pid file exists
>
> Note: My glance-registry.conf and glance-registry-paste.ini files are 
> according to the manual and I have no Error messages in the log files.
>
> Solution
> -------------
>
> 1 - Used glance-registry tool to run the registry rather than running 
> as a service.
> -bash-4.1$ sudo glance-registry --config-file 
> /etc/glance/glance-registry.conf --debug --verbose
> [sudo] password for stoor:
> /usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:683: 
> SADeprecationWarning: The 'listeners' argument to Pool (and 
> create_engine()) is deprecated.  Use event.listen().
>   Pool.__init__(self, creator, **kw)
This warning shows up because the event listener change its behavior, 
Where we can fix this?
It would be nice to work on it
> /usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:159: 
> SADeprecationWarning: Pool.add_listener is deprecated.  Use 
> event.listen()
>   self.add_listener(l)
>
> and leave the terminal open.
>
> 2 - Open a new terminal, run the commands mentioned in the manual to 
> verify Image Service installation. it will work fine.
>
> ------------
>
> Conclusion: Run the glance-registry service manually.
>
> Note: Don't forget to run the glance-api as a normal service
> -bash-4.1$ sudo /etc/init.d/openstack-glance-api start
> Starting openstack-glance-api:                             [  OK ]
>
> Once again thanks to Derek Higgins. :-)
>
> Regards..
> Salman.
>
>
> Quoting Derek Higgins <derekh at redhat.com>:
>
>> On 09/20/2012 11:41 AM, Salman Toor wrote:
>>> Hi Derek,
>>>
>>> Thanks for giving the starting point!
>>>
>>> It seems something wrong when it tries to work with DATABASE or
>>>
>>> it just hangs on some listener ...
>>>
>>> -bash-4.1$ sudo glance-registry --config-file
>>> /etc/glance/glance-registry.conf --debug --verbose
>>> /usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:683: 
>>>
>>> SADeprecationWarning: The 'listeners' argument to Pool (a nd
>>> create_engine()) is deprecated.  Use event.listen().
>>>   Pool.__init__(self, creator, **kw)
>>> /usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:159: 
>>>
>>> SADeprecationWarning: Pool.add_listener is deprecated.  U se 
>>> event.listen()
>>>   self.add_listener(l)
>>>
>>> Something wrong in the code or my configurations are bad... ?
>>
>> Those Deprecation warnings can be ignored, if its just sitting there not
>> out putting anything then it should be running, try a glance index.
>>
>> If this works, try running it as the user "glance"
>>
>> Derek.
>>
>
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
> INFORMATICAS...
> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>
> http://www.uci.cu
> http://www.facebook.com/universidad.uci
> http://www.flickr.com/photos/universidad_uci

-- 

Marcos Luis Ortíz Valmaseda
*Data Engineer && Sr. System Administrator at UCI*
about.me/marcosortiz <http://about.me/marcosortiz>
My Blog <http://marcosluis2186.posterous.com>
Tumblr's blog <http://marcosortiz.tumblr.com/>
@marcosluis2186 <http://twitter.com/marcosluis2186>



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120920/070d7fab/attachment.html>


More information about the OpenStack-operators mailing list