<div dir="ltr"><div>Cinder volume is available:</div><div><br></div><div>[root@openstack nova(keystone)]# cinder list |grep a9f8f997-bc87-4f39-9f9f-0b41169a0256</div><div>| a9f8f997-bc87-4f39-9f9f-0b41169a0256 | available |        radius       |  32  |     None    |   true   |                                      |</div><div><br></div><div>But I get Block Device Mapping is Invalid error when I try to boot:</div><div><br></div><div>[root@openstack nova(keystone)]# nova --debug 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</div><div>REQ: curl -i '<a href="http://10.71.0.218:5000/v2.0/tokens">http://10.71.0.218:5000/v2.0/tokens</a>' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "BroadSoft Labs", "passwordCredentials": {"username": "nathan", "password": "{SHA1}09b59c3a0737bc23a43d7e58fc3619f2882262d9"}}}'</div><div>INFO (connectionpool:187) Starting new HTTP connection (1): 10.71.0.218</div><div>DEBUG (connectionpool:357) "POST /v2.0/tokens HTTP/1.1" 200 3080</div><div>RESP: [200] {'date': 'Thu, 28 May 2015 19:49:14 GMT', 'content-type': 'application/json', 'content-length': '3080', 'vary': 'X-Auth-Token'}</div><div>RESP BODY: {"access": {"token": {"issued_at": "2015-05-28T19:49:14.498769", "expires": "2015-05-28T20:49:14Z", "id": "{SHA1}7a8497b11924d1dbb83a4a8b388997d8b0a38b16", "tenant": {"enabled": true, "description": "BroadSoft Labs Systems", "name": "BroadSoft Labs", "id": "0ebcdedac0a3480ca81050bfedd97cf1"}, "audit_ids": ["S8vl3iTrQF-5J3jIawfNHw"]}, "serviceCatalog": [{"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1</a>", "internalURL": "<a href="http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1</a>", "id": "965990191c7d4fcdb95575dd2e504233"}], "type": "compute", "name": "nova"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1</a>", "internalURL": "<a href="http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1</a>", "id": "06e9d088a7d2402b88f2c517dbb817db"}], "type": "volumev2", "name": "cinder_v2"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:8774/v3">http://10.71.0.218:8774/v3</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:8774/v3">http://10.71.0.218:8774/v3</a>", "internalURL": "<a href="http://10.71.0.218:8774/v3">http://10.71.0.218:8774/v3</a>", "id": "09fe287f2f8a481489902d46c1d53118"}], "type": "computev3", "name": "novav3"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:9292">http://10.71.0.218:9292</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:9292">http://10.71.0.218:9292</a>", "internalURL": "<a href="http://10.71.0.218:9292">http://10.71.0.218:9292</a>", "id": "1dff3e40f9bf430f9b79654b8e59c1f1"}], "type": "image", "name": "glance"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:8777">http://10.71.0.218:8777</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:8777">http://10.71.0.218:8777</a>", "internalURL": "<a href="http://10.71.0.218:8777">http://10.71.0.218:8777</a>", "id": "98ff5aa8b3ec4df0a6cc2c876dd0d7dc"}], "type": "metering", "name": "ceilometer"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1</a>", "internalURL": "<a href="http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1">http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1</a>", "id": "1dfd84fe0de14c3c81efdfd7ff8a1244"}], "type": "volume", "name": "cinder"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:8773/services/Admin">http://10.71.0.218:8773/services/Admin</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:8773/services/Cloud">http://10.71.0.218:8773/services/Cloud</a>", "internalURL": "<a href="http://10.71.0.218:8773/services/Cloud">http://10.71.0.218:8773/services/Cloud</a>", "id": "498579a152e54ad58976a779e0ba5724"}], "type": "ec2", "name": "nova_ec2"}, {"endpoints_links": [], "endpoints": [{"adminURL": "<a href="http://10.71.0.218:35357/v2.0">http://10.71.0.218:35357/v2.0</a>", "region": "RegionOne", "publicURL": "<a href="http://10.71.0.218:5000/v2.0">http://10.71.0.218:5000/v2.0</a>", "internalURL": "<a href="http://10.71.0.218:5000/v2.0">http://10.71.0.218:5000/v2.0</a>", "id": "0ef37dfe1c78489ba1fb0599b0956d87"}], "type": "identity", "name": "keystone"}], "user": {"username": "nathan", "roles_links": [], "id": "b4397deb6a884a8c8e70fbc255ce6d80", "roles": [{"name": "admin"}], "name": "nathan"}, "metadata": {"is_admin": 0, "roles": ["d7ed50bf853340e0980d1cbcae8c14ca"]}}}</div><div><br></div><div>REQ: curl -i '<a href="http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3">http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3</a>' -X GET -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: BroadSoft Labs" -H "X-Auth-Token: {SHA1}7a8497b11924d1dbb83a4a8b388997d8b0a38b16"</div><div>INFO (connectionpool:187) Starting new HTTP connection (1): 10.71.0.218</div><div>DEBUG (connectionpool:357) "GET /v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3 HTTP/1.1" 200 424</div><div>RESP: [200] {'date': 'Thu, 28 May 2015 19:49:14 GMT', 'content-length': '424', 'content-type': 'application/json', 'x-compute-request-id': 'req-1e87bab9-3a25-4e2e-ab73-9965ca27bb4c'}</div><div>RESP BODY: {"flavor": {"name": "m1.medium", "links": [{"href": "<a href="http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3">http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3</a>", "rel": "self"}, {"href": "<a href="http://10.71.0.218:8774/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3">http://10.71.0.218:8774/0ebcdedac0a3480ca81050bfedd97cf1/flavors/3</a>", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 32, "id": "3"}}</div><div><br></div><div>REQ: curl -i '<a href="http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/os-volumes_boot">http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1/os-volumes_boot</a>' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: BroadSoft Labs" -H "X-Auth-Token: {SHA1}7a8497b11924d1dbb83a4a8b388997d8b0a38b16" -d '{"server": {"name": "radius", "imageRef": "", "block_device_mapping_v2": [{"source_type": "volume", "destination_type": "volume", "boot_index": 0, "delete_on_termination": false, "uuid": "a9f8f997-bc87-4f39-9f9f-0b41169a0256"}], "flavorRef": "3", "max_count": 1, "min_count": 1, "networks": [{"fixed_ip": "10.71.0.161", "uuid": "b2324538-26ee-4d06-bccd-0ef2f6778f6b"}]}}'</div><div>INFO (connectionpool:187) Starting new HTTP connection (1): 10.71.0.218</div><div>DEBUG (connectionpool:357) "POST /v2/0ebcdedac0a3480ca81050bfedd97cf1/os-volumes_boot HTTP/1.1" 400 135</div><div>RESP: [400] {'date': 'Thu, 28 May 2015 19:49:14 GMT', 'content-length': '135', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-727270a1-9df8-4337-b160-e89e29e78f37'}</div><div>RESP BODY: null</div><div><br></div><div>DEBUG (shell:803) Block Device Mapping is Invalid: failed to get volume a9f8f997-bc87-4f39-9f9f-0b41169a0256. (HTTP 400) (Request-ID: req-727270a1-9df8-4337-b160-e89e29e78f37)</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 800, in main</div><div>    OpenStackComputeShell().main(argv)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 730, in main</div><div>    args.func(self.cs, args)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/v1_1/shell.py", line 470, in do_boot</div><div>    server = cs.servers.create(*boot_args, **boot_kwargs)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/v1_1/servers.py", line 902, in create</div><div>    **boot_kwargs)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/v1_1/servers.py", line 554, in _boot</div><div>    return_raw=return_raw, **kwargs)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 100, in _create</div><div>    _resp, body = self.api.client.post(url, body=body)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 490, in post</div><div>    return self._cs_request(url, 'POST', **kwargs)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 465, in _cs_request</div><div>    resp, body = self._time_request(url, method, **kwargs)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 439, in _time_request</div><div>    resp, body = self.request(url, method, **kwargs)</div><div>  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 433, in request</div><div>    raise exceptions.from_response(resp, body, url, method)</div><div>BadRequest: Block Device Mapping is Invalid: failed to get volume a9f8f997-bc87-4f39-9f9f-0b41169a0256. (HTTP 400) (Request-ID: req-727270a1-9df8-4337-b160-e89e29e78f37)</div><div>ERROR (BadRequest): Block Device Mapping is Invalid: failed to get volume a9f8f997-bc87-4f39-9f9f-0b41169a0256. (HTTP 400) (Request-ID: req-727270a1-9df8-4337-b160-e89e29e78f37)</div><div><div class="gmail_signature"><br>><><br>nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 | <a href="http://www.broadsoft.com" target="_blank">www.broadsoft.com</a></div></div>
</div>