[Bug 754649] New: Unable to install domU on Xen using autoyast with simple partition layout
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c0
Summary: Unable to install domU on Xen using autoyast with
simple partition layout
Classification: openSUSE
Product: openSUSE 12.2
Version: Factory
Platform: All
OS/Version: SLES 11
Status: NEW
Severity: Normal
Priority: P5 - None
Component: AutoYaST
AssignedTo: ug@suse.com
ReportedBy: nicolas.michaux@c2d.be
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
Created an attachment (id=483828)
--> (http://bugzilla.novell.com/attachment.cgi?id=483828)
Patch to return 4 MaxPrimary partitions in Partitions.ycp
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML,
like Gecko) Chrome/17.0.963.83 Safari/535.11
We used to install domU on Xen using autoyast with this simple partition layout
:
- /dev/xenvg/machine-root -> xvda1 (root)
- /dev/xenvg/machine-swap -> xvda2 (swap)
This has always worked fine since SLES10 until SLES11 SP1. With SLES11 SP2, it
isn't working anymore, Yast stops with error "Error while configuring
partitions".
By comparing the logs between SLES11 SP1 and SLES11 SP2, it seems that module
Partitions found 0 MaxPrimary partitions in SLES11 SP2 (it finds 4 MaxPrimary
partitions with SLES11 SP1).
By looking at the code, we can see that SLES11 SP1 was never returning 0
MaxPrimary partitions. The same problem seems to exist in latest trunk of
autoyast in Opensuse.
It is a very special partitioning scheme, as there is no real disk, only
partitions, but it is very handy in virtual environment to work directly with
partitions without using disk.
Reproducible: Always
Steps to Reproduce:
1. Configure an autoyast xml to use 2 partitions :
<partitioning config:type="list">
<drive>
<device>/dev/xvda</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c2
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c3
Nicolas Michaux
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c4
Nicolas Michaux
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c5
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c6
Nicolas Michaux
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c7
--- Comment #7 from Nicolas Michaux
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c8
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=754649
https://bugzilla.novell.com/show_bug.cgi?id=754649#c9
--- Comment #9 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com