[ovirt-users] Problem to spice connect without portal

Juan Hernandez jhernand at redhat.com
Mon May 5 12:02:32 EDT 2014


On 05/02/2014 10:15 AM, Jean-Pierre WEISS wrote:
> Hi,
> 
> I've tried to follow the procedure "How to Connect to SPICE Console
> Without Portal"
> (http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal) on
> a Fedora 20 client.
> 
> I can get into the ovirt-shell :
> 
> - ovirt-shell -c -A ./vmvdiserv2.pem -l
> "https://vmvdiserv2.domain.local/ovirt-engine/api" -u admin at internal
> 
> But when I tried to launch the console (console w7-test-2), I got this
> message :
> 
> - Spice viewer was not found, please install spice first
> 
> So I think I miss something but what ? I've installed virt-viewer and
> spice-xpi (the console works well via portal)
> 

The problem is that the console support in the ovirt-shell is based on
the "spicec" command. This command existed in previous versions of
Fedora, but has been replaced by "virt-viewer", and we don't have
support for that yet.

There are two things that you can do to make this work:

1. Change the type of the display of the VM to VNC. The user experience
won't be as good as with Spice, but you will be able to use it with
ovirt-shell.

2. Use a custom Python script to launch virt-viewer. You can find an
example of that attached to the following mail message:

http://lists.ovirt.org/pipermail/users/2014-February/021638.html
http://lists.ovirt.org/pipermail/users/attachments/20140220/91796ca0/attachment.py

> Here are the installed packages on my client :
> 
> spice-glib.i686                        0.23-2.fc20                    
> @updates
> spice-gtk3.i686                        0.23-2.fc20                    
> @updates
> spice-protocol.noarch                  0.12.6-2.fc20                  
> @fedora
> spice-server.i686                      0.12.4-3.fc20                  
> @anaconda
> spice-vdagent.i686                     0.15.0-1.fc20                  
> @updates
> spice-xpi.i686                         2.8.90-1.fc20                  
> @fedora
> 
> ovirt-engine-cli.noarch                3.4.0.5-1.fc20                 
> @updates
> ovirt-engine-sdk-python.noarch         3.4.0.7-1.fc20                 
> @updates
> virt-viewer.i686                       0.6.0-1.fc20                   
> @updates
> 
> Thanks,
> 
>  
> 
> Jean-Pierre WEISS
> 

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.


More information about the Users mailing list