Bug 23018 - Kernel-Probleme auf Xen-Instanzen, Installer startet nicht
Kernel-Probleme auf Xen-Instanzen, Installer startet nicht
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 2.4-sec4
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
:
Depends on: 21984
Blocks: 22200
  Show dependency treegraph
 
Reported: 2011-07-13 17:16 CEST by Felix Botner
Modified: 2023-03-25 06:45 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

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-07-13 17:16:50 CEST
+++ This bug was initially created as a clone of Bug #21984 +++

Probleme mit dem univention-installer traten reproduzierbar auf mit
vollvirtualisiertem Rechner unter XEN auf xen15. Beim Aufruf des Installers
bereitet er alles vor, wechselt dann aber nicht in den Installer-Dialog und
bleibt hängen bei der Zeile:

====================
...
Starting syslog daemon: syslogd, klogd
Loading USB HID module
Loading <stdin>
====================

Das scheint in Verbindung mit Kernel-Anpassung zu stehen. 
Einstellungen für CD-Rom, Festplatte, Netzwerkkarte scheinen keinen Einfluss zu
haben, ebenso scheint alles ok mit einem paravirtualisierten Rechner. Problem
trat auf mit dem Image: 
ucs_2.4-0-20110302134649-dvd-amd64.iso
kopiert von von
/mnt/omar/vmwares/iso-images/ucs/ucs2.4-0-sec1+2/ucs_2.4-0-20110302134649-dvd-amd64.iso
Ebenso trat das Problem auf mit der i386-Variante. Keine Probleme gab es mit
dem Image:
ucs_2.4-0-100829-dvd-amd64.iso

====================
XML-Dump:
<domain type='xen' id='33'>
  <name>test2_ucs_vv_disk0_eth0</name>
  <uuid>52218f3e-0c5f-e1ae-bc80-ce7d0c5c6def</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
    <disk type='file' device='cdrom'>
      <driver name='tap' type='aio'/>
      <source
file='/var/lib/libvirt/images/ucs_2.4-0-20110302134649-dvd-amd64.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:c3:a7:63'/>
      <source bridge='eth0'/>
      <script path='/etc/xen/scripts/vif-bridge'/>
      <target dev='vif33.0'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5904' autoport='yes' listen='0.0.0.0'
keymap='de'/>
  </devices>
</domain>
====================

Darüberhinaus tritt ein Traceback beim Startvorgang des Installers auf, wenn
eine paravirtualisierte Instanz eine paravirtualisierte Festplatte mit einem
vollvirtualisierten CD-Rom-Laufwerk gestartet wird.

====================
...
XENBUS: Waiting for devices to initialise: 295s... ... 125s... Starting syslog
daemon: syslogd, klogd
====================

Der Installer wird daraufhin nicht gestartet. Hier der XML-Dump der Maschine:

====================
<domain type='xen'>
  <name>test2_pv_disk0_eth0</name>
  <uuid>b76b08ff-900c-6967-0c27-bc16775fbf48</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <bootloader>/usr/bin/pygrub</bootloader>
  <bootloader_args>-q</bootloader_args>
  <os>
    <type>linux</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
    <disk type='file' device='cdrom'>
      <driver name='tap2' type='aio'/>
      <source
file='/var/lib/libvirt/images/ucs_2.4-0-20110302134649-dvd-amd64.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='tap2' type='aio'/>
      <source file='/var/lib/libvirt/images/test2_pv_disk0_eth0-0.raw'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:38:bf:38'/>
      <source bridge='eth0'/>
      <script path='vif-bridge'/>
      <target dev='vif-1.0'/>
    </interface>
    <console type='pty'>
      <target type='xen' port='0'/>
    </console>
    <input type='mouse' bus='xen'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'
keymap='de'/>
  </devices>
</domain>
====================
Comment 1 Felix Botner univentionstaff 2011-07-13 17:18:38 CEST
OK, folgende UVMM XEN Installation waren erfolgreich (auf einem UCS 2.4-2 Master mit UVMM und UVMM-XEN):

   * i386 vollvirtualisiert
   * i386 paravirt.
   * amd64 vollvirtualisiert
   * amd64 paravirt.