Ask Your Question
0

Unable to create instances

asked 2015-02-20 04:24:52 -0500

Kumar M gravatar image

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 ...
(more)
edit retag flag offensive close merge delete

Comments

Hi ,

I am getting same error even the neutron net-list is showing the network in the output, so help me.

[root@controller nova(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=33f99e42-1497-4aea-86e4-a663698bfba5 cirros ERROR (NotFound): The resource could

ravindert gravatar imageravindert ( 2015-09-02 00:40:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-02-20 11:04:37 -0500

Hi kumar, It is clearly showing that no network was found.

so once check whether the network is created or not by using the command

#  nova net-list
edit flag offensive delete link more

Comments

No, the problem here (at least in my case): I can run a "nova net-list" and the private network is returned. Also, I only run into this error when I try and run the client from a remote machine. If I log on to the Nova node everything works fine. Also, all other nova cmds seem to work ok.

jgriffith gravatar imagejgriffith ( 2015-08-12 19:38:06 -0500 )edit

@jgriffith I am facing problem as you mentioned in previous comment. Did you find the solution to it?

rohanil gravatar imagerohanil ( 2016-11-22 01:39:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-20 04:22:14 -0500

Seen: 876 times

Last updated: Feb 20 '15