Bug 1033335 - bogus 'python requires additional software' error message on first launch
Summary: bogus 'python requires additional software' error message on first launch
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 21:29 UTC by Chris Murphy
Modified: 2013-12-18 20:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-18 20:49:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (776.27 KB, image/png)
2013-11-21 21:29 UTC, Chris Murphy
no flags Details
virt-manager --debug (1.36 KB, text/plain)
2013-11-22 01:06 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2013-11-21 21:29:41 UTC
Created attachment 827458 [details]
screenshot

Description of problem: Upon first launch, virt-manager pops up a message that additional software is required. rpm -q shows these packages as already installed.


Version-Release number of selected component (if applicable):
virt-manager-0.10.0-5.git1ffcc0cc.fc20.noarch

How reproducible:
Only on first launch. After cancelling the dialog and relaunching the message doesn't occur.

Steps to Reproduce:
1. Install F20 final live desktop TC2
2. yum groupinstall Virtualization
3. reboot
4. launch virt-manager

Actual results:
dialog indicates additional software needs to be installed

Expected results:
not this

Additional info:

Comment 1 Chris Murphy 2013-11-22 01:06:18 UTC
Created attachment 827530 [details]
virt-manager --debug

Clean install, then ran virt-manager --debug.

Comment 2 Reartes Guillermo 2013-12-04 23:09:30 UTC
+1 

When i try to launch Virt-Manager, a pop-up dialog says it want to
install some packages... But i already installed the Virtualization group...

The package it want to install are:

qemu-system-x86
libvirt-daemon-kvm
libvirt-daemon-kvm-config-network

# yum groupinstall virtualization
Loaded plugins: langpacks, refresh-packagekit
No packages in any requested group available to install or update

# yum install qemu-system-x86 libvirt-daemon-kvm
libvirt-daemon-kvm-config-network
Loaded plugins: langpacks, refresh-packagekit
Package 2:qemu-system-x86-1.6.1-2.fc20.x86_64 already installed and
latest version
Package libvirt-daemon-kvm-1.1.3.1-2.fc20.x86_64 already installed and
latest version
No package libvirt-daemon-kvm-config-network available.

If i follow the popup, it also fails to install:

Error talking to PackageKit:
GDBus.Error:org.freedesktop.PackageKit.Failed: The packages
qemu-system-x86,libvirt-daemon-kvm,libvirt-daemon-config-network are
already installed

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/packageutils.py", line 54,
in check_packagekit
    packagekit_install(parent, packages)
  File "/usr/share/virt-manager/virtManager/packageutils.py", line 88,
in packagekit_install
    timeout=timeout)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line
171, in __call__
    None)
GError: GDBus.Error:org.freedesktop.PackageKit.Failed: The packages
qemu-system-x86,libvirt-daemon-kvm,libvirt-daemon-config-network are
already installed

I am launching Virt-Manager via a ssh -Y session for the first time
after install. I know for past experience that Virt-Manager always
request something.

So it seems harmless as Virt-Manager does run after the dialog.
If i close Virt-Manager and launch it again, the pop-up luckily does not appear.

I am using the latest iso TC4 and it is fully updated.

Comment 3 Cole Robinson 2013-12-18 20:49:58 UTC
This is sub-optimal, but it is intentional here. If we want to check for the packages first, we have to reimplement a chunk of gnome-packagekit. We did that for a while but it was error prone and tough to get right, so I removed it.

Now we just call out to packagekit, but it basically merges the check and install steps. If the packages are installed, it should just show a 'packages already installed' message after the initial dialog, and virt-manager should move on (though we are too noisy here, which is bug #1034693, but that's fixed upstream now).

So this is acting as intended. Closing as WONTFIX


Note You need to log in before you can comment on or make changes to this bug.