[Openstack] 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,
Re: [Openstack] glance error......
It seems the error is related to sql_connection for your glance. On 12/03/2012 08:21 PM, Chris St wrote: 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
Re: [Openstack] glance error......
Hi Chris,what is the size of the image you are trying to upload ?Regards, Razique Mahroua-Nuage Corazique.mahr...@gmail.comTel: +33 9 72 37 94 15 Le 3 déc. 2012 à 13:21, Chris St cstli...@gmail.com a écrit :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 wait2012-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_children2012-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_server2012-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_app2012-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 loadapp2012-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 loadobj2012-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 create2012-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 invoke2012-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 create2012-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 invoke2012-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_call2012-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_factory2012-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_factory2012-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_app2012-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 create2012-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 invoke2012-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
Re: [Openstack] glance error......
I think the root cause should be the wrong sql_connection, too. Could you provide you nova.conf file? On Mon, Dec 3, 2012 at 10:55 PM, Razique Mahroua razique.mahr...@gmail.comwrote: Hi Chris, what is the size of the image you are trying to upload ? Regards, *Razique Mahroua** - **Nuage Co* razique.mahr...@gmail.com Tel : +33 9 72 37 94 15 Le 3 déc. 2012 à 13:21, Chris St cstli...@gmail.com a écrit : 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
[Openstack] [OpenStack][Glance] Error starting Glance
Hello all, I'm unable to start glance. I upgraded it from Essex to Folsom on ubuntu 12.04. It produces the following output: 2012-11-09 14:51:27 29928 DEBUG glance.common.config [-] Loading glance-api-keystone from /etc/glance/glance-api-paste.ini load_paste_app /usr/lib/python2.7/dist-packages/glance/common/config.py:185 ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini. Got: ImportError(module 'glance.common.wsgi' from '/usr/lib/python2.7/dist-packages/glance/common/wsgi.pyc' has no 'app_factory' attribute,) The file /etc/glance/glance-api-paste.ini exists and is the same as the one used before the upgrade. I'm following the details mentioned here[1] and none of them mention this particular error. [1] http://wiki.openstack.org/ReleaseNotes/Folsom Regards, Leander ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack][Glance] Error starting Glance
I've managed to fix the problem by replacing my old paste.ini files for glance-api and glance-registry with the ones provided with the packages. On Fri, Nov 9, 2012 at 2:55 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Hello all, I'm unable to start glance. I upgraded it from Essex to Folsom on ubuntu 12.04. It produces the following output: 2012-11-09 14:51:27 29928 DEBUG glance.common.config [-] Loading glance-api-keystone from /etc/glance/glance-api-paste.ini load_paste_app /usr/lib/python2.7/dist-packages/glance/common/config.py:185 ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini. Got: ImportError(module 'glance.common.wsgi' from '/usr/lib/python2.7/dist-packages/glance/common/wsgi.pyc' has no 'app_factory' attribute,) The file /etc/glance/glance-api-paste.ini exists and is the same as the one used before the upgrade. I'm following the details mentioned here[1] and none of them mention this particular error. [1] http://wiki.openstack.org/ReleaseNotes/Folsom Regards, Leander ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] glance error
Your glance-api server probably can't talk to your glance-registry server. Make sure glance-registry is running and that glance-api is correctly configured with its IP and port. On Aug 5, 2012, at 8:22 PM, 王鹏 breakwin...@gmail.com wrote: hello,everyone: when I over glance install and config ,and test glance index: root@openstack-controller:~# glance index Failed to show index. Got error: There was an error connecting to a server Details: [Errno 111] Connection refused about config I just change the token could you help me ? why this error happen? thank you. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] glance error
Hi http://www.chenshake.com/ubuntu-12-04-openstack-essex-installation-single-node/ if you glance and keystone in same machine, would have no any problem according to the document. On Mon, Aug 6, 2012 at 11:22 AM, 王鹏 breakwin...@gmail.com wrote: hello,everyone: when I over glance install and config ,and test glance index: root@openstack-controller:~# glance index Failed to show index. Got error: There was an error connecting to a server Details: [Errno 111] Connection refused about config I just change the token could you help me ? why this error happen? thank you. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Shake Chen ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Glance ERROR: NO 'app_factory' attribute
Hi,all Now I run *glance-manage db_sync* ,it shows *ERROR:error trying to load config /etc/glance/glance-registry.conf:module 'glance.common.wsgi' from '/usr/local/lib/python2.7/dist-packages/glance-2012.1-py2.7.egg/glance/common/wsgi.py' has no 'app_factory' **attribute.* * * I checked the version of glance, there seems to be no version named 2012.1 ??? Isn't it 2011.3-0ubuntu4.1 now?Thanks. Yours Jeff 2011/12/21 jeffrey coho jeffreycohob...@gmail.com Hi,jay, it still doesnt work.I have no idea now.Is the Glance server on your machine working correctly? Although now there is no error output when I run *glance-control api start --verbose --debug ,* but i still don't see glance-api running and no glance-api.log exists.Any idea?Thanks. Yours jeff 2011/12/17 Jay Pipes jaypi...@gmail.com cc'ing mailing list as this is generally useful and something I myself ran into last night when I grabbed the latest devstack and re-ran stack.sh... I found the solution was to remove all the old .pyc files, like so: cd $GLANCE_SRC_DIR find . -type f -name *.pyc -exec sudo rm -f {} \; And then restart Glance servers... Please let me know if that works for you as well. Thanks, -jay On Thu, Dec 15, 2011 at 10:39 PM, jeffrey coho jeffreycohob...@gmail.com wrote: Hi,Jay Thanks.I copied those to my config files,and restarted with glance-control .Anyway,it is still not working. port 9292 is still not listening.So what is the stable release of Glance now? and how can i get one?(i am using ubuntu11.10) Yours, jeff 2011/12/15 Jay Pipes jaypi...@gmail.com Yeah, I was worried we would run into these kinds of problems with a recent commit... Basically, do what Hugo suggested. We recently overhauled the configuration and paste deploy factories in Glance to align with the common cfg work being done in Nova and Glance. This means that the glance-api.conf and glance-registry.conf paste deploy sections need to be updated. You can see the changes needed by looking at this diff: https://review.openstack.org/#patch,sidebyside,2139,1,etc/glance-api.conf https://review.openstack.org/#patch,sidebyside,2139,1,etc/glance-cache.conf https://review.openstack.org/#patch,sidebyside,2139,1,etc/glance-registry.conf Ping us back if you have issues figuring out the needed changes. Thanks! -jay On Thu, Dec 15, 2011 at 8:28 AM, jeffrey coho jeffreycohob...@gmail.com wrote: Hi,all, Glance version i am running is 2012.1-dev. But glance-api can't be started(maybe this version is just unstable for now?).Here is some details: #sudo glance-api glance-api.conf --debug -v [1]27173 Error trying to load config /etc/glance/glance-api.conf:module 'glance.api.v1' from '/usr/local/lib/python2.7/dist-packages/glance-2012.1-py2.7.egg/glance/api/v1/__init__.pyc' has no 'app_factory' attribute Any ideas?Thanks very much. Yours, Jeff ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp