dynamic block storage should use virtio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Fix Released
|
Undecided
|
Ye Wen | ||
eucalyptus (Ubuntu) |
Fix Released
|
High
|
Dave Walker | ||
Maverick |
Fix Released
|
High
|
Dave Walker |
Bug Description
This new bug is closely related to Bug #432154. Back in Karmic, we learned that libvirt/qemu-kvm had sort of broken hot add of scsi devices. This is somewhat intentional, from upstream qemu's perspective, as they content that scsi devices should not be hot-added any more. In fact, the newest libvirt (whose merge is pending for Maverick) will in fact deprecate this behavior.
At this point, Eucalyptus EBS volumes will be broken in Maverick.
Instead, Eucalyptus needs to learn to use the virtio driver model for hot-adding of block devices. As an added benefit, performance should increase significantly.
The pertinent code should be in:
* ./node/
Look for code like this:
<disk type='block'
The name='phy' should be changed to name='virtio'. It's possible that upstream may want to make this a configurable parameter, at which point we should be able to take their changes and set model=virtio in our configuration file.
In the mean time, we should make the change in Maverick, and start testing it ASAP.
Changed in eucalyptus (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Dave Walker (davewalker) |
assignee: | Dave Walker (davewalker) → nobody |
milestone: | none → maverick-alpha-2 |
assignee: | nobody → Dave Walker (davewalker) |
tags: | added: patch |
Changed in eucalyptus: | |
assignee: | nobody → Ye Wen (wenye) |
Changed in eucalyptus: | |
status: | New → Fix Released |
I'm attaching a patch that I tested, which generally seems to work. ebs attached volumes are then attached as virtio devices.