[Spice-devel] Console not coming up .

Rahul Upadhyaya rakrup at gmail.com
Thu Apr 12 08:08:22 PDT 2012


Hi Itamar,
The two spice logs that get generated everytime are given below.

*Spice-XPI.log : *
It just contains this entry many times
2012-04-12 10:53:22,429 ERROR nsPluginInstance::CallOnDisconnected:
OnDisconnected is not object


*Spicec.log *contains : (everytime I try opening a spice window)
==================================================================
1334208196 INFO [6758:6758] Application::main: starting 0.10.1
1334208196 INFO [6758:6758] Application::main: command line: spicec
--controller
1334208197 INFO [6758:6758] init_key_map: using kbd mapping
1334208197 INFO [6758:6758] MultyMonScreen::MultyMonScreen: platform_win:
27262977
1334208197 INFO [6758:6758] GUI::GUI:
1334208199 INFO [6758:6758] ForeignMenu::ForeignMenu: Creating a foreign
menu connection /tmp/SpiceForeignMenu-6758.uds
1334208199 INFO [6758:6758] Controller::Controller: Creating a controller
connection /tmp/spicec-3MGPmo/spice-xpi
1334208202 INFO [6758:6760] RedPeer::connect_to_peer: Connect failed:
Connection refused (111)
1334208202 WARN [6758:6760] RedChannel::run: failed to connect: Connection
refused (111)
1334208202 INFO [6758:6758] main: Spice client terminated (exitcode = 3)
=======================================================================


Ok, One more thing. I have been using the manager in  Administrator Portal
(no SSL) <http://fedora-ovirt.vmm.hp.com:8080/webadmin>  mode... I mean I
have not set up SSL (IPA and Active Directory). Could this be possibly the
reason why I am facing Issues with Spice Console. Does Spice use only SSL
during connection or can it run without SSL.

I did not the command from which spice window can be started from
ovirt-shell... can you tell me the command/share reference.


On Thu, Apr 12, 2012 at 2:12 AM, Itamar Heim <iheim at redhat.com> wrote:

