[openstack-dev] Fwd: ERROR (BadRequest): Block Device Mapping is Invalid: failed to get volume

Nathan Stratton nathan at robotics.net
Wed May 27 18:02:34 UTC 2015


Upgraded to Juno and now can't nova boot:
[root at openstack nova(keystone)]# nova boot --flavor 3 --boot-volume
a9f8f997-bc87-4f39-9f9f-0b41169a0256 radius --nic
net-id=b2324538-26ee-4d06-bccd-0ef2f6778f6b,v4-fixed-ip=10.71.0.161
ERROR (BadRequest): Block Device Mapping is Invalid: failed to get volume
a9f8f997-bc87-4f39-9f9f-0b41169a0256. (HTTP 400) (Request-ID:
req-cdcef902-c033-46c1-a211-2df8599b7583)


I don't see anything in cinder logs, but nova-api.log:
 2015-05-21 14:47:19.904 3132 DEBUG keystoneclient.session [-] REQ: curl -i
-X GET http://127.0.0.1:35357/v2.0/tokens/898f85bc891c48f296da114288c023db
-H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H
"X-Auth-Token: TOKEN_REDACTED" _http_log_request
/usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2015-05-21 14:47:19.917 3132 DEBUG keystoneclient.session [-] RESP: [200]
{'date': 'Thu, 21 May 2015 18:47:19 GMT', 'content-type':
'application/json', 'content-length': '3080', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2015-05-21T18:47:19.889187",
"expires": "2015-05-21T19:47:19Z", "id":
"898f85bc891c48f296da114288c023db", "tenant": {"enabled": true, "id":
"0ebcdedac0a3480ca81050bfedd97cf1",
 "name": "BroadSoft Labs", "description": "BroadSoft Labs Systems"},
"audit_ids": ["myz_O6fxQqOlLXFgwZ4SZg"]}, "serviceCatalog":
[{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8774/v2/0ebcdedac0a34
80ca81050bfedd97cf1", "region": "RegionOne", "publicURL": "
http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1", "id":
"965990191c7d4fcdb95575dd2e504233", "internalURL": "
http://10.71.0.218:8774/v2/0ebcdedac0a3480c
a81050bfedd97cf1"}], "type": "compute", "name": "nova"},
{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1", "region":
"RegionOne", "publicURL": "http://10.71.0
.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1", "id":
"06e9d088a7d2402b88f2c517dbb817db", "internalURL": "
http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1"}], "type":
"volumev2", "name": "cinder_v2"}, {"endpoint
s_links": [], "endpoints": [{"adminURL": "http://10.71.0.218:8774/v3",
"region": "RegionOne", "publicURL": "http://10.71.0.218:8774/v3", "id":
"09fe287f2f8a481489902d46c1d53118", "internalURL": "
http://10.71.0.218:8774/v3"
}], "type": "computev3", "name": "novav3"}, {"endpoints_links": [],
"endpoints": [{"adminURL": "http://10.71.0.218:9292", "region":
"RegionOne", "publicURL": "http://10.71.0.218:9292", "id":
"1dff3e40f9bf430f9b79654b8e59c1
f1", "internalURL": "http://10.71.0.218:9292"}], "type": "image", "name":
"glance"}, {"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8777", "region": "RegionOne", "publicURL": "
http://10.71.0.218:877
7", "id": "98ff5aa8b3ec4df0a6cc2c876dd0d7dc", "internalURL": "
http://10.71.0.218:8777"}], "type": "metering", "name": "ceilometer"},
{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8776/v1/0ebcdedac0
a3480ca81050bfedd97cf1", "region": "RegionOne", "publicURL": "
http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1", "id":
"1dfd84fe0de14c3c81efdfd7ff8a1244", "internalURL": "
http://10.71.0.218:8776/v1/0ebcdedac0a34
80ca81050bfedd97cf1"}], "type": "volume", "name": "cinder"},
{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8773/services/Admin", "region": "RegionOne",
"publicURL": "http://10.71.0.218:8773/service
s/Cloud", "id": "498579a152e54ad58976a779e0ba5724", "internalURL": "
http://10.71.0.218:8773/services/Cloud"}], "type": "ec2", "name":
"nova_ec2"}, {"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:3535
7/v2.0", "region": "RegionOne", "publicURL": "http://10.71.0.218:5000/v2.0",
"id": "0ef37dfe1c78489ba1fb0599b0956d87", "internalURL": "
http://10.71.0.218:5000/v2.0"}], "type": "identity", "name": "keystone"}],
"user": {"us
ername": "nathan", "roles_links": [], "id":
"b4397deb6a884a8c8e70fbc255ce6d80", "roles": [{"name": "admin"}], "name":
"nathan"}, "metadata": {"is_admin": 0, "roles":
["d7ed50bf853340e0980d1cbcae8c14ca"]}}}
 _http_log_response
/usr/lib/python2.7/site-packages/keystoneclient/session.py:182
2015-05-21 14:47:19.919 3132 DEBUG nova.api.openstack.wsgi
[req-05325a86-aefc-4729-b7bc-ae7caa0c76bd None] Calling method '<bound
method Controller.show of <nova.api.openstack.compute.flavors.Controller
object at 0x3e20c90
>>' _process_stack
/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2015-05-21 14:47:19.938 3132 INFO nova.osapi_compute.wsgi.server
[req-05325a86-aefc-4729-b7bc-ae7caa0c76bd None] 10.71.0.218 "GET
/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3 HTTP/1.1" status: 200 len:
597 time: 0.034395
9
2015-05-21 14:47:19.943 3187 DEBUG keystoneclient.session [-] REQ: curl -i
-X GET http://127.0.0.1:35357/v2.0/tokens/898f85bc891c48f296da114288c023db
-H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H
"X-Auth-Token: TOKEN_REDACTED" _http_log_request
/usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2015-05-21 14:47:19.955 3187 DEBUG keystoneclient.session [-] RESP: [200]
{'date': 'Thu, 21 May 2015 18:47:19 GMT', 'content-type':
'application/json', 'content-length': '3080', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2015-05-21T18:47:19.889187",
"expires": "2015-05-21T19:47:19Z", "id":
"898f85bc891c48f296da114288c023db", "tenant": {"enabled": true, "id":
"0ebcdedac0a3480ca81050bfedd97cf1",
 "name": "BroadSoft Labs", "description": "BroadSoft Labs Systems"},
"audit_ids": ["myz_O6fxQqOlLXFgwZ4SZg"]}, "serviceCatalog":
[{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8774/v2/0ebcdedac0a34
80ca81050bfedd97cf1", "region": "RegionOne", "publicURL": "
http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1", "id":
"965990191c7d4fcdb95575dd2e504233", "internalURL": "
http://10.71.0.218:8774/v2/0ebcdedac0a3480c
a81050bfedd97cf1"}], "type": "compute", "name": "nova"},
{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1", "region":
"RegionOne", "publicURL": "http://10.71.0
.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1", "id":
"06e9d088a7d2402b88f2c517dbb817db", "internalURL": "
http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1"}], "type":
"volumev2", "name": "cinder_v2"}, {"endpoint
s_links": [], "endpoints": [{"adminURL": "http://10.71.0.218:8774/v3",
"region": "RegionOne", "publicURL": "http://10.71.0.218:8774/v3", "id":
"09fe287f2f8a481489902d46c1d53118", "internalURL": "
http://10.71.0.218:8774/v3"
}], "type": "computev3", "name": "novav3"}, {"endpoints_links": [],
"endpoints": [{"adminURL": "http://10.71.0.218:9292", "region":
"RegionOne", "publicURL": "http://10.71.0.218:9292", "id":
"1dff3e40f9bf430f9b79654b8e59c1
f1", "internalURL": "http://10.71.0.218:9292"}], "type": "image", "name":
"glance"}, {"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8777", "region": "RegionOne", "publicURL": "
http://10.71.0.218:877
7", "id": "98ff5aa8b3ec4df0a6cc2c876dd0d7dc", "internalURL": "
http://10.71.0.218:8777"}], "type": "metering", "name": "ceilometer"},
{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8776/v1/0ebcdedac0
a3480ca81050bfedd97cf1", "region": "RegionOne", "publicURL": "
http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1", "id":
"1dfd84fe0de14c3c81efdfd7ff8a1244", "internalURL": "
http://10.71.0.218:8776/v1/0ebcdedac0a34
80ca81050bfedd97cf1"}], "type": "volume", "name": "cinder"},
{"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:8773/services/Admin", "region": "RegionOne",
"publicURL": "http://10.71.0.218:8773/service
s/Cloud", "id": "498579a152e54ad58976a779e0ba5724", "internalURL": "
http://10.71.0.218:8773/services/Cloud"}], "type": "ec2", "name":
"nova_ec2"}, {"endpoints_links": [], "endpoints": [{"adminURL": "
http://10.71.0.218:3535
7/v2.0", "region": "RegionOne", "publicURL": "http://10.71.0.218:5000/v2.0",
"id": "0ef37dfe1c78489ba1fb0599b0956d87", "internalURL": "
http://10.71.0.218:5000/v2.0"}], "type": "identity", "name": "keystone"}],
"user": {"us
ername": "nathan", "roles_links": [], "id":
"b4397deb6a884a8c8e70fbc255ce6d80", "roles": [{"name": "admin"}], "name":
"nathan"}, "metadata": {"is_admin": 0, "roles":
["d7ed50bf853340e0980d1cbcae8c14ca"]}}}
 _http_log_response
/usr/lib/python2.7/site-packages/keystoneclient/session.py:182
2015-05-21 14:47:19.959 3187 DEBUG nova.api.openstack.wsgi
[req-cdcef902-c033-46c1-a211-2df8599b7583 None] Action: 'create', calling
method: <bound method Controller.create of
<nova.api.openstack.compute.servers.Controller
 object at 0x3d1ddd0>>, body: {"server": {"name": "radius", "imageRef": "",
"block_device_mapping_v2": [{"source_type": "volume",
"delete_on_termination": false, "boot_index": 0, "uuid":
"a9f8f997-bc87-4f39-9f9f-0b41169a02
56", "destination_type": "volume"}], "flavorRef": "3", "max_count": 1,
"min_count": 1, "networks": [{"fixed_ip": "10.71.0.161", "uuid":
"b2324538-26ee-4d06-bccd-0ef2f6778f6b"}]}} _process_stack
/usr/lib/python2.7/site-pack
ages/nova/api/openstack/wsgi.py:934
2015-05-21 14:47:19.973 3187 INFO nova.api.openstack.wsgi
[req-cdcef902-c033-46c1-a211-2df8599b7583 None] HTTP exception thrown:
Block Device Mapping is Invalid: failed to get volume
a9f8f997-bc87-4f39-9f9f-0b41169a0256.
2015-05-21 14:47:19.973 3187 DEBUG nova.api.openstack.wsgi
[req-cdcef902-c033-46c1-a211-2df8599b7583 None] Returning 400 to user:
Block Device Mapping is Invalid: failed to get volume
a9f8f997-bc87-4f39-9f9f-0b41169a0256.
__call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1201
2015-05-21 14:47:19.974 3187 INFO nova.osapi_compute.wsgi.server
[req-cdcef902-c033-46c1-a211-2df8599b7583 None] 10.71.0.218 "POST
/v2/0ebcdedac0a3480ca81050bfedd97cf1/os-volumes_boot HTTP/1.1" status: 400
len: 332 time: 0
.0322728


><>
nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 |
www.broadsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150527/4c940162/attachment-0001.html>


More information about the OpenStack-dev mailing list