[Bug 365688] New: Yast avoids to install/ upgrade xen systems that used virtual partitions
https://bugzilla.novell.com/show_bug.cgi?id=365688 Summary: Yast avoids to install/upgrade xen systems that used virtual partitions Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: luizluca@tre-sc.gov.br QAContact: jsrain@novell.com Found By: --- Hello, I used LVM Logical volumes in dom0 as virtual partition on Xen. It works correctly but I'm not able to install nor upgrade systems configured that way. It's a Yast problem. The Xen virtual machine conf is: name="test" ostype="opensuse" uuid="4fd5e057-d519-16ef-e809-87b0f2f9d94b" memory=1024 vcpus=1 on_crash="destroy" on_poweroff="destroy" on_reboot="restart" localtime=0 builder="linux" bootloader="/usr/lib/xen/boot/domUloader.py" bootargs="--entry=:/boot/vmlinuz-xen,/boot/initrd-xen" extra="root=/dev/xvda1" disk=[ 'phy:/dev/system/test_root,xvda1,w', 'phy:/dev/system/test_srv,xvda2,w', ] vif=[ 'mac=00:16:3e:0d:a3:45', ] vfb=['type=vnc,vncunused=1'] in domU, I got: # ls /dev/xvda* -l brw-r----- 1 root disk 202, 1 2008-02-27 16:49 /dev/xvda1 brw-r----- 1 root disk 202, 2 2008-02-27 16:49 /dev/xvda2 There is no xvda device on domU. I'm able to load installer but yast2-storage does not accept the virtual partitions without a disk device. The "yast disk" interface shows just the last device, xvda2, no mount-point and does not accept any changes on it. Maybe considering xvda[0-9]+ devices the same way as DM or EVMS devices could do the trick. Without that, I can't upgrade from opensuse 10.2 systems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c1 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |luizluca@tre-sc.gov.br --- Comment #1 from Cyril Hrubis <chrubis@novell.com> 2008-03-03 05:42:27 MST --- Please attach y2logs. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c2 --- Comment #2 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-03-03 13:53:03 MST --- Created an attachment (id=198344) --> (https://bugzilla.novell.com/attachment.cgi?id=198344) Yast log with virtual partitions This shows "yast installation" for a xen Vm with virtual partitions -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c3 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|luizluca@tre-sc.gov.br | --- Comment #3 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-03-03 13:54:58 MST --- I attached the logs until the installation option when yast asks if I want to upgrade or install. As It failed to detect the existing opensuse 10.2 on hda2, it forces me to use "install option". Besides that, clean installation also fails as it avoids me to set the root partition. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |yast2-maintainers@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c4 Stefan Hundhammer <sh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |lslezak@novell.com --- Comment #4 from Stefan Hundhammer <sh@novell.com> 2008-03-06 09:11:23 MST --- Lada, yast2-vm related or yast2-storage? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c5 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@novell.com, aschnell@novell.com AssignedTo|lslezak@novell.com |cgriffin@novell.com Component|YaST2 |Xen QAContact|jsrain@novell.com |qa@suse.de --- Comment #5 from Ladislav Slezak <lslezak@novell.com> 2008-03-07 01:20:13 MST --- This is probably a Xen kernel problem which affects yast2-storage. IIRC when using the file backend for virtual storage there is /dev/xvda disk device, so it might be a LVM backend problem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User jfehlig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c6 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfehlig@novell.com Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #6 from James Fehlig <jfehlig@novell.com> 2008-03-12 15:27:04 MST --- *** This bug has been marked as a duplicate of bug 343724 *** https://bugzilla.novell.com/show_bug.cgi?id=343724 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c7 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #7 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-03-13 10:13:07 MST --- I really don't thing that this is bug is duplicated. Bug 343724 is related to Yast problem with virtual partitions on installation and upgrade and Bug 365688 is xen/domUloader.py problem with the same case. Bug 343724 is a problem with yast-storage that does not considered the case when there is just the "partitions" without a disk Bug 365688 occurs because xen does not pass the root device to domUloader.py as its last parameter. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c8 --- Comment #8 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-03-13 10:14:34 MST --- sorry, i switched the bugs. I really don't thing that this is bug is duplicated. Bug 365688 is related to Yast problem with virtual partitions on installation and upgrade and Bug 343724 is xen/domUloader.py problem with the same case. Bug 365688 is a problem with yast-storage that does not considered the case when there is just the "partitions" without a disk Bug 343724 occurs because xen does not pass the root device to domUloader.py as its last parameter. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 Lynn Bendixsen <lbendixs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lbendixs@novell.com AssignedTo|cgriffin@novell.com |jfehlig@novell.com Status|REOPENED |NEW QAContact|qa@suse.de |jdouglas@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User jfehlig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c9 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jfehlig@novell.com |bnc-team-screening@forge.provo.novell.com Status|ASSIGNED |NEW Component|Xen |YaST2 QAContact|jdouglas@novell.com |jsrain@novell.com --- Comment #9 from James Fehlig <jfehlig@novell.com> 2008-04-17 11:07:43 MST --- (In reply to comment #8 from Luiz Angelo Daros de Luca)
I really don't thing that this is bug is duplicated. Bug 365688 is related to Yast problem with virtual partitions on installation and upgrade and Bug 343724 is xen/domUloader.py problem with the same case.
Yes, you are correct. Sorry for duplicating them.
Bug 365688 is a problem with yast-storage that does not considered the case when there is just the "partitions" without a disk
Right. Reassigning this bug to YaST2.
Bug 343724 occurs because xen does not pass the root device to domUloader.py as its last parameter.
Yep - Xen team will keep that bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kmachalkova@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |aschnell@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c10 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |luizluca@tre-sc.gov.br --- Comment #10 from Arvin Schnell <aschnell@novell.com> 2008-04-18 08:29:11 MST --- The logs from comment #2 show two partitions, hda1 and hda2. Not xvda. I don't understand what exactly you are doing. Please provide exact steps how to reproduce the problem (on an initially empty machine). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c11 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|luizluca@tre-sc.gov.br | --- Comment #11 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-04-22 12:35:11 MST --- I tested both with xvda and hda setups (just changing the xen conf file). That's why the log contained hda instead of xvda. However, the results are similar. These steps can create a new installation and reproduce the problem inside the yast on disk setup. # lvcreate -L 500M system Logical volume "lvol0" created # lvcreate -L 500M system Logical volume "lvol1" created # mkfs.ext3 /dev/system/lvol0 # mkswap /dev/system/lvol1 # cat > /tmp/vm-test <<EOF name="test" ostype="opensuse" uuid="4fd5e057-d519-16ef-e809-87b0f2f9d94b" memory=1024 vcpus=1 on_crash="destroy" on_poweroff="destroy" on_reboot="restart" localtime=0 builder="linux" bootloader="/usr/lib/xen/boot/domUloader.py" bootargs="--entry=:/boot/vmlinuz-xen,/boot/initrd-xen" extra="root=/dev/xvda1" disk=[ 'phy:/dev/system/lvol1,xvda1,w', 'phy:/dev/system/lvol0,xvda2,w', ] vif=[ 'mac=00:16:3e:0d:a3:45', ] vfb=['type=vnc,vncunused=1'] ramdisk = '/tmp/initrd-from-instalation' kernel = '/tmp/kernel-from-instalation' extra = 'install=http://download.opensuse.org/distribution/10.3/repo/oss/' EOF I did a workaround that solved the problem SOMETIMES. I create an empty disk with the same geometry and partition table that a disk would have with xvda1 and xvda2 inside it. And after adding it at the end of disk specs, SOMETIMES yast pass the disk setup correctly. disk=[ 'phy:/dev/system/lvol1,xvda1,w', 'phy:/dev/system/lvol0,xvda2,w', 'file:/tmp/disk_xxx,xvda,w', and fdisk -l /tmp/disk_xxx would show... xvda1 1 # of blocks in lvol1 Linux SWAP xvda2 # of blocks in lvol1 + 1 # of blocks in lvol1+lvol0 Linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c12 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |luizluca@tre-sc.gov.br --- Comment #12 from Arvin Schnell <aschnell@novell.com> 2008-04-23 04:53:05 MST --- My knowledge about XEN is to limited to reproduce the problem. Inside the virtual machine I do have /dev/xvda, /dev/xvda1 and /dev/xvda2 and the installation does work. I need YaST log files of the yast2 disk run inside the virtual machine where the problem occurs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c13 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198344|0 |1 is obsolete| | Status|NEEDINFO |NEW Info Provider|luizluca@tre-sc.gov.br | --- Comment #13 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-04-25 15:05:20 MST --- Created an attachment (id=210609) --> (https://bugzilla.novell.com/attachment.cgi?id=210609) Yast logs Yast logs for the following xen vm config -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c14 --- Comment #14 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-04-25 15:06:22 MST --- name="test-yast" ostype="opensuse" uuid="4fd5e057-d519-16ef-e809-87b0f2f9d94b" memory=512 vcpus=1 on_crash="destroy" on_poweroff="destroy" on_reboot="restart" localtime=0 builder="linux" #bootloader="/usr/lib/xen/boot/domUloader.py" #bootargs="--entry=:/boot/vmlinuz-xen,/boot/initrd-xen" extra="root=/dev/xvda1" disk=[ 'phy:/dev/system/test-root,xvda1,w', 'phy:/dev/system/test-swap,xvda2,w', ] vif=[ 'mac=00:16:3e:0d:a3:42', ] vfb=['type=vnc,vncunused=1'] kernel = '/etc/xen/vm/vmlinuz-xen' ramdisk = '/etc/xen/vm/initrd-xen' extra = 'install=http://download.opensuse.org/distribution/10.3/repo/oss/' extra = 'install=http://repositorio.tre-sc.gov.br/suse/suse10.3/oss/ SSHPassword=12345678 UseSSH=1' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c15 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |luizluca@tre-sc.gov.br --- Comment #15 from Arvin Schnell <aschnell@novell.com> 2008-04-29 08:21:30 MST --- libstorage detects xvda1 and xvda2 as xen disks. xen disks like these here cannot be modified, e.g. you cannot create partitions on them but you can e.g. format them. What modifications do you want to make that do not work? Where is only xvda2 shown? Proposal, custom partitioning? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c16 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|luizluca@tre-sc.gov.br | --- Comment #16 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-04-29 10:24:27 MST --- Format and defining the mount point should be very useful. In yast partitioner (on install and on a running system), It just shows the last xen disk. The current system detection (to enable upgrade option) also fails. The last disk declared, e.g. xvda2, always overwrites the disks before it. BTW, proposal always fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c17 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P3 - Medium |P5 - None --- Comment #17 from Arvin Schnell <aschnell@novell.com> 2008-04-30 02:09:33 MST --- Will look at it when there is more time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c18 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #210609|0 |1 is obsolete| | --- Comment #18 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-07-11 13:18:05 MDT --- Created an attachment (id=227376) --> (https://bugzilla.novell.com/attachment.cgi?id=227376) Yast instalation logs for opensuse11.0 This logs includes a try to use the custom partition setup -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 User luizluca@tre-sc.gov.br added comment https://bugzilla.novell.com/show_bug.cgi?id=365688#c19 --- Comment #19 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2008-07-11 13:19:34 MDT --- Created an attachment (id=227378) --> (https://bugzilla.novell.com/attachment.cgi?id=227378) Xen configuration -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365688 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Target Milestone|--- |Future/Later for Fix| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com