I only get this with cinder v2, any ideas?
><> nathan stratton On Mon, Apr 25, 2016 at 7:53 PM, Nathan Stratton <nat...@robotics.net> wrote: > I just upgraded to RDO Kilo and no longer can boot volumes. I never see > anything hit cinder, so I think the issue is inside of nova. I have been > banging my head on this one all day, would love any help anyone can provide. > > [root@openstack nova(keystone)]# nova --debug boot --flavor 2 > --boot-volume 5c69b767-5c35-4acf-984f-5a6c3b3ddac8 dns2 --nic > net-id=b2324538-26ee-4d06-bccd-0ef2f6778f6b,v4-fixed-ip=10.71.0.130 --nic > net-id=38353702-811a-42a0-9d90-10a6019d22a7,v4-fixed-ip=50.205.128.46 > --availability-zone nova:virt05b.broadsoftlabs.net > DEBUG (session:195) REQ: curl -g -i -X GET http://10.71.0.218:5000/v2.0/ > -H "Accept: application/json" -H "User-Agent: python-keystoneclient" > INFO (connectionpool:213) Starting new HTTP connection (1): 10.71.0.218 > DEBUG (connectionpool:393) "GET /v2.0/ HTTP/1.1" 200 337 > DEBUG (session:224) RESP: [200] Content-Length: 337 Vary: X-Auth-Token > Connection: keep-alive Date: Mon, 25 Apr 2016 23:47:45 GMT Content-Type: > application/json X-Openstack-Request-Id: > req-ff89e645-514c-4c13-b2cb-4f383d93d4ce > RESP BODY: {"version": {"status": "stable", "updated": > "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", > "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", > "links": [{"href": "http://10.71.0.218:5000/v2.0/", "rel": "self"}, > {"href": "http://docs.openstack.org/", "type": "text/html", "rel": > "describedby"}]}} > > DEBUG (v2:76) Making authentication request to > http://10.71.0.218:5000/v2.0/tokens > DEBUG (connectionpool:393) "POST /v2.0/tokens HTTP/1.1" 200 3070 > DEBUG (session:195) REQ: curl -g -i -X GET > http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/2 -H > "User-Agent: python-novaclient" -H "Accept: application/json" -H > "X-Auth-Token: {SHA1}5804468e0111677dc7e4165fecfa44f4c9e88994" > INFO (connectionpool:213) Starting new HTTP connection (1): 10.71.0.218 > DEBUG (connectionpool:393) "GET > /v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/2 HTTP/1.1" 200 423 > DEBUG (session:224) RESP: [200] Date: Mon, 25 Apr 2016 23:47:46 GMT > Connection: keep-alive Content-Type: application/json Content-Length: 423 > X-Compute-Request-Id: req-4bf327b3-9b03-4437-bd18-3e799b6d69f0 > RESP BODY: {"flavor": {"name": "m1.small", "links": [{"href": " > http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/2", > "rel": "self"}, {"href": " > http://10.71.0.218:8774/0ebcdedac0a3480ca81050bfedd97cf1/flavors/2", > "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false, > "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": > 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 32, "id": "2"}} > > DEBUG (session:195) REQ: curl -g -i -X POST > http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/os-volumes_boot > -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H > "Accept: application/json" -H "X-Auth-Token: > {SHA1}5804468e0111677dc7e4165fecfa44f4c9e88994" -d '{"server": {"name": > "dns2", "imageRef": "", "availability_zone": "nova: > virt05b.broadsoftlabs.net", "block_device_mapping_v2": [{"source_type": > "volume", "delete_on_termination": false, "boot_index": 0, "uuid": > "5c69b767-5c35-4acf-984f-5a6c3b3ddac8", "destination_type": "volume"}], > "flavorRef": "2", "max_count": 1, "min_count": 1, "networks": [{"fixed_ip": > "10.71.0.130", "uuid": "b2324538-26ee-4d06-bccd-0ef2f6778f6b"}, > {"fixed_ip": "50.205.128.46", "uuid": > "38353702-811a-42a0-9d90-10a6019d22a7"}]}}' > DEBUG (connectionpool:393) "POST > /v2/0ebcdedac0a3480ca81050bfedd97cf1/os-volumes_boot HTTP/1.1" 400 135 > DEBUG (session:224) RESP: > DEBUG (shell:914) Block Device Mapping is Invalid: failed to get volume > 5c69b767-5c35-4acf-984f-5a6c3b3ddac8. (HTTP 400) (Request-ID: > req-a7974c64-fbd6-49de-a34b-ea2e3672cd67) > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 911, > in main > OpenStackComputeShell().main(argv) > File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 838, > in main > args.func(self.cs, args) > File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line > 500, in do_boot > server = cs.servers.create(*boot_args, **boot_kwargs) > File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line > 900, in create > **boot_kwargs) > File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line > 523, in _boot > return_raw=return_raw, **kwargs) > File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 161, in > _create > _resp, body = self.api.client.post(url, body=body) > File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line > 176, in post > return self.request(url, 'POST', **kwargs) > File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 96, > in request > raise exceptions.from_response(resp, body, url, method) > BadRequest: Block Device Mapping is Invalid: failed to get volume > 5c69b767-5c35-4acf-984f-5a6c3b3ddac8. (HTTP 400) (Request-ID: > req-a7974c64-fbd6-49de-a34b-ea2e3672cd67) > ERROR (BadRequest): Block Device Mapping is Invalid: failed to get volume > 5c69b767-5c35-4acf-984f-5a6c3b3ddac8. (HTTP 400) (Request-ID: > req-a7974c64-fbd6-49de-a34b-ea2e3672cd67) > > ><> > nathan stratton >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev