<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 05/09/2014 09:58 PM, Sureshkumar
      Thirugnanasambandan wrote:<br>
    </div>
    <blockquote
      cite="mid:1353615955.2752464.1399643920924.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">

----- Original Message -----
</pre>
      <blockquote type="cite">
        <pre wrap="">From: "Tingting Zheng" <a class="moz-txt-link-rfc2396E" href="mailto:tzheng@redhat.com"><tzheng@redhat.com></a>
To: "Sureshkumar Thirugnanasambandan" <a class="moz-txt-link-rfc2396E" href="mailto:sthirugn@redhat.com"><sthirugn@redhat.com></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:Virt-qe-list@redhat.com">Virt-qe-list@redhat.com</a>, <a class="moz-txt-link-abbreviated" href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a>
Sent: Thursday, May 8, 2014 11:12:00 PM
Subject: Re: rhel7 + virt-manager


----- Original Message -----
| From: "Sureshkumar Thirugnanasambandan" <a class="moz-txt-link-rfc2396E" href="mailto:sthirugn@redhat.com"><sthirugn@redhat.com></a>
| To: <a class="moz-txt-link-abbreviated" href="mailto:Virt-qe-list@redhat.com">Virt-qe-list@redhat.com</a>
| Sent: Friday, May 9, 2014 3:30:17 AM
| Subject: rhel7 + virt-manager

| I am not able to provision VMs using virt-manager in rhel 7.  It opens the
| virt-manager UI, but it is not letting me type or click anything to
| provision the VM.  Anybody encountered this problem before?


Hi,Sureshkumar
   Do you launch virt-manager on your local host or use ssh -X then launch
   virt-manager on remote host?And would you pls paste your virt-manager
   vesrion and virt-manager --debug info?
</pre>
      </blockquote>
      <pre wrap="">
Hi Tingting, 
Thank you for your response.

I do a ssh -X to the remote host and launch virt-manager from there.</pre>
    </blockquote>
    <br>
    What about launching virt-manager from your local host?<br>
    <br>
    <blockquote
      cite="mid:1353615955.2752464.1399643920924.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">

#rpm -qa | grep virt-manager
virt-manager-common-0.10.0-20.el7.noarch
virt-manager-0.10.0-20.el7.noarch</pre>
    </blockquote>
    <br>
    I tried this version of virt-manager,it works well both on my local
    host and remote host through ssh -X.<br>
    <br>
    <blockquote
      cite="mid:1353615955.2752464.1399643920924.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">

#virt-manager --debug
- please find the debug info here: <a class="moz-txt-link-freetext" href="http://pastebin.test.redhat.com/208122">http://pastebin.test.redhat.com/208122</a></pre>
    </blockquote>
    <br>
    I see the error from the debug info,it is still some issue about
    dbus service,I am not sure whether it is the same issue with bug
    1035368,cc'd martin for further checking.<br>
    <ol>
      <li class="li2">
        <div class="de2">2014-05-09 09:55:26,732 (packageutils:130):
          Error searching for installed packages</div>
      </li>
      <li class="li1">
        <div class="de1">Traceback (most recent call last):</div>
      </li>
      <li class="li2">
        <div class="de2">  File
          "/usr/share/virt-manager/virtManager/packageutils.py", line
          123, in _do_async_search</div>
      </li>
      <li class="li1">
        <div class="de1">    cancellable)</div>
      </li>
      <li class="li2">
        <div class="de2">  File
          "/usr/share/virt-manager/virtManager/packageutils.py", line
          152, in packagekit_search</div>
      </li>
      <li class="li1">
        <div class="de1">    tid = pk_control.CreateTransaction()</div>
      </li>
      <li class="li2">
        <div class="de2">  File
          "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line
          171, in __call__</div>
      </li>
      <li class="li1">
        <div class="de1">    None)</div>
      </li>
      <li class="li2">
        <div class="de2">  File
          "/usr/lib64/python2.7/site-packages/gi/types.py", line 113, in
          function</div>
      </li>
      <li class="li1">
        <div class="de1">    return info.invoke(*args, **kwargs)</div>
      </li>
      <li class="li2">
        <div class="de2">GError:
          GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The
          name org.freedesktop.PackageKit was not provided by any
          .service files</div>
      </li>
    </ol>
    <br>
    <br>
    <blockquote
      cite="mid:1353615955.2752464.1399643920924.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">| 
| # virt-manager
| ** (virt-manager:2325): WARNING **: Couldn't connect to accessibility bus:
| Failed to connect to socket /tmp/dbus-ajPU0WKfED: Connection refused



I once tried to kill dbus dameon on remote machine manually,then ssh to that
machine and try to launch virt-manager,I will get the similar error:

Error starting Virtual Machine Manager: Failed to contact configuration
server; some possible causes are that you need to enable TCP/IP networking
for ORBit, or you have stale NFS locks due to a system crash. See
<a class="moz-txt-link-freetext" href="http://projects.gnome.org/gconf/">http://projects.gnome.org/gconf/</a> for information. (Details -  1: Failed to
get connection to session: Failed to connect to socket /tmp/dbus-LZlim7hIEG:
Connection refused)

Bug for reference:<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1035368#c4">https://bugzilla.redhat.com/show_bug.cgi?id=1035368#c4</a>
</pre>
      </blockquote>
      <pre wrap="">
Sad that the bug is closed with no action.

</pre>
      <blockquote type="cite">
        <pre wrap="">
| --
| Suresh Thirugnanasambandan| Sr. Quality Engineer | irc: sthirugn



</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>