<div>Hi Itamar,</div><div>The two spice logs that get generated everytime are given below.</div><div><br></div><div><b>Spice-XPI.log : </b></div><div>It just contains this entry many times</div>2012-04-12 10:53:22,429 ERROR nsPluginInstance::CallOnDisconnected: OnDisconnected is not object<div>
<br></div><div><br></div><div><b>Spicec.log </b>contains : (everytime I try opening a spice window)</div><div>==================================================================</div><div><div>1334208196 INFO [6758:6758] Application::main: starting 0.10.1</div>
<div>1334208196 INFO [6758:6758] Application::main: command line: spicec --controller</div><div>1334208197 INFO [6758:6758] init_key_map: using kbd mapping</div><div>1334208197 INFO [6758:6758] MultyMonScreen::MultyMonScreen: platform_win: 27262977</div>
<div>1334208197 INFO [6758:6758] GUI::GUI:</div><div>1334208199 INFO [6758:6758] ForeignMenu::ForeignMenu: Creating a foreign menu connection /tmp/SpiceForeignMenu-6758.uds</div><div>1334208199 INFO [6758:6758] Controller::Controller: Creating a controller connection /tmp/spicec-3MGPmo/spice-xpi</div>
<div>1334208202 INFO [6758:6760] RedPeer::connect_to_peer: Connect failed: Connection refused (111)</div><div>1334208202 WARN [6758:6760] RedChannel::run: failed to connect: Connection refused (111)</div><div>1334208202 INFO [6758:6758] main: Spice client terminated (exitcode = 3)</div>
<div>=======================================================================</div><div><br></div><div><br></div><div>Ok, One more thing. I have been using the manager in
<a href="http://fedora-ovirt.vmm.hp.com:8080/webadmin" style="color:rgb(17,17,17);font-weight:bold;font-family:Verdana;font-size:12px;line-height:24px;text-align:left">Administrator Portal (no SSL)</a> 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. </div>
<div><br></div><div>I did not the command from which spice window can be started from ovirt-shell... can you tell me the command/share reference.</div><div><br></div><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 2:12 AM, Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com">iheim@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 04/11/2012 05:13 PM, Rahul Upadhyaya wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Itamar,<br>
<br><div class="im">
I tried a few more things... I monitored the port traffic using netstat<br>
between ovirt-engine(also running browser+spice) and the<br>
host(ovirt-node) and I noticed that there is no new connections being<br>
made apart from the regular ssh connections when I attempt to start the<br>
console. So I think the spice client is unable to get the host IP<br>
Address to initiate a connection. Is there a way we can check what<br>
IP/hostname spice is using to connect to the host.<br>
</div></blockquote>
<br>
Id expect it to appear in the spice log.<br>
spice folks?<br>
<br>
can you try opening the console directly without the browser?<br>
say, via the ovirt shell console command?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
<br>
On Wed, Apr 11, 2012 at 7:17 PM, Itamar Heim <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br></div><div class="im">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>> wrote:<br>
<br>
On 04/11/2012 04:41 PM, Rahul Upadhyaya wrote:<br>
<br>
hi Itamar,Spice-devel team,<br>
<br>
Adding some more info to the issue.<br>
I also checked on my host using " vdsClient -s 0 list | grep<br>
displayPort" that there were 6 ports open and listening for my 6<br>
running<br>
Vms (5900,5901....) [also verified by trying to telnet to that<br>
port from<br>
my machine containing the engine].<br>
<br>
+ tried suggestion on this bug report<br></div>
<a href="https://bugzilla.redhat.com/__show_bug.cgi?id=805552" target="_blank">https://bugzilla.redhat.com/__<u></u>show_bug.cgi?id=805552</a><div class="im"><br>
<<a href="https://bugzilla.redhat.com/show_bug.cgi?id=805552" target="_blank">https://bugzilla.redhat.com/<u></u>show_bug.cgi?id=805552</a>> . That did<br>
not help<br>
my case.<br>
<br>
<br>
just to rule this out, can you please check if it tries to connect<br>
to port 5900 or 65535?<br>
thanks<br>
<br>
<br>
<br>
<br>
On Wed, Apr 11, 2012 at 6:57 PM, Itamar Heim <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br></div><div><div class="h5">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>> wrote:<br>
<br>
cc-ing spice-devel to help with this.<br>
<br>
client has communication to host, which has iptables stopped.<br>
error from client seems to be:<br>
<br>
1334120376 INFO [1984:1986]<br>
RedPeer::connect_to_peer:<br>
Connect<br>
failed:<br>
Connection refused (111)<br>
1334120376 WARN [1984:1986] RedChannel::run:<br>
failed to<br>
connect:<br>
Connection refused (111)<br>
1334120376 INFO [1984:1984] main: Spice<br>
client terminated<br>
(exitcode = 3)<br>
<br>
<br>
<br>
<br>
On 04/11/2012 04:15 PM, Rahul Upadhyaya wrote:<br>
<br>
Hi Itamar,<br>
<br>
My browser with the spice-xpi is running on the same server<br>
running the<br>
management engine. So I can you ping that private IP<br>
address<br>
from the<br>
client I am trying to connect with spice.<br>
<br>
On Wed, Apr 11, 2012 at 6:34 PM, Itamar Heim<br>
<<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br></div></div><div><div class="h5">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>>> wrote:<br>
<br>
On 04/11/2012 04:00 PM, Rahul Upadhyaya wrote:<br>
<br>
Hi Itamar,<br>
<br>
The Host that I have added is a Private IP machine<br>
(10.10.x.x) .<br>
it does<br>
not have a FQDN. I am able to ping and ssh from my<br>
management<br>
(ovirt-engine node) to the host (Fedora16+VDSM)<br>
Iptables is also stopped for the host. Is there some<br>
specific<br>
port that<br>
SPICE requires to connect ?<br>
<br>
From the engine I am able to create Vms and do<br>
other<br>
operations on<br>
them, its only that the console is not connecting.<br>
<br>
<br>
question is can you ping that private IP address<br>
from the<br>
client you<br>
are trying to connect with spice from (spice opens from<br>
client to<br>
host running the VM)<br>
<br>
<br>
On Wed, Apr 11, 2012 at 6:19 PM, Itamar Heim<br>
<<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>><br></div></div><div><div class="h5">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>>>> wrote:<br>
<br>
On 04/11/2012 03:48 PM, Rahul Upadhyaya wrote:<br>
<br>
Hi Itamar,<br>
<br>
During the installation of the<br>
ovirt-engine I have<br>
followed the<br>
steps as<br>
mentioned on your website/wiki. All other<br>
functionality are<br>
fine, its<br>
only the console that is giving me problems.<br>
Host IP is<br>
resolvable. The<br>
fedora machine that I tried it actually the<br>
localhost<br>
(same VM - my<br>
ovirt engine is on a VM) where my<br>
ovirt-engine<br>
resides. As a<br>
measure to<br>
check if firewall is creating some<br>
problems, I<br>
stopped the<br>
iptables too<br>
(I dont think this should be the problem).<br>
<br>
<br>
when you added the host to engine, which ip<br>
address/hostname<br>
did you<br>
use?<br>
<br>
<br>
<br>
<br>
On Wed, Apr 11, 2012 at 5:57 PM, Itamar Heim<br>
<<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>>>>> wrote:<br>
<br>
On 04/11/2012 02:49 PM, Rahul<br>
Upadhyaya wrote:<br>
<br>
Hi Itamar and others,<br>
<br>
In reference to the problem that<br>
I had<br>
posted<br>
yesterday you<br>
(Itamar) had<br>
asked for the spice log on my<br>
machine. I<br>
have<br>
attached<br>
the spice log<br>
that gets generated each time when I<br>
start the<br>
console (gets<br>
generated<br>
under ~/.spicec/spicec.log.)<br>
<br>
<br>
<br>
<br>
<br></div></div>
==============================<u></u>__________====================<u></u>==__==__==__==__==__==========<u></u>====__====__====__====__====__<u></u>======__======__=<div class="im"><br>
<br>
<br>
<br>
<br>
1334120373 INFO [1984:1984]<br>
Application::main:<br>
starting<br>
0.10.1<br>
1334120373 INFO [1984:1984]<br>
Application::main:<br>
command<br>
line: spicec<br>
--controller<br>
1334120373 INFO [1984:1984]<br>
init_key_map: using<br>
evdev<br>
mapping<br>
1334120373 INFO [1984:1984]<br></div>
MultyMonScreen::__________<u></u>MultyMonScreen:<div><div class="h5"><br>
<br>
<br>
<br>
<br>
platform_win: 73400321<br>
1334120373 INFO [1984:1984]<br>
GUI::GUI:<br>
1334120374 INFO [1984:1984]<br>
ForeignMenu::ForeignMenu:<br>
Creating a<br>
foreign<br>
menu connection<br>
/tmp/SpiceForeignMenu-1984.uds<br>
1334120374 INFO [1984:1984]<br>
Controller::Controller:<br>
Creating a<br>
controller connection<br>
/tmp/spicec-DtxtfS/spice-xpi<br>
1334120376 INFO [1984:1986]<br>
RedPeer::connect_to_peer:<br>
Connect<br>
failed:<br>
Connection refused (111)<br>
1334120376 WARN [1984:1986]<br>
RedChannel::run:<br>
failed to<br>
connect:<br>
Connection refused (111)<br>
1334120376 INFO [1984:1984]<br>
main: Spice<br>
client<br>
terminated<br>
(exitcode = 3)<br>
<br>
<br>
<br>
<br></div></div>
==============================<u></u>__________====================<u></u>==__==__==__==__==__==========<u></u>====__====__====__====__====__<u></u>======__======__==<div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
Also, I see connection refused<br>
but i am<br>
not sure<br>
on which<br>
address/port<br>
is it trying to connect and<br>
failing. Do<br>
I need<br>
to start some<br>
service or<br>
something. I tried disabling my<br>
firewall.. but that<br>
doesn't help<br>
too.<br>
I tried using the VNC console<br>
option too<br>
but when I<br>
select VNC the<br>
console option itself gets disabled.<br>
<br>
All the above I tried on a<br>
fedora box with<br>
firefox 11 +<br>
spice-xpi . I<br>
also gave a try with windows IE9<br>
. That<br>
also doesnt<br>
work. (In IE<br>
even<br>
after clicking console.. I dont<br>
see any<br>
activity<br>
happening.)<br>
<br>
<br>
--<br>
Regards,<br>
Rahul<br>
<br>
<br>
<br>
<br></div></div>
==============================<u></u>__________====================<u></u>==__==__==<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
<br>
did you install the host from<br>
engine, with<br>
'configure<br>
iptables' ? is<br>
iptables enabled on the host? is the<br>
host ip<br>
resolveable<br>
from client?<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Rahul<br>
<br>
<br>
<br></div>
==============================<u></u>________======================<u></u>==__==<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Rahul<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Rahul<br>
<br>
<br></div>
==============================<u></u>____==========================<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Rahul<br>
==============================<u></u>__==========================<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Rahul<br>
==============================<u></u>==========================<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Rahul<div>=======================================================</div><br>
</div>