Nova prvisioning fails when i attach 2 ports
Bug #1168247 reported by
Ritesh Shetty
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I am facing an issue. If i send in 2 ports(created from 2 subnets) during provisioning then it fails but works with 1 port.
Is this a bug or my paylaod is incorect. Since Rory faced issue with cli i am assuming my rest payload is ok
This is the rest paylaod.
{ "server" : { "name" : "loadbalancer-
"networks" : [
{ "port" : "5dae5598-
{ "port" : "013d75e0-
}}
To post a comment you must log in.
This is repeatable with cli also
ritesh@ vcloudgrizzly: /opt/stack/ logs/screen$ nova --debug boot --image d892d16d- fbbf-4e0e- 9ee8-4c8a496833 e7 --num-instances 2 --key-name riteshkeypair --flavor 1 riteshtest --nic port-id= 599b64a9- 9ad7-4720- ad22-3b16033f1a 50 --nic port-id= f15122b9- 40eb-44f0- b5e0-8eb0502072 e6
INFO (connectionpool :191) Starting new HTTP connection (1): 192.168.124.28 :283) "POST http:// 192.168. 124.28: 8774/v2/ 02db3d5031e74cd 9a78a11ee168446 93/servers HTTP/1.1" 500 128 request- id': 'req-26ca1126- aae8-4bf3- 8e6c-24d3c9e241 77'}
DEBUG (connectionpool
RESP: [500] {'date': 'Fri, 12 Apr 2013 23:51:28 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
DEBUG (shell:768) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-26ca1126- aae8-4bf3- 8e6c-24d3c9e241 77) python- novaclient/ novaclient/ shell.py" , line 765, in main mputeShell( ).main( map(strutils. safe_decode, sys.argv[1:])) python- novaclient/ novaclient/ shell.py" , line 701, in main func(self. cs, args) python- novaclient/ novaclient/ v1_1/shell. py", line 282, in do_boot create( *boot_args, **boot_kwargs) python- novaclient/ novaclient/ v1_1/servers. py", line 600, in create python- novaclient/ novaclient/ v1_1/base. py", line 163, in _boot raw=return_ raw, **kwargs) python- novaclient/ novaclient/ base.py" , line 145, in _create client. post(url, body=body) python- novaclient/ novaclient/ client. py", line 233, in post request( url, 'POST', **kwargs) python- novaclient/ novaclient/ client. py", line 217, in _cs_request python- novaclient/ novaclient/ client. py", line 199, in _time_request python- novaclient/ novaclient/ client. py", line 193, in request from_response( resp, body, url, method) aae8-4bf3- 8e6c-24d3c9e241 77) aae8-4bf3- 8e6c-24d3c9e241 77)
Traceback (most recent call last):
File "/opt/stack/
OpenStackCo
File "/opt/stack/
args.
File "/opt/stack/
server = cs.servers.
File "/opt/stack/
**boot_kwargs)
File "/opt/stack/
return_
File "/opt/stack/
_resp, body = self.api.
File "/opt/stack/
return self._cs_
File "/opt/stack/
**kwargs)
File "/opt/stack/
resp, body = self.request(url, method, **kwargs)
File "/opt/stack/
raise exceptions.
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-26ca1126-
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-26ca1126-