not able to create network with neutron

asked 2014-09-19 16:40:18 -0500

RedCricket gravatar image

It looks like neutron hangs on me for a long time then fails.

[root@my-stack-neutron1 ~]# neutron --debug net-create "myhiav-openstack-client-iv17" --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 17 --router:external=True
 DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', name=u'myhiav-openstack-client-iv17', prefix='', request_format='json', tenant_id=None, variables=[]))
 DEBUG: neutronclient.client
 REQ: curl -i https://my-stack-cloud.example.com:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "keystoneXXXXZZZZ"}}}'

 DEBUG: neutronclient.client RESP:{'date': 'Fri, 19 Sep 2014 19:32:25 GMT', 'vary': 'X-Auth-Token', 'content-length': '3326', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2014-09-19T19:32:25.735804", "expires": "2014-09-19T22:32:25Z", "id": "7f3891240e4444afaee3c90dd8a0684c", "tenant": {"description": "admin tenant", "enabled": true, "id": "6ee4443740374e119f035e2cc4229ddc", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "https://my-stack-cloud.example.com:8774/v2/6ee4443740374e119f035e2cc4229ddc", "region": "RegionOne", "internalURL": "https://my-stack-cloud.example.com:8774/v2/6ee4443740374e119f035e2cc4229ddc", "id": "3e826fc3714643968db91c9dc5192290", "publicURL": "https://my-stack-cloud.example.com:8774/v2/6ee4443740374e119f035e2cc4229ddc"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "https://my-stack-cloud.example.com:9696", "region": "RegionOne", "internalURL": "https://my-stack-cloud.example.com:9696", "id": "4087b3f0ba2249da8a887157a38b0ecd", "publicURL": "https://my-stack-cloud.example.com:9696"}], "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints": [{"adminURL": "https://my-stack-cloud.example.com:9292", "region": "RegionOne", "internalURL": "https://my-stack-cloud.example.com:9292", "id": "868fb57175ed4540aacdb0475e5a36d7", "publicURL": "https://my-stack-cloud.example.com:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "https://my-stack-cloud.example.com:8777", "region": "RegionOne", "internalURL": "https://my-stack-cloud.example.com:8777", "id": "37f968863cb247ce8d5d1f1e4fa3dd33", "publicURL": "https://my-stack-cloud.example.com:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "https://my-stack-cloud.example.com:8776/v1/6ee4443740374e119f035e2cc4229ddc", "region": "RegionOne", "internalURL": "https://my-stack-cloud.example.com:8776/v1/6ee4443740374e119f035e2cc4229ddc", "id": "14df05750efa4b57b8db80de2d70ff3b", "publicURL": "https://my-stack-cloud.example.com:8776/v1/6ee4443740374e119f035e2cc4229ddc"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://my-stack-cloud.example.com:8004/v1/6ee4443740374e119f035e2cc4229ddc", "region": "RegionOne", "internalURL": "http://my-stack-cloud.example.com:8004/v1/6ee4443740374e119f035e2cc4229ddc", "id": "778de417982e4d1291d0882830f66cc9", "publicURL": "http://my-stack-cloud.example.com:8004/v1/6ee4443740374e119f035e2cc4229ddc"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "https://my-cloud-1.example.com/swift/v1", "region": "RegionOne", "internalURL": "https://my-cloud-1.example.com/swift/v1", "id": "3b40cc92696d48fc93e0582c5f0b7c89", "publicURL": "https://my-cloud-1.example.com/swift/v1"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "https://my-stack-cloud.example.com:35357/v2.0", "region": "RegionOne", "internalURL": "https://my-stack-cloud.example.com:5000/v2.0", "id": "6c4acb325eac4bd4bfcd6ca9432e062d", "publicURL": "https://my-stack-cloud.example.com:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "a75e9cdc94bf4c60a2df34d6893cbb55", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["f93cc9fac4e1489d90cd94ae333c4967"]}}}

 DEBUG: neutronclient.client
 REQ: curl -i https://my-stack-cloud.example.com:9696/v2.0/networks.json -X POST -H "X-Auth-Token: 7f3891240e4444afaee3c90dd8a0684c" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"network": {"router:external": "True", "name": "myhiav-openstack-client-iv17", "provider:physical_network": "physnet1", "admin_state_up": true, "provider:network_type": "vlan", "provider:segmentation_id": "17"}}'

 DEBUG: neutronclient.client throwing ConnectionFailed :
 ERROR: neutronclient.shell Connection to neutron failed:
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 526, in run_subcommand
     return run_command(cmd, cmd_parser, sub_argv)
   File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 79, in run_command
     return ...
(more)
edit retag flag offensive close merge delete

Comments

Problems like this are almost completely impossible to debug using information provided by the client. You will need to investigate your server logs, and post any relevant errors here.

larsks gravatar imagelarsks ( 2014-09-20 14:25:15 -0500 )edit