[Openstack-operators] problem with glance-registory

Salman Toor salman.toor at it.uu.se
Thu Sep 20 10:41:21 UTC 2012


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... ?

Regards..
Salman.


Quoting Derek Higgins <derekh at redhat.com>:

> On 09/20/2012 11:16 AM, Salman Toor wrote:
>> Hi,
>>
>> I am facing problem starting glance-registry.
>>
>> -bash-4.1$ sudo glance-manage db_sync
>> /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)
>> /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)
>>
>> -bash-4.1$ sudo /etc/init.d/openstack-glance-api restart
>> Stopping openstack-glance-api:                             [  OK  ]
>> Starting openstack-glance-api:                             [  OK  ]
>>
>> -bash-4.1$ sudo /etc/init.d/openstack-glance-registry status
>> openstack-glance-registry dead but pid file exists
>>
>> -bash-4.1$ sudo /etc/init.d/openstack-glance-registry start
>> Starting openstack-glance-registry:                        [  OK  ]
>>
>> -bash-4.1$ sudo /etc/init.d/openstack-glance-registry status
>> openstack-glance-registry dead but pid file exists
>>
>> No ERROR messages in logfiles ....
>
> <snip/>
>
>
>> Can someone give some hint ...
>
> Hi Salman,
>    the first thing I would try is running the glance registry manually
> to see if it gives any useful information
>
> as the glance user try
> /usr/bin/python /usr/bin/glance-registry --config-file
> /etc/glance/glance-registry.conf --debug --verbose
>
> thanks,
> Derek.
>






More information about the OpenStack-operators mailing list