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

Thread: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

  1. #1

    Default openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    I have an openSUSE 13.1 (Bottle) (x86_64) with the Virtualization
    repository:

    jrc@skylon:~> uname -a
    Linux skylon 3.11.6-4-xen #1 SMP Wed Oct 30 18:04:56 UTC 2013
    (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux
    jrc@skylon:~> rpm -q virt-manager
    virt-manager-0.9.5-6.1.3.x86_64
    jrc@skylon:~> rpm -q -a | fgrep -i qemu
    qemu-1.6.0-4.2.1.x86_64
    qemu-sgabios-8-4.2.1.noarch
    libvirt-daemon-qemu-1.1.2-8.1.x86_64
    qemu-ipxe-1.0.0-4.2.1.noarch
    qemu-tools-1.6.0-4.2.1.x86_64
    qemu-vgabios-0.6c-4.2.1.noarch
    qemu-seabios-1.7.2.2-4.2.1.noarch
    libvirt-daemon-driver-qemu-1.1.2-8.1.x86_64
    jrc@skylon:~>

    but I have been unable to connect to localhost (QEMU) using Virtual
    Machine Manager. The symptoms are that I click "connect"; a System
    Policy dialog box appears; I enter the root password; and receive the
    following response:

    ----------------------------------------------------------------------
    Error polling connection 'qemu:///system': An error occurred, but the
    cause is unknown

    None
    ----------------------------------------------------------------------

    I found this in /var/log/messages:
    ----------------------------------------------------------------------
    2013-12-19T10:26:26.447210+00:00 skylon polkitd[1331]: Operator of
    unix-session:1 successfully authenticated as unix-user:root to gain
    TEMPORARY authorization for action org.libvirt.unix.manage for
    unix-process:6450:77874 [python
    /usr/share/virt-manager/virt-manager.py] (owned by unix-user:jrc)
    ----------------------------------------------------------------------
    which suggests that the polkit authentication may have been sucessful.

    However, there are also a large number of messages of the form:
    ----------------------------------------------------------------------
    2013-12-19T10:26:26.783822+00:00 skylon libvirtd[3432]: Cannot create
    route - destination and gw are both 0/0
    2013-12-19T10:26:26.785289+00:00 skylon libvirtd[3432]: Cannot create
    route from netlink message: No such file or directory
    ----------------------------------------------------------------------

    Any suggestions as to what I need to do to fix this?

  2. #2

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    Quote Originally Posted by john_connett View Post
    However, there are also a large number of messages of the form:
    ----------------------------------------------------------------------
    2013-12-19T10:26:26.783822+00:00 skylon libvirtd[3432]: Cannot create
    route - destination and gw are both 0/0
    2013-12-19T10:26:26.785289+00:00 skylon libvirtd[3432]: Cannot create
    route from netlink message: No such file or directory
    ----------------------------------------------------------------------
    This describes a fix for the large number of messages:
    [Bug 854165] server:virtualisation libvirtd spamming syslog

    No effect on the QEMU connection problem.

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    I saw something like what you describe in 12.3 and KVM awhile back.
    May not help you, but my problems were resolved by
    - Running "zypper up" to get all latest updates before attempting to launch any kind of virtualization (patching is insufficient)
    - Force re-install (or the alternative uninstall/re-install) virtualization components (followed by zypper up)

    Knock on wood, problems never had to be reported since none persisted so I felt were "individual" issues.
    I seem to remember seeing similar syslog issues about being "unable to connect to local server"
    Of course, I also went through searching for dependency services which might not have started but didn't find any so IMO although it might still warrant a search I felt my efforts at the time were a waste of time.

    TSU

  4. #4

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    Quote Originally Posted by john_connett View Post

    No effect on the QEMU connection problem.
    I had similar problems. My solution was:

    1) Use all packages from the repository
    http://download.opensuse.org/reposit...openSUSE_13.1/

    2) Then try replacing the kvm package by qemu-kvm.

    Step 2 solved all the problems I ran into after upgrading a KVM host from Opensuse 12.3 to 13.1.
    Good luck !
    Ralph

  5. #5
    Join Date
    Feb 2009
    Location
    Netherlands
    Posts
    73

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    I'm just hitting the same issue, after updating the machine with 'zypper up'. (Previous one was on 2014-02-12)
    There was one dependency conflict though, which might have something to do with it:

    Code:
    #### YaST2 conflicts list - generated 2014-03-20 19:05:32 ####
    
    nothing provides grub2-x86_64-xen needed by vm-install-0.8.9-202.1.x86_64
    
        [ ] do not install vm-install-0.8.9-202.1.x86_64
    
        [ ] break vm-install-0.8.9-202.1.x86_64 by ignoring some of its dependencies
    
    
    
    
    #### YaST2 conflicts list END ###
    I can't find grub2-x86_64-xen, so I reported this in bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=869479

    This is what I see in /var/log/messages after a 'rclibvirtd restart' and after starting the 'virtual machine manager':

    Code:
    2014-03-20T20:13:05.243315+01:00 vmhost systemd[1]: Cannot add dependency job for unit xencommons.service, ignoring: Unit xencommons.service failed to load: No such file or directory.
    2014-03-20T20:13:05.243716+01:00 vmhost systemd[1]: Stopping Virtualization daemon...
    2014-03-20T20:13:05.248053+01:00 vmhost systemd[1]: Starting Virtualization daemon...
    2014-03-20T20:13:05.269466+01:00 vmhost systemd[1]: Started Virtualization daemon.
    2014-03-20T20:13:05.349532+01:00 vmhost libvirtd[8016]: libvirt version: 1.2.2
    2014-03-20T20:13:05.349882+01:00 vmhost libvirtd[8016]: Configured security driver "none" disables default policy to create confined guests
    2014-03-20T20:13:34.543386+01:00 vmhost polkitd[1297]: Operator of unix-session:4 successfully authenticated as unix-user:root to gain TEMPORARY authorization for action org.libvirt.unix.manage for unix-process:8104:239704 [/usr/bin/python2 -tt /usr/share/virt-manager/virt-manager] (owned by unix-user:wilfred)
    2014-03-20T20:20:17.868274+01:00 vmhost libvirtd[8016]: End of file while reading data: Input/output error
    I'm already using the visualization repository and using qemu-kvm...

    Any help would be appreciated!

  6. #6

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    Quote Originally Posted by wvv View Post
    ... nothing provides grub2-x86_64-xen needed by vm-install-0.8.9-202.1.x86_64
    Can confirm !
    It worked with the previous version vm-install-0.8.7-199.1
    from the virtualization repository for me.


    However, upgrading to version
    vm-install-0.8.9-202.1
    results in the error you describe.
    I think SuSE has to do something about it.
    (It somehow disappointing that one cannot rely on the consistency of the package bundling in the virtualization repo with the standard repos of Opensuse.)

  7. #7
    Join Date
    Feb 2009
    Location
    Netherlands
    Posts
    73

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    Quote Originally Posted by moenchmeyer View Post
    Can confirm !
    However, upgrading to version
    vm-install-0.8.9-202.1
    results in the error you describe.
    But is your virtual machine manager still working? That's my main problem.

    I think SuSE has to do something about it.
    (It somehow disappointing that one cannot rely on the consistency of the package bundling in the virtualization repo with the standard repos of Opensuse.)
    See a comment on the bug I referenced in my previous post. They regard the virtualization repo as "bleeding edge". If that is the case, why isn't it marked as such? The name "Virtualization" doesn't suggest any thing like that, and it's a repository for a release version, not Factory! ...

  8. #8
    Join Date
    Feb 2009
    Location
    Netherlands
    Posts
    73

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    Today's 'zypper up' fixed the dependency conflict. But the "Error polling connection 'qemu:///system': An error occurred, but the cause is unknown" remains when I start the virtual machine manager...

  9. #9
    Join Date
    Aug 2010
    Location
    Volgograd, Russia
    Posts
    91

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    I have same issue.

  10. #10

    Default Re: openSUSE 13.1 + Virtualization rep: Virt-manager QEMU problem?

    Quote Originally Posted by wvv View Post
    But is your virtual machine manager still working? That's my main problem.
    Sorry for a late answer. Actually, I did not test that. It may take some time, because I do not want to expose my productive KVM server into danger. So I have to make a copy of that machine or try it on a different Opensuse 13.1 installation. I come back when I have some results.

Page 1 of 2 12 LastLast

Posting Permissions

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