> On 04/11/2012 05:13 PM, Rahul Upadhyaya wrote:
>
>> Hi Itamar,
>>
>> I tried a few more things... I monitored the port traffic using netstat
>> between ovirt-engine(also running browser+spice) and the
>> host(ovirt-node) and I noticed that there is no new connections being
>> made apart from the regular ssh connections when I attempt to start the
>> console. So I think the spice client is unable to get the host IP
>> Address to initiate a connection. Is there a way we can check what
>> IP/hostname spice is using to connect to the host.
>>
>
> Id expect it to appear in the spice log.
> spice folks?
>
> can you try opening the console directly without the browser?
> say, via the ovirt shell console command?
>
>
>>
>>
>> On Wed, Apr 11, 2012 at 7:17 PM, Itamar Heim <iheim at redhat.com
>> <mailto:iheim at redhat.com>> wrote:
>>
>>    On 04/11/2012 04:41 PM, Rahul Upadhyaya wrote:
>>
>>        hi Itamar,Spice-devel team,
>>
>>        Adding some more info to the issue.
>>        I also checked on my host using " vdsClient -s 0 list | grep
>>        displayPort" that there were 6 ports open and listening for my 6
>>        running
>>        Vms (5900,5901....) [also verified by trying to telnet to that
>>        port from
>>        my machine containing the engine].
>>
>>        + tried suggestion on this bug report
>>        https://bugzilla.redhat.com/__**show_bug.cgi?id=805552<https://bugzilla.redhat.com/__show_bug.cgi?id=805552>
>>
>>        <https://bugzilla.redhat.com/**show_bug.cgi?id=805552<https://bugzilla.redhat.com/show_bug.cgi?id=805552>>
>> . That did
>>        not help
>>        my case.
>>
>>
>>    just to rule this out, can you please check if it tries to connect
>>    to port 5900 or 65535?
>>    thanks
>>
>>
>>
>>
>>        On Wed, Apr 11, 2012 at 6:57 PM, Itamar Heim <iheim at redhat.com
>>        <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>> wrote:
>>
>>            cc-ing spice-devel to help with this.
>>
>>            client has communication to host, which has iptables stopped.
>>            error from client seems to be:
>>
>>                           1334120376 INFO [1984:1986]
>>        RedPeer::connect_to_peer:
>>                   Connect
>>                           failed:
>>                           Connection refused (111)
>>                           1334120376 WARN [1984:1986] RedChannel::run:
>>        failed to
>>                   connect:
>>                           Connection refused (111)
>>                           1334120376 INFO [1984:1984] main: Spice
>>        client terminated
>>                           (exitcode = 3)
>>
>>
>>
>>
>>            On 04/11/2012 04:15 PM, Rahul Upadhyaya wrote:
>>
>>                Hi Itamar,
>>
>>                My browser with the spice-xpi is running on the same server
>>                running the
>>                management engine. So I  can you ping that private IP
>>        address
>>                from the
>>                client I am trying to connect with spice.
>>
>>                On Wed, Apr 11, 2012 at 6:34 PM, Itamar Heim
>>        <iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>> wrote:
>>
>>                    On 04/11/2012 04:00 PM, Rahul Upadhyaya wrote:
>>
>>                        Hi Itamar,
>>
>>                        The Host that I have added is a Private IP machine
>>                (10.10.x.x) .
>>                        it does
>>                        not have a FQDN. I am able to ping and ssh from my
>>                management
>>                        (ovirt-engine node) to the host (Fedora16+VDSM)
>>                        Iptables is also stopped for the host. Is there
>> some
>>                specific
>>                        port that
>>                        SPICE requires to connect ?
>>
>>                          From the engine I am able to create Vms and do
>>        other
>>                operations on
>>                        them, its only that the console is not connecting.
>>
>>
>>                    question is can you ping that private IP address
>>        from the
>>                client you
>>                    are trying to connect with spice from (spice opens from
>>                client to
>>                    host running the VM)
>>
>>
>>                        On Wed, Apr 11, 2012 at 6:19 PM, Itamar Heim
>>        <iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>>> wrote:
>>
>>                            On 04/11/2012 03:48 PM, Rahul Upadhyaya wrote:
>>
>>                                Hi Itamar,
>>
>>                                During the installation of the
>>        ovirt-engine I have
>>                        followed the
>>                                steps as
>>                                mentioned on your website/wiki. All other
>>                functionality are
>>                                fine, its
>>                                only the console that is giving me
>> problems.
>>                Host IP is
>>                                resolvable. The
>>                                fedora machine that I tried it actually the
>>                localhost
>>                        (same VM - my
>>                                ovirt engine is on a VM) where my
>>        ovirt-engine
>>                resides. As a
>>                                measure to
>>                                check if firewall is creating some
>>        problems, I
>>                stopped the
>>                                iptables too
>>                                (I dont think this should be the problem).
>>
>>
>>                            when you added the host to engine, which ip
>>                address/hostname
>>                        did you
>>                            use?
>>
>>
>>
>>
>>                                On Wed, Apr 11, 2012 at 5:57 PM, Itamar
>> Heim
>>        <iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>
>>        <mailto:iheim at redhat.com <mailto:iheim at redhat.com>>>>>> wrote:
>>
>>                                    On 04/11/2012 02:49 PM, Rahul
>>        Upadhyaya wrote:
>>
>>                                        Hi Itamar and others,
>>
>>                                        In reference to the problem that
>>        I had
>>                posted
>>                        yesterday you
>>                                        (Itamar) had
>>                                        asked for the spice log on my
>>        machine. I
>>                have
>>                        attached
>>                                the spice log
>>                                        that gets generated each time when
>> I
>>                start the
>>                        console (gets
>>                                        generated
>>                                        under ~/.spicec/spicec.log.)
>>
>>
>>
>>
>>
>>          ==============================**__________====================**
>> ==__==__==__==__==__==========**====__====__====__====__====__**
>> ======__======__=
>>
>>
>>
>>
>>
>>                                        1334120373 INFO [1984:1984]
>>                Application::main:
>>                        starting
>>                                0.10.1
>>                                        1334120373 INFO [1984:1984]
>>                Application::main:
>>                        command
>>                                line: spicec
>>                                        --controller
>>                                        1334120373 INFO [1984:1984]
>>                init_key_map: using
>>                        evdev
>>                                mapping
>>                                        1334120373 INFO [1984:1984]
>>                                MultyMonScreen::__________**
>> MultyMonScreen:
>>
>>
>>
>>
>>
>>                                        platform_win: 73400321
>>                                        1334120373 INFO [1984:1984]
>>        GUI::GUI:
>>                                        1334120374 INFO [1984:1984]
>>                        ForeignMenu::ForeignMenu:
>>                                Creating a
>>                                        foreign
>>                                        menu connection
>>                /tmp/SpiceForeignMenu-1984.uds
>>                                        1334120374 INFO [1984:1984]
>>                Controller::Controller:
>>                                Creating a
>>                                        controller connection
>>                /tmp/spicec-DtxtfS/spice-xpi
>>                                        1334120376 INFO [1984:1986]
>>                        RedPeer::connect_to_peer:
>>                                Connect
>>                                        failed:
>>                                        Connection refused (111)
>>                                        1334120376 WARN [1984:1986]
>>        RedChannel::run:
>>                        failed to
>>                                connect:
>>                                        Connection refused (111)
>>                                        1334120376 INFO [1984:1984]
>>        main: Spice
>>                client
>>                        terminated
>>                                        (exitcode = 3)
>>
>>
>>
>>
>>          ==============================**__________====================**
>> ==__==__==__==__==__==========**====__====__====__====__====__**
>> ======__======__==
>>
>>
>>
>>
>>
>>
>>                                        Also, I see connection refused
>>        but i am
>>                not sure
>>                        on which
>>                                        address/port
>>                                        is it trying to connect and
>>        failing. Do
>>                I need
>>                        to start some
>>                                        service or
>>                                        something. I tried disabling my
>>                firewall.. but that
>>                                doesn't help
>>                                        too.
>>                                        I tried using the VNC console
>>        option too
>>                but when I
>>                                select VNC the
>>                                        console option itself gets
>> disabled.
>>
>>                                        All the above I tried on a
>>        fedora box with
>>                        firefox 11 +
>>                                        spice-xpi . I
>>                                        also gave a try with windows IE9
>>        . That
>>                also doesnt
>>                                work. (In IE
>>                                        even
>>                                        after clicking console.. I dont
>>        see any
>>                activity
>>                        happening.)
>>
>>
>>                                        --
>>                                        Regards,
>>                                        Rahul
>>
>>
>>
>>
>>          ==============================**__________====================**
>> ==__==__==
>>
>>
>>
>>
>>
>>
>>
>>                                    did you install the host from
>>        engine, with
>>        'configure
>>                                iptables' ? is
>>                                    iptables enabled on the host? is the
>>        host ip
>>                resolveable
>>                                from client?
>>
>>
>>
>>
>>                                --
>>                                Regards,
>>                                Rahul
>>
>>
>>
>>          ==============================**________======================**
>> ==__==
>>
>>
>>
>>
>>
>>
>>
>>
>>                        --
>>                        Regards,
>>                        Rahul
>>
>>
>>
>>
>>
>>                --
>>                Regards,
>>                Rahul
>>
>>
>>                ==============================**
>> ____==========================
>>
>>
>>
>>
>>
>>
>>        --
>>        Regards,
>>        Rahul
>>        ==============================**__==========================
>>
>>
>>
>>
>>
>> --
>> Regards,
>> Rahul
>> ==============================**==========================
>>
>>
>


-- 
Regards,
Rahul
=======================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120412/41090340/attachment-0001.htm>


More information about the Spice-devel mailing list