Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Cannot Install a DomU

  1. #1

    Default Cannot Install a DomU

    I have just done a fresh install of 11.4, installed the Xen Kernel and then done a full update.

    When I go into YaST and then to Create Vritual Machines I get the error:

    Failed to start vm-install
    Going into Virtual machine Manager and trying to connect to the hypervisor gives this error:

    Unable to open a connection to the Xen hypervisor/daemon.

    Verify that:
    - A Xen host kernel was booted
    - The Xen service has been started
    unable to connect to 'localhost:8000': Connection refused

    Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/connection.py", line 983, in _try_open
    None], flags)
    File "/usr/lib64/python2.7/site-packages/libvirt.py", line 107, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
    libvirtError: unable to connect to 'localhost:8000': Connection refused
    If I go into Software Management and re-install the xen kernel and reboot these errors go away but If I reboot again it reverts back. Any ideas?

  2. #2
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,743

    Default Re: Cannot Install a DomU

    Quote Originally Posted by Kemra View Post
    I have just done a fresh install of 11.4, installed the Xen Kernel and then done a full update.
    When I go into YaST and then to Create Vritual Machines I get the error:



    Going into Virtual machine Manager and trying to connect to the hypervisor gives this error:





    If I go into Software Management and re-install the xen kernel and reboot these errors go away but If I reboot again it reverts back. Any ideas?
    I think comparing the output of this command between the state when it's working and not working would be a good start for troubleshooting :
    Code:
    uname -a
    Maybe reinstalling the packages changes the default boot kernel ? and then for some reason it changes again ?

    This are just guesses of course

    Best regards,
    Greg
    Best regards,
    Greg
    Box: Windows 7 / Windows XP | Intel Dual-Core E5200 | ATI Radeon HD4850 | 4GB RAM
    Lap: openSUSE 12.3 / Windows 7 | Intel U7300 | KDE | Intel GMA 4500 | Asus UL80A | 3GB RAM

  3. #3

    Default Re: Cannot Install a DomU

    I'll double check it when I'm near the box again later, but I did confirm via uname -a each time I was booted into the correct kernel which really stumped me.

  4. #4
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,743

    Default Re: Cannot Install a DomU

    Quote Originally Posted by Kemra View Post
    I'll double check it when I'm near the box again later, but I did confirm via uname -a each time I was booted into the correct kernel which really stumped me.
    Then I've got no idea what might be wrong. I've got some experience but only with XenServer by Citrix and have never run into such problems.
    I admit I never tried to install Xen on openSUSE

    Best regards,
    Greg
    Best regards,
    Greg
    Box: Windows 7 / Windows XP | Intel Dual-Core E5200 | ATI Radeon HD4850 | 4GB RAM
    Lap: openSUSE 12.3 / Windows 7 | Intel U7300 | KDE | Intel GMA 4500 | Asus UL80A | 3GB RAM

  5. #5

    Default Re: Cannot Install a DomU

    I did do a considerable Google search before posting here and for most it was down to mismatching xen and xen-tools versions which isn't my problem. I'll try it again and failing that I'll just re-install.

  6. #6

    Default Re: Cannot Install a DomU

    Still got the problem, even did a re-install to check.

    kaon:/home/danny # uname -a
    Linux kaon.cybertron.local 2.6.37.6-0.7-xen #1 SMP 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux
    kaon:/home/danny # ps -ef | grep xen
    root 15 2 0 19:54 ? 00:00:00 [xenwatch]
    root 16 2 0 19:54 ? 00:00:00 [xenbus]
    root 1735 1 0 19:55 ? 00:00:00 xenstored
    root 1742 1 0 19:55 ? 00:00:00 xenconsoled --pid-file=/var/run/xenconsoled.pid
    root 2017 1 0 19:55 ? 00:00:00 /usr/bin/python /usr/sbin/xend start
    root 2019 2017 0 19:55 ? 00:00:00 /usr/bin/python /usr/sbin/xend start
    root 2975 2956 0 20:00 pts/1 00:00:00 grep xen

  7. #7
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,743

    Default Re: Cannot Install a DomU

    Maybe You are affected by this bug ? Did You read this bug report already ?
    [Bug 685064] New: XEN: Kernel image does not exist: /tmp/kernel.xxxx whe

    Best regards,
    Greg
    Best regards,
    Greg
    Box: Windows 7 / Windows XP | Intel Dual-Core E5200 | ATI Radeon HD4850 | 4GB RAM
    Lap: openSUSE 12.3 / Windows 7 | Intel U7300 | KDE | Intel GMA 4500 | Asus UL80A | 3GB RAM

  8. #8

    Default Re: Cannot Install a DomU

    Doesn't look like the same thing. That bug seems to refer to a none booting domU and I can't even get that far.

  9. #9

    Default Re: Cannot Install a DomU

    Fixed by someone over at Unix Stackexchange: virtual machine - Xen on openSUSE 11.4 - Unix and Linux - Stack Exchange.

    Simply run:

    chkconfig xencommons off
    then reboot.

  10. #10
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,743

    Default Re: Cannot Install a DomU

    Thanks a lot for the feedback

    Hope this will help others as well.

    Best regards,
    Greg
    Best regards,
    Greg
    Box: Windows 7 / Windows XP | Intel Dual-Core E5200 | ATI Radeon HD4850 | 4GB RAM
    Lap: openSUSE 12.3 / Windows 7 | Intel U7300 | KDE | Intel GMA 4500 | Asus UL80A | 3GB RAM

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •