[Bug 750565] Re: Unable to attach an EBS volume

Serge Hallyn 750565 at bugs.launchpad.net
Tue Apr 5 20:41:51 UTC 2011


** Description changed:

  With Maverick's UEC / Euclayptus, there is no way to mount EBS volumes
  because libvirt gives the error:
  
  sdh uses scsi:1, rather than scsi:0.
  
  The error and the patch applied upstream can be seen at:
  http://osdir.com/ml/libvir-list/2011-01/msg01268.html
  
  As you can see it's a single line change, the affected file for the
  maverick version is: src/qemu/qemu_driver.c (seems like they did some
  code refactoring on the version used on that email )
  
  I applied the patch by hand, recompiled and installed it and the ebs
  mount worked.
+ 
+ ===============================
+ SRU Justification:
+ 1. impact: VMs are not able to mount drives
+ 2. How bug was addressed: a patch was cherrypicked from upstream which fixes the mistaken assignment of 0 rather than the chosen controller.
+ 3. Minimal patch: see the linked bzr tree
+ 4. To reproduce: mount a scsi device as /dev/sdh.
+ 	1. # virsh attach-disk --target sdb ...
+ 	2. # virsh attach-disk --target sdh ...
+ 5. Regression potential: only one line is changed, following a patch from upstream.
+ ===============================

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/750565

Title:
  Unable to attach an EBS volume



More information about the Ubuntu-server-bugs mailing list