[Users] [Spice-devel] Really need serious help with spice (its just not working !!) - attached ~/.spicec/spicec.log

David Jaša djasa at redhat.com
Wed Mar 21 16:47:26 UTC 2012


Yaniv Kaul píše v St 21. 03. 2012 v 18:21 +0200:
> On 03/21/2012 05:52 PM, David Jaša wrote:
> > Hi,
> >
> > Itamar Heim píše v St 21. 03. 2012 v 17:28 +0200:
> >> cc'ing spice-devel
> >>
> >> On 03/20/2012 07:01 PM, Morgan Cox wrote:
> >>> Hi.
> >>>
> >>> My Setup - 3 servers
> >>>
> >>> 1 Frontend (ovirt engine) - Fedora 16    - external + local IP
> >>> 1 Ovirt node (using the node .iso)   - external + local IP
> >>> 1 NFS storage - external + local IP - I attached the storage using the
> >>> Local IP (10.0.0.190)
> >>>
> >>> I have launched firefox with -  SPICEC_LOG_LEVEL=0 firefox
> >>>
> >>> I create a VM, turn it on - click the spice console button - it crashes
> >>>
> >>> I can see
> >>>
> >>> Warning: failed to connect: Connection refused (111)
> >>>
> >>>    ~/.spicec/spicec.log  ( I have removed the IP / domain name)
> >>> -------------------------------------------------------------------------
> >>>
> >>>
> >>> 1332262683 INFO [5895:5895] Application::main: starting 0.10.0
> >>> 1332262683 DEBUG [5895:5895] Application::Application:
> >>> 1332262683 DEBUG [5895:5895] HotKeysParser::HotKeysParser: hotkeys =
> >>> toggle-fullscreen=shift+f11,release-cursor=shift+f12
> >>> 1332262683 DEBUG [5895:5895] HotKeysParser::add_key: keys = shift
> >>> 1332262683 DEBUG [5895:5895] HotKeysParser::add_key: keys = f11
> >>> 1332262683 DEBUG [5895:5895] HotKeysParser::add_key: keys = shift
> >>> 1332262683 DEBUG [5895:5895] HotKeysParser::add_key: keys = f12
> >>> 1332262683 DEBUG [5895:5895] Platform::init:
> >>> 1332262683 INFO [5895:5895] init_key_map: using evdev mapping
> >>> 1332262683 INFO [5895:5895] MultyMonScreen::MultyMonScreen:
> >>> platform_win: 104857601
> >>> 1332262683 INFO [5895:5895] ForeignMenu::ForeignMenu: Creating a foreign
> >>> menu connection /tmp/SpiceForeignMenu-5895.uds
> >>> 1332262683 DEBUG [5895:5895] LinuxListener::LinuxListener: listening
> >>> socket - /tmp/SpiceForeignMenu-5895.uds, added to events_loop
> >>> 1332262683 INFO [5895:5895] Controller::Controller: Creating a
> >>> controller connection /tmp/spicec-y6x224/spice-xpi
> >>> 1332262683 DEBUG [5895:5895] LinuxListener::LinuxListener: listening
> >>> socket - /tmp/spicec-y6x224/spice-xpi, added to events_loop
> >>> 1332262684 DEBUG [5895:5895] LinuxListener::on_event: New connection
> >>> created, fd: 22
> >>> 1332262686 DEBUG [5895:5895] Application::set_host_cert_subject: subject
> >>> entry: O=frontend.ovirt.domain.co.uk<http://frontend.ovirt.domain.co.uk>
> >>> 1332262686 DEBUG [5895:5895] Application::set_host_cert_subject: subject
> >>> entry: CN=91.***.***.***
> >>> 1332262686 DEBUG [5895:5895] HotKeysParser::HotKeysParser: hotkeys =
> >>> release-cursor=shift+f12,toggle-fullscreen=shift+f11
> >>> 1332262686 DEBUG [5895:5895] HotKeysParser::add_key: keys = shift
> >>> 1332262686 DEBUG [5895:5895] HotKeysParser::add_key: keys = f12
> >>> 1332262686 DEBUG [5895:5895] HotKeysParser::add_key: keys = shift
> >>> 1332262686 DEBUG [5895:5895] HotKeysParser::add_key: keys = f11
> >>> 1332262686 DEBUG [5895:5896] RedPeer::connect_to_peer: Trying
> >>> 91.***.***.***.*** 65535
> > ^^^ this looks suspicious. It seems like no port is passed to the client
> > from User Portal and spice-xpi subsequently tries 65535.
> >
> > David
> >
> >>> 1332262686 INFO [5895:5896] RedPeer::connect_to_peer: Connect failed:
> >>> Connection refused (111)
> 
> But then why would the connection be REFUSED? You should get (AFAIR), 
> timeout (110).

Because nothing listens on port 65535. I've created a spice-xpi for to
handle such situations better:
https://bugzilla.redhat.com/show_bug.cgi?id=805602

see the pasted log - the mode of failure is exactly the same.

David

> I suggest getting the VM's QEMU logs as well.
> Y.
> 
> >>> 1332262686 WARN [5895:5896] RedChannel::run: failed to connect:
> >>> Connection refused (111)
> >>> 1332262686 INFO [5895:5895] main: Spice client terminated (exitcode = 3)
> >>> 1332262686 DEBUG [5895:5895] cleanup:
> >>>
> >>> -------------------------------------------------------------------------
> >>>
> >>> The IP it seems to be trying is the external IP of the Ovirt node...
> >>>
> >>>
> >>>
> >>> ~/.spicec/spice-xpi.log  shows
> >>> -------------------------------------------------------------------------
> >>> 2012-03-20 16:58:03,134 ERROR nsPluginInstance::Connect: ERROR failed to
> >>> run spice-xpi-client
> >>> 2012-03-20 16:58:06,260 ERROR nsPluginInstance::CallOnDisconnected:
> >>> OnDisconnected is not object
> >>> -------------------------------------------------------------------------
> >>>
> >>> Any ideas ?
> >>>
> >>> Also is there any way of adding a ovirt node via host name rather than
> >>> IP - I can't seem to using the ovirt node / ovirt engine.
> >>>
> >>> Any help will be welcomed
> >>>
> >>> Regards
> >>>
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at ovirt.org
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >> _______________________________________________
> >> Spice-devel mailing list
> >> Spice-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24






More information about the Users mailing list