Ask Your Question
0

creating network

asked 2013-12-24 08:24:11 -0500

ygk gravatar image

updated 2013-12-27 13:49:43 -0500

smaffulli gravatar image

I have installed openstack on controller and compute nodes on centos machines. while creating networks for use by the VMs on the controller node, I am seeing these errors.

nova --debug network-create vmnet --fixed-range-v4=20.0.0.0/24 --bridge-interface=br100 --multi-host=T

REQ: curl -i http://controller:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "ADMIN_PASS"}}}'
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:295) "POST /v2.0/tokens HTTP/1.1" 200 3822
RESP: [200] {'date': 'Tue, 24 Dec 2013 14:04:28 GMT', 'content-type': 'application/json', 'content-length': '3822', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2013-12-24T14:04:28.437813", "expires": "2013-12-25T14:04:28Z", "id": "...", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "01fc5697da1b4970ae785fdfe5300ae3", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "319e4a81c0bd48a9a54cf5b8cee23720", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8774/v2/01fc5697da1b4970ae785fdfe5300ae3", "region": "regionOne", "internalURL": "http://controller:8774/v2/01fc5697da1b4970ae785fdfe5300ae3", "id": "5b8d87a88c604735a21636f53b75219e", "publicURL": "http://controller:8774/v2/01fc5697da1b4970ae785fdfe5300ae3"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "3d74141a6932436ab8d3cdecd3c8eea4", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "75515c357bed4240b26ac7b3cfa364d7", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["5286d6fb2ba2472f8c8a66a078202065"]}}}
REQ: curl -i http://controller:8774/v2/01fc5697da1b4970ae785fdfe5300ae3/os-networks -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: ..." -d '{"network": {"cidr": "20.0.0.0/24", "bridge_interface": "br100", "multi_host": true, "label": "vmnet"}}'
INFO (connectionpool:203) Starting new HTTP connection (1): controller

The command stays here at this point for some time and an error is thrown out..

  ERROR: The server has either erred or is incapable of---------------

I am using nova networking. These are the network logs from compute node. Previous errors I pasted before are nova scheduler logs from controller node:

2013-12-25 21:21:28.252 1479 TRACE nova.openstack.common.rpc.amqp exc.info, real_topic, msg.get('method')) 
2013-12-25 21:21:28.252 1479 TRACE nova.openstack.common.rpc.amqp Timeout: Timeout while waiting on RPC response - topic: "network.controller", RPC method: "_rpc_allocate_fixed_ip" info: "<unknown>" 
2013-12-25 21:21:28.252 1479 TRACE nova.openstack.common.rpc.amqp 
2013-12-25 21:21:28.255 1479 ERROR nova.openstack.common.rpc.common [req-4593e7e7-6d57-4f80-84b1-69d3219fca5b 75515c357bed4240b26ac7b3cfa364d7 01fc5697da1b4970ae785fdfe5300ae3] Returning exception Timeout while waiting on RPC response - topic: "network.controller", RPC method: "_rpc_allocate_fixed_ip" info: "<unknown>" to caller 
2013-12-25 21:21:28.256 1479 ERROR nova.openstack.common.rpc.common [req-4593e7e7-6d57-4f80-84b1-69d3219fca5b 75515c357bed4240b26ac7b3cfa364d7 01fc5697da1b4970ae785fdfe5300ae3] 
['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data\n **args)\n', ' File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/network/floating_ips.py", line 118, in ...
(more)
edit retag flag offensive close merge delete

Comments

I don't see any errors here. These all look like normal status messages.

larsks gravatar imagelarsks ( 2013-12-24 08:38:35 -0500 )edit

The command stays here at this point for some time and an error is thrown out.. ----------------------- ERROR: The server has either erred or is incapable of---------------

ygk gravatar imageygk ( 2013-12-25 23:29:15 -0500 )edit

There should be some logs in compute and network logs. Can you check that ? I'm assuming that you are using the nova-network.

dheeru gravatar imagedheeru ( 2013-12-26 01:46:06 -0500 )edit

something is happening at the time of spawning that the assignment of network to the VM fails.

ygk gravatar imageygk ( 2013-12-26 07:52:46 -0500 )edit

where are you running this command ? Is it on controller or compute node ? Hope you are running the above command on controller. There could be potential issue the RabbitMQ as well. Also can share your nova.conf ? Better you paste configuration in pastebin

dheeru gravatar imagedheeru ( 2013-12-26 11:51:33 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-27 13:52:17 -0500

smaffulli gravatar image

Search the error on this site, there are many discussions around the error you reported. This question in particular has accepted asnwers: https://ask.openstack.org/en/question/6226/error-deploying-vms-in-havana-timeout-while-waiting-on-rpc-response/

edit flag offensive delete link more

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: 2013-12-24 08:24:11 -0500

Seen: 290 times

Last updated: Dec 27 '13