← Back to team overview

openstack team mailing list archive

glance error......

 

Hello,

I am a newbie in Openstack and I try to get a "first overview". For my
overview I want to install and implement OpenStack.
I have installed two CentOS Server (Version 6.3) with all actual updates.
For the installation I followed the documentation for the
Fedora/RHEL/CentOS here:

http://docs.openstack.org/folsom/openstack-compute/install/yum/content/

Now I have a problem after the glance installation, but couldn't figure out
why this error happens or what's the problem. I am at the point were I try
to upload a Image (
http://docs.openstack.org/folsom/openstack-compute/install/yum/content/images-verifying-install.html
).

When I try to do this after a long time period I run into a timeout.

The api.log gives me this errors:
2012-12-03 13:16:53 18450 TRACE glance Traceback (most recent call last):
2012-12-03 13:16:53 18450 TRACE glance   File "/usr/bin/glance-api", line
57, in <module>
2012-12-03 13:16:53 18450 TRACE glance     server.wait()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 241, in wait
2012-12-03 13:16:53 18450 TRACE glance     self.wait_on_children()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 226, in
wait_on_children
2012-12-03 13:16:53 18450 TRACE glance     self.run_child()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 256, in
run_child
2012-12-03 13:16:53 18450 TRACE glance     self.run_server()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 275, in
run_server
2012-12-03 13:16:53 18450 TRACE glance     eventlet.wsgi.server(self.sock,
self.app_func(),
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/common/config.py", line 186, in
load_paste_app
2012-12-03 13:16:53 18450 TRACE glance     app = deploy.loadapp("config:%s"
% conf_file, name=app_name)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 247, in loadapp
2012-12-03 13:16:53 18450 TRACE glance     return loadobj(APP, uri,
name=name, **kw)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 272, in loadobj
2012-12-03 13:16:53 18450 TRACE glance     return context.create()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 710, in create
2012-12-03 13:16:53 18450 TRACE glance     return
self.object_type.invoke(self)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 203, in invoke
2012-12-03 13:16:53 18450 TRACE glance     app =
context.app_context.create()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 710, in create
2012-12-03 13:16:53 18450 TRACE glance     return
self.object_type.invoke(self)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 144, in invoke
2012-12-03 13:16:53 18450 TRACE glance     **context.local_conf)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py",
line 56, in fix_call
2012-12-03 13:16:53 18450 TRACE glance     val = callable(*args, **kw)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/api/__init__.py", line 31, in
root_app_factory
2012-12-03 13:16:53 18450 TRACE glance     return
paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in
urlmap_factory
2012-12-03 13:16:53 18450 TRACE glance     app = loader.get_app(app_name,
global_conf=global_conf)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 350, in get_app
2012-12-03 13:16:53 18450 TRACE glance     name=name,
global_conf=global_conf).create()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 710, in create
2012-12-03 13:16:53 18450 TRACE glance     return
self.object_type.invoke(self)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 146, in invoke
2012-12-03 13:16:53 18450 TRACE glance     return fix_call(context.object,
context.global_conf, **context.local_conf)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py",
line 56, in fix_call
2012-12-03 13:16:53 18450 TRACE glance     val = callable(*args, **kw)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/common/wsgi.py", line 402, in
factory
2012-12-03 13:16:53 18450 TRACE glance     return cls(routes.Mapper())
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/api/v2/router.py", line 42, in
__init__
2012-12-03 13:16:53 18450 TRACE glance     images_resource =
images.create_resource(custom_image_properties)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/api/v2/images.py", line 731, in
create_resource
2012-12-03 13:16:53 18450 TRACE glance     controller = ImagesController()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/api/v2/images.py", line 47, in
__init__
2012-12-03 13:16:53 18450 TRACE glance     self.db_api.configure_db()
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib/python2.6/site-packages/glance/db/sqlalchemy/api.py", line 94, in
configure_db
2012-12-03 13:16:53 18450 TRACE glance     connection_dict =
sqlalchemy.engine.url.make_url(sql_connection)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/url.py",
line 178, in make_url
2012-12-03 13:16:53 18450 TRACE glance     return
_parse_rfc1738_args(name_or_url)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/url.py",
line 216, in _parse_rfc1738_args
2012-12-03 13:16:53 18450 TRACE glance     return URL(name, **components)
2012-12-03 13:16:53 18450 TRACE glance   File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/url.py",
line 56, in __init__
2012-12-03 13:16:53 18450 TRACE glance     self.port = int(port)
2012-12-03 13:16:53 18450 TRACE glance ValueError: invalid literal for
int() with base 10: 'glance'
2012-12-03 13:16:53 18450 TRACE glance
2012-12-03 13:16:53 26986 ERROR eventlet.wsgi.server [-] Removing dead
child 18450
2012-12-03 13:16:53 18452 DEBUG glance.common.config [-] Loading
glance-api-keystone from /etc/glance/glance-api-paste.ini load_paste_app
/usr/lib/python2.6/site-packages/glance/common/config.py:184
2012-12-03 13:16:54 18452 CRITICAL glance [-] invalid literal for int()
with base 10: 'glance'

This messages repeats frequently.

The registry logs doesn't show any error or problem.

I searched for the error but didn't get a "solution" for my problem.

Do you need more information?

Any hints about the problem?

regards
Chris

Follow ups