Block Device Mapping is Invalid error when booting from volume

Bug #1223950 reported by Dafna Ron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

when we try to boot an instance from a volume we get a wrong mapping error:

root@nott-vdsa ~(keystone_admin)]# egrep 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62 /var/log/*/*
/var/log/horizon/horizon.log:Recoverable error: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62. (HTTP 400) (Request-ID: req-64a2cdee-6c76-4bb5-a4d8-0a2bf935e4da)
/var/log/horizon/horizon.log:Recoverable error: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62. (HTTP 400) (Request-ID: req-24f8e28e-8e18-452a-9373-10e903d8a9c9)
/var/log/horizon/horizon.log:Recoverable error: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62. (HTTP 400) (Request-ID: req-3a3891f6-e489-41e9-bd1b-8dad63a8bfc8)
/var/log/httpd/access_log:10.32.224.231 - - [11/Sep/2013:16:20:19 +0300] "GET /dashboard/project/volumes/?action=row_update&table=volumes&obj_id=2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62 HTTP/1.1" 200 577 "http://nott-vdsa.qa.lab.tlv.redhat.com/dashboard/project/volumes/" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130619 Firefox/17.0"
/var/log/nova/api.log:2013-09-11 16:32:52.772 19836 DEBUG nova.api.openstack.wsgi [req-64a2cdee-6c76-4bb5-a4d8-0a2bf935e4da 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] Action: 'create', body: {"server": {"name": "dafna", "imageRef": "", "block_device_mapping": [{"volume_id": "2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62", "delete_on_termination": "0", "device_name": "vda"}], "flavorRef": "1", "max_count": 1, "min_count": 1, "security_groups": [{"name": "default"}]}} _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:935
/var/log/nova/api.log:2013-09-11 16:32:52.939 19836 DEBUG urllib3.connectionpool [-] "GET /v1/532307bfce18431ba50d309622619b66/volumes/2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62 HTTP/1.1" 200 546 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
/var/log/nova/api.log:2013-09-11 16:32:52.949 19836 INFO nova.api.openstack.wsgi [req-64a2cdee-6c76-4bb5-a4d8-0a2bf935e4da 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] HTTP exception thrown: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62.
/var/log/nova/api.log:2013-09-11 16:32:52.977 19836 DEBUG nova.api.openstack.wsgi [req-64a2cdee-6c76-4bb5-a4d8-0a2bf935e4da 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] Returning 400 to user: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62. __call__ /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:1198
/var/log/nova/api.log:2013-09-11 16:33:18.632 19829 DEBUG nova.api.openstack.wsgi [req-24f8e28e-8e18-452a-9373-10e903d8a9c9 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] Action: 'create', body: {"server": {"name": "dafba", "imageRef": "", "block_device_mapping": [{"volume_id": "2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62", "delete_on_termination": "0", "device_name": "vda"}], "flavorRef": "1", "max_count": 1, "min_count": 1, "security_groups": [{"name": "default"}]}} _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:935
/var/log/nova/api.log:2013-09-11 16:33:18.794 19829 DEBUG urllib3.connectionpool [-] "GET /v1/532307bfce18431ba50d309622619b66/volumes/2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62 HTTP/1.1" 200 546 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
/var/log/nova/api.log:2013-09-11 16:33:18.804 19829 INFO nova.api.openstack.wsgi [req-24f8e28e-8e18-452a-9373-10e903d8a9c9 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] HTTP exception thrown: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62.
/var/log/nova/api.log:2013-09-11 16:33:18.804 19829 DEBUG nova.api.openstack.wsgi [req-24f8e28e-8e18-452a-9373-10e903d8a9c9 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] Returning 400 to user: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62. __call__ /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:1198
/var/log/nova/api.log:2013-09-11 18:29:31.216 19832 DEBUG nova.api.openstack.wsgi [req-3a3891f6-e489-41e9-bd1b-8dad63a8bfc8 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] Action: 'create', body: {"server": {"name": "bla", "imageRef": "", "block_device_mapping": [{"volume_id": "2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62", "delete_on_termination": "0", "device_name": "vda"}], "flavorRef": "1", "max_count": 1, "min_count": 1, "security_groups": [{"name": "default"}]}} _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:935
/var/log/nova/api.log:2013-09-11 18:29:31.381 19832 DEBUG urllib3.connectionpool [-] "GET /v1/532307bfce18431ba50d309622619b66/volumes/2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62 HTTP/1.1" 200 546 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
/var/log/nova/api.log:2013-09-11 18:29:31.392 19832 INFO nova.api.openstack.wsgi [req-3a3891f6-e489-41e9-bd1b-8dad63a8bfc8 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] HTTP exception thrown: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62.
/var/log/nova/api.log:2013-09-11 18:29:31.418 19832 DEBUG nova.api.openstack.wsgi [req-3a3891f6-e489-41e9-bd1b-8dad63a8bfc8 0007c2f5563c4cc883c0c8d9e7f7d6f8 532307bfce18431ba50d309622619b66] Returning 400 to user: Block Device Mapping is Invalid: failed to get volume 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62. __call__ /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:1198
[root@nott-vdsa ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 2d16a3cd-a29f-4d9b-858a-b2e0eb6dec62 | available | dafna | 10 | None | False | |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

Revision history for this message
Xavier Queralt (xqueralt-deactivatedaccount) wrote :

This is a bug in nova which has already been reported. Marking as a duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.