<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 09/20/2012 07:18 AM, Salman Toor
wrote:<br>
</div>
<blockquote cite="mid:20120920131856.2636793yderppbj4@webmail.uu.se"
type="cite">Hi again,
<br>
<br>
Thank very much Derek! I have resolved the problem.
<br>
<br>
Just to make our conversation useful for others I am writing the
steps in a sequence.
<br>
<br>
Problem
<br>
------------
<br>
Cannot start the glance-registry, give following message,
<br>
openstack-glance-registry dead but pid file exists
<br>
<br>
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.
<br>
<br>
Solution
<br>
-------------
<br>
<br>
1 - Used glance-registry tool to run the registry rather than
running as a service.
<br>
-bash-4.1$ sudo glance-registry --config-file
/etc/glance/glance-registry.conf --debug --verbose
<br>
[sudo] password for stoor:
<br>
/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().
<br>
Pool.__init__(self, creator, **kw)
<br>
</blockquote>
This warning shows up because the event listener change its
behavior, Where we can fix this?<br>
It would be nice to work on it <br>
<blockquote cite="mid:20120920131856.2636793yderppbj4@webmail.uu.se"
type="cite">/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()
<br>
self.add_listener(l)
<br>
<br>
and leave the terminal open.
<br>
<br>
2 - Open a new terminal, run the commands mentioned in the manual
to verify Image Service installation. it will work fine.
<br>
<br>
------------
<br>
<br>
Conclusion: Run the glance-registry service manually.
<br>
<br>
Note: Don't forget to run the glance-api as a normal service
<br>
-bash-4.1$ sudo /etc/init.d/openstack-glance-api start
<br>
Starting openstack-glance-api: [ OK
]
<br>
<br>
Once again thanks to Derek Higgins. :-)
<br>
<br>
Regards..
<br>
Salman.
<br>
<br>
<br>
Quoting Derek Higgins <a class="moz-txt-link-rfc2396E" href="mailto:derekh@redhat.com"><derekh@redhat.com></a>:
<br>
<br>
<blockquote type="cite">On 09/20/2012 11:41 AM, Salman Toor wrote:
<br>
<blockquote type="cite">Hi Derek,
<br>
<br>
Thanks for giving the starting point!
<br>
<br>
It seems something wrong when it tries to work with DATABASE
or
<br>
<br>
it just hangs on some listener ...
<br>
<br>
-bash-4.1$ sudo glance-registry --config-file
<br>
/etc/glance/glance-registry.conf --debug --verbose
<br>
/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:683:
<br>
SADeprecationWarning: The 'listeners' argument to Pool (a nd
<br>
create_engine()) is deprecated. Use event.listen().
<br>
Pool.__init__(self, creator, **kw)
<br>
/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:159:
<br>
SADeprecationWarning: Pool.add_listener is deprecated. U se
event.listen()
<br>
self.add_listener(l)
<br>
<br>
Something wrong in the code or my configurations are bad... ?
<br>
</blockquote>
<br>
Those Deprecation warnings can be ignored, if its just sitting
there not
<br>
out putting anything then it should be running, try a glance
index.
<br>
<br>
If this works, try running it as the user "glance"
<br>
<br>
Derek.
<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
_______________________________________________
<br>
OpenStack-operators mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
<br>
<br>
10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
INFORMATICAS...
<br>
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.uci.cu">http://www.uci.cu</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.facebook.com/universidad.uci">http://www.facebook.com/universidad.uci</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.flickr.com/photos/universidad_uci">http://www.flickr.com/photos/universidad_uci</a>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta charset="utf-8">
<meta name="language" content="en">
<article>
<p>
Marcos Luis Ortíz Valmaseda<br>
<strong>Data Engineer && Sr. System Administrator at
UCI</strong><br>
<a href="http://about.me/marcosortiz">about.me/marcosortiz</a><br>
<a href="http://marcosluis2186.posterous.com">My Blog</a><br>
<a href="http://marcosortiz.tumblr.com/">Tumblr's blog</a><br>
<a href="http://twitter.com/marcosluis2186">@marcosluis2186</a>
<br>
</p>
</article>
</div>
<br>
<html>
<body>
<a href="http://www.uci.cu/">
<img src="http://universidad.uci.cu/email.gif"/>
</body>
</html>
<br>
</body>
</html>