Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to create instances

HI,

I am new to the openstack and trying to configure it. while i am trying to create an instance from UI getting error like below. please help me to sort out this issue.

    2015-02-20 15:41:55.488 2505 INFO nova.osapi_compute.wsgi.server [req-841288c6-9af2-481c-8589-6c3077d6f35b None] 192.168.10.171 "GET /v2/53eb9d4a31e345b798d8e17830cdb2a4/servers/detail?project_id=53eb9d4a31e345b798d8e17830cdb2a4 HTTP/1.1" status: 200 len: 187 time: 0.0304770
2015-02-20 15:41:55.550 2505 INFO nova.osapi_compute.wsgi.server [req-ded3a9ea-8616-426e-a26b-dc7755c223bf None] 192.168.10.171 "GET /v2/53eb9d4a31e345b798d8e17830cdb2a4/os-keypairs HTTP/1.1" status: 200 len: 188 time: 0.0061719
2015-02-20 15:41:55.737 2505 ERROR nova.api.openstack [req-c0efe2ad-dbf4-4e5f-b84a-22a553da209b None] Caught error: No networks defined.
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
    return getattr(target, method)(context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
    result = fn(cls, context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 229, in get_by_uuids
    project_only)

  File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 988, in network_get_all_by_uuids
    project_only=project_only)

  File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 143, in wrapper
    return f(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2693, in network_get_all_by_uuids
    raise exception.NoNetworksFound()

NoNetworksFound: No networks defined.

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
    incoming.message))

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)

  File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1493, in validate_networks
    self._get_networks_by_uuids(context, network_uuids)

  File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1519, in _get_networks_by_uuids
    context, network_uuids, project_only="allow_none")

  File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 153, in wrapper
    args, kwargs)

  File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 346, in object_class_action
    objver=objver, args=args, kwargs=kwargs)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
    retry=self.retry)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
    timeout=timeout, retry=retry)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
    retry=retry)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
    raise result

NoNetworksFound_Remote: No networks defined.
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
    return getattr(target, method)(context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
    result = fn(cls, context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 229, in get_by_uuids
    project_only)

  File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 988, in network_get_all_by_uuids
    project_only=project_only)

  File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 143, in wrapper
    return f(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2693, in network_get_all_by_uuids
    raise exception.NoNetworksFound()

NoNetworksFound: No networks defined.

2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack Traceback (most recent call last):
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 124, in __call__
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack     return req.get_response(self.application)
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack     application, catch_exc_info=False)
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2015-02-20 15:41:55.737 2505 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__