Bug 13936 - Profilebasierte Managed_Client PXE Installation: mount point lvm does not exist
Profilebasierte Managed_Client PXE Installation: mount point lvm does not exist
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Net Installer
UCS 2.4
All All
: P5 normal (vote)
: UCS 3.1
Assigned To: Felix Botner
Sönke Schwardt-Krummrich
: interim-3
: 18488 (view as bug list)
Depends on:
Blocks: 18488
  Show dependency treegraph
 
Reported: 2009-03-24 18:02 CET by Arvid Requate
Modified: 2012-12-12 21:10 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
/tmp/installation_profile, generiert aus Profil Managed_Profile (2.86 KB, text/plain)
2009-03-24 18:03 CET, Arvid Requate
Details
/instmnt/etc/fstab (452 bytes, text/plain)
2009-03-24 18:04 CET, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2009-03-24 18:02:40 CET
Während einer profilebasierten Managed_Client PXE Installation kommt die Meldung

I: Base system installed successfully.
Setting up devices, this may take a while.
/
mount: mount point lvm does not exist
mount: /dev/sda1 already mounted or /boot busy

installation_profile und fstab folgen.
Comment 1 Arvid Requate univentionstaff 2009-03-24 18:03:47 CET
Created attachment 1586 [details]
/tmp/installation_profile, generiert aus Profil Managed_Profile
Comment 2 Arvid Requate univentionstaff 2009-03-24 18:04:11 CET
Created attachment 1587 [details]
/instmnt/etc/fstab
Comment 3 Stefan Gohmann univentionstaff 2010-09-16 09:07:56 CEST
*** Bug 18488 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Gohmann univentionstaff 2010-09-16 09:08:58 CEST
Tritt auch noch mit UCS 2.4 auf.

An Bug #18488 hängt noch ein Beispiel.
Comment 5 Tobias Scherer univentionstaff 2010-10-19 15:19:31 CEST
Auch berichtet an Ticket#2010100710018207
Comment 6 Stefan Gohmann univentionstaff 2012-06-07 13:36:53 CEST
Das Verhalten sollte mit UCS 3 geprüft werden.
Comment 7 Stefan Gohmann univentionstaff 2012-07-17 17:09:47 CEST
UCS 3.1 will be the next release.
Comment 8 Felix Botner univentionstaff 2012-08-21 09:51:09 CEST
Das Problem war, dass der Installer im Profil Modus beim Erstellen des Installations-Profil (das ist nicht das Profil das vom Benutzer übergeben wurde, sondern das "ausgewertete" Profil, das die Installations-Scripte verwenden) bei den Partitionen Leere Felder nicht auf None gesetzt hat. Damit kamen dann die Installations-Scripte nicht klar.

Profil vom Benutzer:
 dev_1='PHY /dev/vda3 0 1 none 625.12128M 8587.191808M None lvm'

Vom Installer ausgewertetes und erzeugtes Profil:
 dev_1='PHY /dev/vda3 0 1 none 625.12128M 8587.191808M  lvm'

None wurde hier intern als leerer Wert interpretiert, später aber nicht wieder auf None gemappt. Damit ist diese Konfiguration falsch und es wurde eine unkorrekte fstab geschrieben. 

Das passierte nur im Profil Modus, im normalen Modus gab es ein Mapping von '' auf 'None' für MountPoint und FileSystem. Dies wurde nun auch im Profil-Teil ergänzt.
Comment 9 Stefan Gohmann univentionstaff 2012-10-16 10:13:33 CEST
Partitionierung im Profil-Modus kann erst mit interim-3 richtig getestet werden.
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2012-11-19 14:42:22 CET
(In reply to comment #8)
> None wurde hier intern als leerer Wert interpretiert, später aber nicht wieder
> auf None gemappt. Damit ist diese Konfiguration falsch und es wurde eine
> unkorrekte fstab geschrieben. 
> ergänzt.

==> /profmnt/Basesystem
[...]
dev_1='PHY /dev/sda1 0 0 None 16MiB 24MiB None bios_grub'
dev_2='PHY /dev/sda2 0 0 ext4 24MiB 536MiB /boot none'
dev_3='PHY /dev/sda3 0 0 linux-swap 536MiB 2492MiB None linux-swap'
dev_4='PHY /dev/sda4 0 0 None 2493MiB 92272MiB None lvm'
dev_5='LVM /dev/vg_ucs/rootfs LVMLV 0 ext4 0MiB 87760MiB / None'
[...]

==> /tmp/installation_profile
[...]
dev_4='PHY /dev/sda2 0 0 ext4 24MiB 536MiB /boot none'
dev_1='PHY /dev/sda3 0 0 linux-swap 536MiB 2492MiB None linux-swap'
dev_0='PHY /dev/sda1 0 0 none 16MiB 24MiB None bios_grub'
dev_3='LVM /dev/vg_ucs/rootfs LVMLV 0 ext4 0MiB 87760MiB / none'
dev_2='PHY /dev/sda4 0 0 none 2493MiB 92272MiB None lvm'
[...]

Changelogeintrag ist ok

→ VERIFIED
Comment 11 Stefan Gohmann univentionstaff 2012-12-12 21:10:57 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".