[lucid] merge libvirt to 0.7.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Lucid |
Won't Fix
|
Medium
|
Jamie Strandboge |
Bug Description
For LTS support and tons of bugfixes, it would be good to merge libvirt 0.7.7 to Lucid. This is a placeholder bug and is being discussed and evaluated by the server team (in ubuntu-server mailing list), particularly Dustin Kirkland.
There are mainly two problems so far:
1. scsi attach is broken due to moving to device_add. These changes could be backed out with some work or upstream could patch it soon and we cherrypick it. This is a blocker because it breaks eucalyptus volume attachment. This is upstream bug https:/
2. 0.7.7 uses a stacked security driver which means the DAC security driver is on by default and changes the permissions of the files it uses to that of the user running qemu. On Ubuntu this is root. This may be unexpected behavior for people who store images outside of /var/lib. This only happens with qemu:///system.
'2' we can live with, but '1' is a blocker.
Related branches
Changed in libvirt (Ubuntu Lucid): | |
status: | New → Triaged |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Medium |
milestone: | none → ubuntu-10.04-beta-2 |
description: | updated |
As it turns out, https:/ /bugzilla. redhat. com/show_ bug.cgi? id=578975 is not a bug, but it is a functional regression. From the upstream bug:
09:07 < aliguori> jdstrand, you're adding a scsi disk to an existing scsi
adapter
rescan the scsi bus kbase.redhat. com/faq/ docs/DOC- 3942
so the new behavior, while I understand it, needs to be dealt
with in applications that depended on the previously faulty
behavior
09:07 < aliguori> lspci isn't going to change
09:07 < aliguori> but you won't see anything in /proc/partitions until you
09:07 < aliguori> which is not something that happens automatically
09:07 < aliguori> it's *not* pci hot add
09:08 < aliguori> it's scsi hot add
09:08 < aliguori> http://
09:08 < aliguori> this is different than what older libvirts did
09:08 < aliguori> older libvirt added a new scsi controller for every disk add
09:08 < aliguori> which was incorrect
09:14 < jdstrand> aliguori: I'm just used to seeing this show up in the guest,
09:14 < aliguori> yup
So, after using attach-device, I perform the following: scsi_host/ host0/scan
echo "- - -" > /sys/class/
Then the disk shows up in the disk.