Problem to spice connect without portal

--=_0baec67f755457585e821a05d98cbd50 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 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 [1]) 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@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) 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 Links: ------ [1] http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal --=_0baec67f755457585e821a05d98cbd50 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html><body> <p>Hi,</p> <p>I've tried to follow the procedure "<span>How to Connect to SPICE Consol= e Without Portal</span>" (<a href=3D"http://www.ovirt.org/How_to_Connect_to= _SPICE_Console_Without_Portal">http://www.ovirt.org/How_to_Connect_to_SPICE= _Console_Without_Portal</a>) on a Fedora 20 client.</p> <p>I can get into the ovirt-shell :</p> <p>- ovirt-shell -c -A ./vmvdiserv2.pem -l "https://vmvdiserv2.domain.local= /ovirt-engine/api" -u admin@internal</p> <p>But when I tried to launch the console (console w7-test-2), I got this m= essage :</p> <p>- Spice viewer was not found, please install spice first</p> <p>So I think I miss something but what ? I've installed virt-viewer and sp= ice-xpi (the console works well via portal)</p> <p>Here are the installed packages on my client :</p> <p>spice-glib.i686 &nb= sp; = 0.23-2.fc20 &nb= sp; @updates<br= />spice-gtk3.i686 &nb= sp; = 0.23-2.fc20 &nb= sp; @updates<br= />spice-protocol.noarch &nb= sp; 0.12.6-2.fc20 &nbs= p; &= nbsp; @fedora<br />spice-server.i686 &nb= sp; = 0.12.4-3.fc20 &= nbsp; &nbs= p; @anaconda<br />spice-vdagent.i686 &nb= sp; = 0.15.0-1.fc20 &= nbsp; @updates<br />spice-x= pi.i686 &n= bsp;  = ; 2.8.90-1.fc20 = @fedora<br /><br />ovirt-e= ngine-cli.noarch  = ; 3.4.0.5-1.fc20  = ; @= updates<br />ovirt-engine-sdk-python.noarch &n= bsp; 3.4.0.7-1.fc20 &n= bsp; @updates<br />vi= rt-viewer.i686 &= nbsp; 0= =2E6.0-1.fc20 &n= bsp; @updates<br /><br /></= p> <p>Thanks,</p> <p> </p> <div><span style=3D"font-family: trebuchet ms,sans-serif;"><span style=3D"c= olor: #20124d;"><span style=3D"text-decoration: underline;">Jean-Pierre WEI= SS</span><br /></span></span></div> </body></html> --=_0baec67f755457585e821a05d98cbd50--

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@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/attachm...
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.
participants (2)
-
Jean-Pierre WEISS
-
Juan Hernandez