cinder shows wrong device name for attached volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Using grizzly on centos 6.4, attached volumes are shown with wrong device names in cinder. E.g. I have this volume wich I attach, cinder tells me its attached as /dev/vdb:
| attachments | [{u'device': u'/dev/vdb', u'server_id': u'3318b373-
but on the machine (ubuntu 12.04 cloud image) the device is /dev/vdc:
root@u15:~# cat /proc/partitions
major minor #blocks name
253 0 2097152 vda
253 1 2088450 vda1
253 16 400 vdb
-> attaching volume to instance:
root@u15:~# cat /proc/partitions
major minor #blocks name
253 0 2097152 vda
253 1 2088450 vda1
253 16 400 vdb
253 32 1048576 vdc
253 33 1047552 vdc1
Maybe this is not cinders fault, as it the volume seems to be the second attached storage device? could be due to ubuntus image, but still, the device name is wrong.
Changed in cinder: | |
assignee: | nobody → Verónica Musso (veronica-a-musso) |
affects: | cinder → nova |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → New |
tags: | added: volumes |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | Verónica Musso (veronica-a-musso) → nobody |
So this comes up a fair bit the post from the mail list [1] describes it pretty well.
This is more of an issue with how the hypervisors perform the mount than anything else.
http:// lists.openstack .org/pipermail/ openstack- dev/2013- April/007208. html