[Openstack] can't run nova boot from command line (works from horizon)

JR botemout at gmail.com
Mon Feb 4 17:24:48 UTC 2013


Greetings,

I'm running a devstack test cluster (all in one on a single host), which
I've had up for days now.  Suddenly, I'm unable to run:

nova boot --image d5784c25-9d3f-4023-8dd2-785d14fe251a --flavor 1
--security-groups default  inst01

which returns
ERROR: The resource could not be found. (HTTP 404) (Request-ID:
req-cb2d2545-395c-4582-ab9a-e594d0c4606e)

I've looked at all the services which are started by devstack (and which
are put into a screen session) and they are all running. 

nova image-list and other nova commands work. I'm also able to use glance.

I see this output from nova-api:
2013-02-04 10:21:05.333 ERROR nova.api.openstack
[req-4d9b4140-cdbb-4beb-9df9-38594f7fc070 demo demo] Caught error: No
networks defined.
Traceback (most recent call last):

  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 276, in
_process_data
    rval = self.proxy.dispatch(ctxt, version, method, **args)

  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line
133, in dispatch
    return getattr(proxyobj, method)(ctxt, **kwargs)

  File "/opt/stack/nova/nova/network/manager.py", line 1845, in
validate_networks
    self._get_networks_by_uuids(context, network_uuids)

  File "/opt/stack/nova/nova/network/manager.py", line 1872, in
_get_networks_by_uuids
    project_only="allow_none")

  File "/opt/stack/nova/nova/db/api.py", line 865, in
network_get_all_by_uuids
    project_only=project_only)

  File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 134, in wrapper
    return f(*args, **kwargs)

  File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2206, in
network_get_all_by_uuids
    raise exception.NoNetworksFound()


Nothing has changed in the configuration of the environment.  Any ideas?

Thanks
JR





More information about the Openstack mailing list