← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1217874] Re: cinder shows wrong device name for attached volume

 

** Project changed: cinder => nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1217874

Title:
  cinder shows wrong device name for attached volume

Status in OpenStack Compute (Nova):
  Confirmed

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-8792-4109-b65c-ee138dcd525f', u'id': u'c424719d-1031-4e29-8086-8a62b385d99a', u'volume_id': u'c424719d-1031-4e29-8086-8a62b385d99a'}] |

   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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1217874/+subscriptions