yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05115
[Bug 1230211] Re: nova net-create failed
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1230211
Title:
nova net-create failed
Status in OpenStack Compute (Nova):
Invalid
Bug description:
Run command "nova --debug --insecure net-create net5 10.10.5.0/24" to create a new network.
Get error:
DEBUG (shell:737) Create networks failed (HTTP 503) (Request-ID: req-9092ef58-1ed0-41fe-8c01-f3a721df9f70)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 734, in main
OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 670, in main
args.func(self.cs, args)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/tenant_networks.py", line 68, in do_net_create
network = cs.tenant_networks.create(args.label, args.cidr)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/tenant_networks.py", line 39, in create
return self._create('/os-tenant-networks', body, 'network')
File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 144, in _create
_resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 232, in post
return self._cs_request(url, 'POST', **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 213, in _cs_request
**kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 195, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 189, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: Create networks failed (HTTP 503) (Request-ID: req-9092ef58-1ed0-41fe-8c01-f3a721df9f70)
ERROR: Create networks failed (HTTP 503) (Request-ID: req-9092ef58-1ed0-41fe-8c01-f3a721df9f70)
api.log shows the error:
2013-09-25 05:39:43.574 8125 DEBUG nova.api.openstack.wsgi [req-9092ef58-1ed0-41fe-8c01-f3a721df9f70 aadbeb6588a54753a2e70db4719eee57 4e8da11ef9634e368ec44ce24df59b5f] Action: 'create', body: {"network": {"cidr": "10.10.5.0/24", "label": "net5"}} _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:935
2013-09-25 05:39:43.576 8125 DEBUG nova.api.openstack.wsgi [req-9092ef58-1ed0-41fe-8c01-f3a721df9f70 aadbeb6588a54753a2e70db4719eee57 4e8da11ef9634e368ec44ce24df59b5f] Calling method <bound method NetworkController.create of <nova.api.openstack.compute.contrib.os_tenant_networks.NetworkController object at 0x361f210>> _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:936
2013-09-25 05:39:43.578 8125 ERROR nova.api.openstack.compute.contrib.os_tenant_networks [req-9092ef58-1ed0-41fe-8c01-f3a721df9f70 aadbeb6588a54753a2e70db4719eee57 4e8da11ef9634e368ec44ce24df59b5f] Create networks failed
2013-09-25 05:39:43.578 8125 TRACE nova.api.openstack.compute.contrib.os_tenant_networks Traceback (most recent call last):
2013-09-25 05:39:43.578 8125 TRACE nova.api.openstack.compute.contrib.os_tenant_networks File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/contrib/os_tenant_networks.py", line 180, in create
2013-09-25 05:39:43.578 8125 TRACE nova.api.openstack.compute.contrib.os_tenant_networks networks = self.network_api.create(context,
2013-09-25 05:39:43.578 8125 TRACE nova.api.openstack.compute.contrib.os_tenant_networks AttributeError: 'API' object has no attribute 'create'
2013-09-25 05:39:43.578 8125 TRACE nova.api.openstack.compute.contrib.os_tenant_networks
2013-09-25 05:39:43.579 8125 INFO nova.api.openstack.wsgi [req-9092ef58-1ed0-41fe-8c01-f3a721df9f70 aadbeb6588a54753a2e70db4719eee57 4e8da11ef9634e368ec44ce24df59b5f] HTTP exception thrown: Create networks failed
2013-09-25 05:39:43.580 8125 DEBUG nova.api.openstack.wsgi [req-9092ef58-1ed0-41fe-8c01-f3a721df9f70 aadbeb6588a54753a2e70db4719eee57 4e8da11ef9634e368ec44ce24df59b5f] Returning 503 to user: Create networks failed __call__ /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:1198
2013-09-25 05:39:43.583 8125 INFO nova.osapi_compute.wsgi.server [req-9092ef58-1ed0-41fe-8c01-f3a721df9f70 aadbeb6588a54753a2e70db4719eee57 4e8da11ef9634e368ec44ce24df59b5f] 10.7.0.151 "POST /v2/4e8da11ef9634e368ec44ce24df59b5f/os-tenant-networks HTTP/1.1" status: 503 len: 278 time: 0.2086170
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1230211/+subscriptions