[openstack-dev] [Nova] nova-api won't start in devstack
Noorul Islam K M
noorul at noorul.com
Wed Aug 7 01:35:37 UTC 2013
Edgar Magana <emagana at plumgrid.com> writes:
> I found the problem:
> python-boto and python-cmd2 had the wrong version.
>
> I have already installed those libraries.
Remove them, they are installed using pip (at least python-cmd2) I
believe.
Thanks and Regards
Noorul
>
> Cheers,
>
> Edgar
>
> From: Edgar Magana <emagana at plumgrid.com>
> Date: Tuesday, August 6, 2013 11:33 AM
> To: OpenStack List <openstack-dev at lists.openstack.org>
> Subject: [Nova] nova-api won't start in devstack
>
> I just downloaded devstack and I am getting this error:
>
> 2013-08-06 11:28:28.938 TRACE nova Traceback (most recent call last):
> 2013-08-06 11:28:28.938 TRACE nova File "/usr/local/bin/nova-api", line
> 10, in <module>
> 2013-08-06 11:28:28.938 TRACE nova sys.exit(main())
> 2013-08-06 11:28:28.938 TRACE nova File "/opt/stack/nova/nova/cmd/api.py",
> line 51, in main
> 2013-08-06 11:28:28.938 TRACE nova server = service.WSGIService(api,
> use_ssl=should_use_ssl)
> 2013-08-06 11:28:28.938 TRACE nova File "/opt/stack/nova/nova/service.py",
> line 311, in __init__
> 2013-08-06 11:28:28.938 TRACE nova self.app = self.loader.load_app(name)
> 2013-08-06 11:28:28.938 TRACE nova File "/opt/stack/nova/nova/wsgi.py",
> line 488, in load_app
> 2013-08-06 11:28:28.938 TRACE nova return deploy.loadapp("config:%s" %
> self.config_path, name=name)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in
> loadapp
> 2013-08-06 11:28:28.938 TRACE nova return loadobj(APP, uri, name=name,
> **kw)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in
> loadobj
> 2013-08-06 11:28:28.938 TRACE nova return context.create()
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
> create
> 2013-08-06 11:28:28.938 TRACE nova return self.object_type.invoke(self)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in
> invoke
> 2013-08-06 11:28:28.938 TRACE nova **context.local_conf)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
> fix_call
> 2013-08-06 11:28:28.938 TRACE nova val = callable(*args, **kw)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/opt/stack/nova/nova/api/openstack/urlmap.py", line 160, in urlmap_factory
> 2013-08-06 11:28:28.938 TRACE nova app = loader.get_app(app_name,
> global_conf=global_conf)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in
> get_app
> 2013-08-06 11:28:28.938 TRACE nova name=name,
> global_conf=global_conf).create()
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
> create
> 2013-08-06 11:28:28.938 TRACE nova return self.object_type.invoke(self)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in
> invoke
> 2013-08-06 11:28:28.938 TRACE nova **context.local_conf)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
> fix_call
> 2013-08-06 11:28:28.938 TRACE nova val = callable(*args, **kw)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/opt/stack/nova/nova/api/auth.py", line 59, in pipeline_factory
> 2013-08-06 11:28:28.938 TRACE nova app = loader.get_app(pipeline[-1])
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in
> get_app
> 2013-08-06 11:28:28.938 TRACE nova name=name,
> global_conf=global_conf).create()
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
> create
> 2013-08-06 11:28:28.938 TRACE nova return self.object_type.invoke(self)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in
> invoke
> 2013-08-06 11:28:28.938 TRACE nova return fix_call(context.object,
> context.global_conf, **context.local_conf)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
> fix_call
> 2013-08-06 11:28:28.938 TRACE nova val = callable(*args, **kw)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/opt/stack/nova/nova/api/openstack/__init__.py", line 251, in factory
> 2013-08-06 11:28:28.938 TRACE nova return cls()
> 2013-08-06 11:28:28.938 TRACE nova File
> "/opt/stack/nova/nova/api/openstack/compute/__init__.py", line 141, in
> __init__
> 2013-08-06 11:28:28.938 TRACE nova super(APIRouterV3,
> self).__init__(init_only)
> 2013-08-06 11:28:28.938 TRACE nova File
> "/opt/stack/nova/nova/api/openstack/__init__.py", line 323, in __init__
> 2013-08-06 11:28:28.938 TRACE nova missing_apis=missing_core_extensions)
> 2013-08-06 11:28:28.938 TRACE nova CoreAPIMissing: Core API extensions are
> missing: set(['flavors', 'limits', 'consoles', 'servers', 'ips',
> 'server-metadata', 'extensions'])
> 2013-08-06 11:28:28.938 TRACE nova
> 2013-08-06 11:28:28.999 INFO nova.openstack.common.service [-] Parent
> process has died unexpectedly, exiting
> 2013-08-06 11:28:28.999 INFO nova.wsgi [-] Stopping WSGI server.
>
> My localrc is:
> disable_service n-net
> enable_service q-svc
> enable_service q-agt
> enable_service q-dhcp
> enable_service q-l3
> enable_service q-meta
> enable_service neutron
> disable_service tempest
> Q_PLUGIN=linuxbridge
> DATABASE_PASSWORD=nova
> RABBIT_PASSWORD=nova
> SERVICE_TOKEN=nova
> SERVICE_PASSWORD=nova
> ADMIN_PASSWORD=nova
>
> Is devstack broken or something wrong in my dev environment?
>
> Thanks,
>
> Edgar
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list