[Openstack-operators] problem with glance-registory
derekh at redhat.com
Thu Sep 20 11:35:56 UTC 2012
On 09/20/2012 12:18 PM, 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.
> 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.
> 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:
> SADeprecationWarning: The 'listeners' argument to Pool (and
> create_engine()) is deprecated. Use event.listen().
> Pool.__init__(self, creator, **kw)
> SADeprecationWarning: Pool.add_listener is deprecated. Use event.listen()
> 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.
Glad to hear you got it sorted, but you should not have to run it
manually. I suspect it works manually because your running the service
as root, the service command normally starts it as the user "glance".
You should try to resolve the root problem so that you don't have to run
> 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. :-)
> 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
>>> SADeprecationWarning: The 'listeners' argument to Pool (a nd
>>> create_engine()) is deprecated. Use event.listen().
>>> Pool.__init__(self, creator, **kw)
>>> SADeprecationWarning: Pool.add_listener is deprecated. U se
>>> 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"
More information about the OpenStack-operators