[Users] No spice connection - Remote-Viewer quits after a few seconds

David Jaša djasa at redhat.com
Tue Dec 4 11:16:41 UTC 2012


Einav,

Dennis's previous logs suggest that he's using spicex/IE/windows, not xpi/firefox/linux.


Dennis,

could you go through my last week conversation with Karli Sjöberg and repeat the debugging steps described there?

David


Einav Cohen píše v Po 03. 12. 2012 v 14:52 -0500:
> Hi Dennis, 
> 
> We need some more information that can be useful to us in order to try solving the problem. 
> Can you please follow the instructions below for getting more detailed logs and reply with the results?
> 
> 1. Set spice-xpi log level to DEBUG (for versions < 2.8, modify 
> logger.ini).
> 
> 2. Verify which client is running (we should get that from 1), e.g. 
> by using top, or checking alternatives.
> 
> 3. Getting version: rpm -q spice-xpi virt-viewer spice-client
> 
> 4. client/remote-viewer logs:
> 
>   For spicec, there should be a file ~/.spicec/spicec.log
> 
>   For remote-viewer:
>     In order to also get log messages of remote-viewer, run firefox from shell.
>     For debug level log messages, the following environment variables should 
>     be set, for example
>     $ export SPICE_DEBUG=1
>     $ export G_DEBUG_MESSAGES=all
>     $ firefox
> 
> ----
> Thanks,
> Einav
> 
> ----- Original Message -----
> > From: "Dennis Böck" <dennis at webdienstleistungen.com>
> > To: "Itamar Heim" <iheim at redhat.com>
> > Cc: "users at oVirt.org" <users at ovirt.org>
> > Sent: Sunday, December 2, 2012 5:28:58 PM
> > Subject: Re: [Users] No spice connection - Remote-Viewer quits after a few seconds
> > 
> > I have the same problem, if I try to connect from admin portal.
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: Itamar Heim [mailto:iheim at redhat.com]
> > Gesendet: Samstag, 24. November 2012 23:47
> > An: Dennis Böck
> > Cc: users at oVirt.org
> > Betreff: Re: [Users] No spice connection - Remote-Viewer quits after
> > a few seconds
> > 
> > On 11/23/2012 11:04 PM, Dennis Böck wrote:
> > > Here are some logs:
> > 
> > is the same working from admin portal?
> > 
> > >
> > > 1351785267 INFO [4504:4560] spicex_log_cleanup: done
> > > 1351785268 INFO [3788:5440] spicex_log_cleanup: done
> > > 1351867007 INFO [4868:4916] spicex_init_logger: started
> > > 1351867007 INFO [4868:4916] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1351867007 INFO [4868:4916] COSpiceX::Connect: spicec pid 4948
> > > 1351867013 ERROR [4868:4916] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1351867038 INFO [4868:4916] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1351867038 INFO [4868:4916] COSpiceX::Connect: spicec pid 2732
> > > 1351867043 ERROR [4868:4916] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1351867169 INFO [4868:4916] spicex_log_cleanup: done
> > > 1353687854 INFO [4568:2008] spicex_init_logger: started
> > > 1353687854 INFO [4568:2008] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1353687854 INFO [4568:2008] COSpiceX::Connect: spicec pid 5776
> > > 1353687860 ERROR [4568:2008] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1353687901 INFO [3064:6084] spicex_init_logger: started
> > > 1353687901 INFO [3064:6084] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1353687901 INFO [3064:6084] COSpiceX::Connect: spicec pid 1576
> > > 1353687906 ERROR [3064:6084] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1353687928 INFO [3064:6084] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1353687928 INFO [3064:6084] COSpiceX::Connect: spicec pid 2412
> > > 1353687934 ERROR [3064:6084] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1353688155 INFO [3064:6084] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1353688155 INFO [3064:6084] COSpiceX::Connect: spicec pid 3108
> > > 1353688161 ERROR [3064:6084] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1353688247 INFO [3064:6084] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1353688247 INFO [3064:6084] COSpiceX::Connect: spicec pid 3792
> > > 1353688252 ERROR [3064:6084] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > > 1353688564 INFO [3064:6084] COSpiceX::put_FullScreen: New
> > > FullScreen
> > > request newVal=0x0
> > > 1353688564 INFO [3064:6084] COSpiceX::Connect: spicec pid 5472
> > > 1353688569 ERROR [3064:6084] COSpiceX::Connect: failed to connect
> > > to
> > > spice client pipe
> > >
> > > ________________________________________
> > > Von: Itamar Heim [iheim at redhat.com]
> > > Gesendet: Donnerstag, 1. November 2012 19:33
> > > An: Simon Grinberg
> > > Cc: Dennis Böck; users at oVirt.org
> > > Betreff: Re: [Users] No spice connection - Remote-Viewer quits
> > > after a
> > > few seconds
> > >
> > > On 11/01/2012 06:04 PM, Simon Grinberg wrote:
> > >> Make sure your host is accessible and resolvable  from the client
> > >> machine Check the Spice ports are open on the host
> > >
> > > and provide spice client side logs
> > >
> > >>
> > >> ---------------------------------------------------------------------
> > >> -
> > >> --
> > >>
> > >>      *From: *"Dennis Böck" <dennis at webdienstleistungen.com>
> > >>      *To: *"users at oVirt.org" <users at ovirt.org>
> > >>      *Sent: *Thursday, November 1, 2012 5:32:25 PM
> > >>      *Subject: *[Users] No spice connection - Remote-Viewer quits
> > >>      after a
> > >>      few        seconds
> > >>
> > >>      Dear oVirt-User-List,
> > >>
> > >>      when I try to connect to a spice-VM by clicking the
> > >>      console-button
> > >>      in the user portal the "Remote Viewer" appears with the text
> > >>      "Setting up spice session", but a few seconds later it just
> > >>      quits
> > >>      without an error message.
> > >>
> > >>      Here are a few corresponding log-lines of engine.log:
> > >>
> > >>      2012-10-31 16:21:39,041 INFO
> > >>      [org.ovirt.engine.core.bll.SetVmTicketCommand]
> > >>      (ajp--0.0.0.0-8009-9)
> > >>      [14c13c60] Running command: SetVmTicketCommand internal:
> > >>      false.
> > >>      Entities affected :  ID: cce2dc1a-a6d5-48b2-8fcc-52aa71d9016b
> > >>      Type: VM
> > >>      2012-10-31 16:21:39,046 INFO
> > >>      [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> > >>      (ajp--0.0.0.0-8009-9) [14c13c60] START,
> > >>      SetVmTicketVDSCommand(vdsId
> > >>      = 277891b0-1cdc-11e2-b51a-002590533f86,
> > >>      vmId=cce2dc1a-a6d5-48b2-8fcc-52aa71d9016b,
> > >>      ticket=Yckfn2IndYcE,
> > >>      validTime=120,m userName=admin at internal
> > >>      <mailto:userName=admin at internal>,
> > >>      userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id:
> > >>      64b13c0e
> > >>      2012-10-31 16:21:39,088 INFO
> > >>      [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> > >>      (ajp--0.0.0.0-8009-9) [14c13c60] FINISH,
> > >>      SetVmTicketVDSCommand, log
> > >>      id: 64b13c0e
> > >>      2012-10-31 16:21:39,205 WARN
> > >>      [org.ovirt.engine.core.bll.GetConfigurationValueQuery]
> > >>      (ajp--0.0.0.0-8009-1) calling GetConfigurationValueQuery
> > >>      (SSLEnabled) with null version, using default general for
> > >>      version
> > >>      2012-10-31 16:21:39,206 WARN
> > >>      [org.ovirt.engine.core.bll.GetConfigurationValueQuery]
> > >>      (ajp--0.0.0.0-8009-1) calling GetConfigurationValueQuery
> > >>      (CipherSuite) with null version, using default general for
> > >>      version
> > >>      2012-10-31 16:21:39,207 WARN
> > >>      [org.ovirt.engine.core.bll.GetConfigurationValueQuery]
> > >>      (ajp--0.0.0.0-8009-1) calling GetConfigurationValueQuery
> > >>      (EnableSpiceRootCertificateValidation) with null version,
> > >>      using
> > >>      default general for version
> > >>      2012-10-31 16:21:39,212 WARN
> > >>      [org.ovirt.engine.core.bll.GetConfigurationValueQuery]
> > >>      (ajp--0.0.0.0-8009-1) calling GetConfigurationValueQuery
> > >>      (SpiceToggleFullScreenKeys) with null version, using default
> > >>      general
> > >>      for version
> > >>      2012-10-31 16:21:39,213 WARN
> > >>      [org.ovirt.engine.core.bll.GetConfigurationValueQuery]
> > >>      (ajp--0.0.0.0-8009-1) calling GetConfigurationValueQuery
> > >>      (SpiceReleaseCursorKeys) with null version, using default
> > >>      general
> > >>      for version
> > >>
> > >>      Anyone any ideas?
> > >>
> > >>      Best regards
> > >>
> > >>      Dennis
> > >>
> > >>
> > >>      _______________________________________________
> > >>      Users mailing list
> > >>      Users at ovirt.org
> > >>      http://lists.ovirt.org/mailman/listinfo/users
> > >>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Users mailing list
> > >> Users at ovirt.org
> > >> http://lists.ovirt.org/mailman/listinfo/users
> > >>
> > >
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 

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