Hi Itamar,<div><br></div><div>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.</div>
<div><br></div><div><br><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 7:17 PM, 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 04:41 PM, Rahul Upadhyaya wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 running<br>
Vms (5900,5901....) [also verified by trying to telnet to that port from<br>
my machine containing the engine].<br>
<br>
+ tried suggestion on this bug report<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 not help<br>
my case.<br>
</blockquote>
<br></div>
just to rule this out, can you please check if it tries to connect to port 5900 or 65535?<br>
thanks<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 6:57 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>
� �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] RedPeer::connect_to_peer:<br>
� � � � � Connect<br>
� � � � � � � � � failed:<br>
� � � � � � � � � Connection refused (111)<br>
� � � � � � � � � 1334120376 WARN [1984:1986] RedChannel::run: failed to<br>
� � � � � connect:<br>
� � � � � � � � � Connection refused (111)<br>
� � � � � � � � � 1334120376 INFO [1984:1984] main: Spice 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 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 <<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 class="im">
� � � �<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 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 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></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 03:48 PM, Rahul Upadhyaya wrote:<br>
<br>
� � � � � � � � � � � �Hi Itamar,<br>
<br>
� � � � � � � � � � � �During the installation of the 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 ovirt-engine<br>
� � � �resides. As a<br>
� � � � � � � � � � � �measure to<br>
� � � � � � � � � � � �check if firewall is creating some 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>>>>>> wrote:<br>
<br>
� � � � � � � � � � � � � �On 04/11/2012 02:49 PM, Rahul Upadhyaya wrote:<br>
<br>
� � � � � � � � � � � � � � � �Hi Itamar and others,<br>
<br>
� � � � � � � � � � � � � � � �In reference to the problem that I had<br>
� � � �posted<br>
� � � � � � � �yesterday you<br>
� � � � � � � � � � � � � � � �(Itamar) had<br>
� � � � � � � � � � � � � � � �asked for the spice log on my 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></div></div>
� � � � �==============================<u></u>________======================<u></u>==__==__==__==__==============<u></u>====__====__====__====__======<u></u>======__=<div class="im"><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>
� � � � � � � � � � � � � � � �platform_win: 73400321<br>
� � � � � � � � � � � � � � � �1334120373 INFO [1984:1984] 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] RedChannel::run:<br>
� � � � � � � �failed to<br>
� � � � � � � � � � � �connect:<br>
� � � � � � � � � � � � � � � �Connection refused (111)<br>
� � � � � � � � � � � � � � � �1334120376 INFO [1984:1984] main: Spice<br>
� � � �client<br>
� � � � � � � �terminated<br>
� � � � � � � � � � � � � � � �(exitcode = 3)<br>
<br>
<br>
<br></div></div>
� � � � �==============================<u></u>________======================<u></u>==__==__==__==__==============<u></u>====__====__====__====__======<u></u>======__==<div><div class="h5"><br>
<br>
<br>
<br>
<br>
� � � � � � � � � � � � � � � �Also, I see connection refused but i am<br>
� � � �not sure<br>
� � � � � � � �on which<br>
� � � � � � � � � � � � � � � �address/port<br>
� � � � � � � � � � � � � � � �is it trying to connect and 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 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 fedora box with<br>
� � � � � � � �firefox 11 +<br>
� � � � � � � � � � � � � � � �spice-xpi . I<br>
� � � � � � � � � � � � � � � �also gave a try with windows IE9 . That<br>
� � � �also doesnt<br>
� � � � � � � � � � � �work. (In IE<br>
� � � � � � � � � � � � � � � �even<br>
� � � � � � � � � � � � � � � �after clicking console.. I dont see any<br>
� � � �activity<br>
� � � � � � � �happening.)<br>
<br>
<br>
� � � � � � � � � � � � � � � �--<br>
� � � � � � � � � � � � � � � �Regards,<br>
� � � � � � � � � � � � � � � �Rahul<br>
<br>
<br>
<br></div></div>
� � � � �==============================<u></u>________======================<u></u>==__==<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
� � � � � � � � � � � � � �did you install the host from engine, with<br>
� � � �'configure<br>
� � � � � � � � � � � �iptables' ? is<br>
� � � � � � � � � � � � � �iptables enabled on the host? is the host ip<br>
� � � �resolveable<br>
� � � � � � � � � � � �from client?<br>
<br>
<br>
<br>
<br>
� � � � � � � � � � � �--<br>
� � � � � � � � � � � �Regards,<br>
� � � � � � � � � � � �Rahul<br>
<br>
<br></div>
� � � � �==============================<u></u>______========================<u></u>==<div class="im"><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>__==========================<br>
<br>
<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
Regards,<br>
Rahul<br>
==============================<u></u>==========================<br>
<br>
</font></span></blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Rahul<div>========================================================</div><br>
</div>