Bug 6585 - virt-manager are not run
: virt-manager are not run
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: -Enter Bugs Here-
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: Desktop Triage Team
: Desktop Triage Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-15 10:26 MSK by Yaroslav
Modified: 2016-04-18 12:37 MSD (History)
2 users (show)

See Also:
RPM Package: virt-manager-0.9.4-2-rosa2014.1
ISO-related:
Bad POT generating:
Upstream:


Attachments
List of installed packages with python. (5.69 KB, text/plain)
2016-01-15 10:26 MSK, Yaroslav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav 2016-01-15 10:26:16 MSK
Created attachment 4349 [details]
List of installed packages with python.

There is not same bug, that Bug 6094

Before New Year holiday it was work.

Description of problem:
$ virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 386, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 247, in main
    from virtManager import cli
  File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
    import libvirt
ImportError: No module named libvirt

$ virt-manager-tui 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager-tui.py", line 20, in <module>
    from newt_syrup.dialogscreen import DialogScreen
ImportError: No module named newt_syrup.dialogscreen


I have update:
29.12.2015 with shutdown in 30.12.2015),
13.01.2016 without reboot before this time.

How reproducible:
Run virt-manager
Comment 1 Vladimir Potapov 2016-01-15 10:52:45 MSK
# systemctl start libvirtd.service 
resolve the issue for me
Comment 2 Denis Silakov 2016-01-15 11:50:44 MSK
(In reply to comment #0)

> Description of problem:
> $ virt-manager
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virt-manager.py", line 386, in <module>
>     main()
>   File "/usr/share/virt-manager/virt-manager.py", line 247, in main
>     from virtManager import cli
>   File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
>     import libvirt
> ImportError: No module named libvirt

Failed to reproduce this, do you have "python-libvirt" installed?
 
> $ virt-manager-tui 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virt-manager-tui.py", line 20, in <module>
>     from newt_syrup.dialogscreen import DialogScreen
> ImportError: No module named newt_syrup.dialogscreen

Some requirements are missing - python-newt_syrup and several others are not specified in package requirements. I wonder if tui worked for you before, but maybe you had python-newt_syrup installed some time ago and then removed it?
Comment 3 Denis Silakov 2016-01-15 12:54:19 MSK
Please try updated virt-manager, it should at least install all packages necessary for tui.
Comment 4 Yaroslav 2016-01-16 07:01:39 MSK
(In reply to comment #1)
> # systemctl start libvirtd.service 
> resolve the issue for me

It does not help!


(In reply to comment #2)
> (In reply to comment #0)
> 
> > Description of problem:
> > $ virt-manager
> > Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virt-manager.py", line 386, in <module>
> >     main()
> >   File "/usr/share/virt-manager/virt-manager.py", line 247, in main
> >     from virtManager import cli
> >   File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
> >     import libvirt
> > ImportError: No module named libvirt
> 
> Failed to reproduce this, do you have "python-libvirt" installed?

Yes.
rpm -qa | grep python-libvirt
python-libvirt-1.1.4-3-rosa2014.1.x86_64

> > $ virt-manager-tui 
> > Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virt-manager-tui.py", line 20, in <module>
> >     from newt_syrup.dialogscreen import DialogScreen
> > ImportError: No module named newt_syrup.dialogscreen
> 
> Some requirements are missing - python-newt_syrup and several others are not
> specified in package requirements. I wonder if tui worked for you before,
> but maybe you had python-newt_syrup installed some time ago and then removed
> it?
This package really was not.
But I did not delete.

But Virt Manager not started.

virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 386, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 247, in main
    from virtManager import cli
  File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
    import libvirt
ImportError: No module named libvirt


python-libvirt-1.1.4-3-rosa2014.1.x86_64 is installed
Comment 5 Yaroslav 2016-01-16 12:14:47 MSK
sudo systemctl start libvirtd.service
sudo systemctl status libvirtd.service
● libvirtd.service - Virtualization daemon
   Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Сб 2016-01-16 14:12:08 NOVT; 1s ago
  Process: 16560 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 16560 (code=exited, status=0/SUCCESS)

янв 16 14:12:08 admin.sibgipro.ru systemd[1]: Started Virtualization daemon.
янв 16 14:12:08 admin.sibgipro.ru systemd[1]: Starting Virtualization daemon...
янв 16 14:12:08 admin.sibgipro.ru libvirtd[16560]: libvirt version: 1.1.4
Comment 6 Denis Silakov 2016-04-17 17:48:06 MSD
Do you still see this issue? Now I actively use virt-manager during my work tasks and at least it starts fine.
Comment 7 Yaroslav 2016-04-18 07:15:48 MSD
Everything is working.
The problem was an error updating Python. After a forced reinstall Python packages and modules, everything was working fine.
Comment 8 Denis Silakov 2016-04-18 12:37:10 MSD
That's nice! Closing then.