[Pkg-xen-devel] Bug#784810: Bug#784810: Bug#784810: Xen domU try ton access to dom0 LVM Volume group

Romain Mourier romainm at uncornichon.net
Sat May 9 16:53:00 UTC 2015


On 09/05/2015 15:25, Ian Campbell wrote:
> On Sat, 2015-05-09 at 14:07 +0200, Romain Mourier wrote:
>> On 09/05/2015 13:25, Ian Campbell wrote:
>>> On Sat, 2015-05-09 at 03:41 +0200, Romain Mourier wrote:
>>> [...]
>>>>     xen-create-image --hostname=test0 --lvm=raid10 --fs=ext4
>>>> --bridge=br-lan --dhcp --dist=jessie
>>> [...]
>>>> root at hv0:~# xl create /etc/xen/test0.cfg && xl console test0
>>> What does /etc/xen/test0.cfg contain? I suspect it is reusing the dom0
>>> initramfs and hence has inherited some sort of hook script which insists
>>> on the RAID stuff being present.
>> That what I suspect too.
>>
>> It contains :
>>
>> ~# grep -v ^\# /etc/xen/test0.cfg | sed '/^$/d'
>> kernel      = '/boot/vmlinuz-3.16.0-4-amd64'
>> extra       = 'elevator=noop'
>> ramdisk     = '/boot/initrd.img-3.16.0-4-amd64'
>
> This is using the host initrd, hence the issue you are seeing.
>
>> vcpus       = '1'
>> memory      = '128'
>> root        = '/dev/xvda2 ro'
>> disk        = [
>>                   'phy:/dev/raid10/test0-disk,xvda2,w',
>>                   'phy:/dev/raid10/test0-swap,xvda1,w',
>>               ]
>> name        = 'test0'
>> dhcp        = 'dhcp'
>> vif         = [ 'mac=00:16:3E:8C:49:68,bridge=br-lan' ]
>> on_poweroff = 'destroy'
>> on_reboot   = 'restart'
>> on_crash    = 'restart'
>>> That would be a bug in either xen-create-image or something relating to
>>> initramfs generation (initramfs-tools or some raid related hook file
>>> provided by whatever package provides such things).
>> Do I need to open and other bug report with different package ?
>
> No, I'll reassign this one for you. Lets start with xen-create-image and
> they can pass it on to the initramfs folks if they believe it belongs
> there.
>
> What version of xen-tools do you have installed? I'll include that in
> the reassignment.

It's in the first message, the version 4.5-1.
Thanks again.

>
>>> Note that xen-create-image is a separate project/package from xen
>>> itself. (As are initramfs-tools etc obviously).
>>>
>>> [...]
>>>> [    0.000000] Command line: root=/dev/xvda2 ro elevator=noop
>>> [...]
>>>>   Volume group "SSD-RAID1" not found
>>>>   Skipping volume group SSD-RAID1
>>>> Unable to find LVM volume SSD-RAID1/swap
>>> Ian.
>> Thank you for your reply,
>>
>> Romain.
>>
>> _______________________________________________
>> Pkg-xen-devel mailing list
>> Pkg-xen-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xen-devel
>>
>
>



More information about the Pkg-xen-devel mailing list