Re: [Users] Console not coming up .

2012-04-13 Thread Juan Hernandez
On 04/13/2012 05:50 AM, Itamar Heim wrote:
 On 04/12/2012 06:08 PM, Rahul Upadhyaya wrote:
 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
 
 how SSL is related to IPA and Active Directory in this context?
 
 possibly the reason why I am facing Issues with Spice Console. Does
 Spice use only SSL during connection or can it run without SSL.
 
 unless you disabled SSL for hosts/spice via config - ssl is configured 
 by default.
 though i'm not sure this is the issue.
 

 I did not the command from which spice window can be started from
 ovirt-shell... can you tell me the command/share reference.
 
 juan - care to jump in here, as this is a common question, maybe even 
 worth a wiki example in the cli wiki.

The command to use the console is just console myvm:

ovirt-shell --connect --url http://host.example.com:8080/api --user
admin@internal --password letmein!
[oVirt shell (connected)]# console myserver

That should launch the spice command with the right parameters. Make
sure you have the spice-client package installed.

If it does not work it may be because the latest version of the CLI
requires SSL (that is probably a bug). If this is your case please apply
the following change to the file
/usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py:

---
/usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py.old
2012-04-13 12:12:31.638976451 +0200
+++ /usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py
2012-04-13 12:13:00.306969571 +0200
@@ -49,7 +49,7 @@
 args = [ 'spicec', host, str(port), str(secport), '--ssl-channels',
  'smain,sinputs', '--ca-file', certfile, '-p', ticket ]
 else:
-args = [ 'spicec', '-h', host, '-p', str(port), '-s', str(secport),
+args = [ 'spicec', '-h', host, '-p', str(port),
  '-w', ticket, '-t', title ]
 print(cmd)
 print(args)

That will remove the -s option when calling spicec, so it should work
without SSL. I will open a bug for this and start to work on a proper
solution.

Let me know if this workaround works for you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-13 Thread Juan Hernandez
On 04/13/2012 12:19 PM, Juan Hernandez wrote:
 On 04/13/2012 05:50 AM, Itamar Heim wrote:
 On 04/12/2012 06:08 PM, Rahul Upadhyaya wrote:
 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

 how SSL is related to IPA and Active Directory in this context?

 possibly the reason why I am facing Issues with Spice Console. Does
 Spice use only SSL during connection or can it run without SSL.

 unless you disabled SSL for hosts/spice via config - ssl is configured 
 by default.
 though i'm not sure this is the issue.


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

 juan - care to jump in here, as this is a common question, maybe even 
 worth a wiki example in the cli wiki.
 
 The command to use the console is just console myvm:
 
 ovirt-shell --connect --url http://host.example.com:8080/api --user
 admin@internal --password letmein!
 [oVirt shell (connected)]# console myserver
 
 That should launch the spice command with the right parameters. Make
 sure you have the spice-client package installed.
 
 If it does not work it may be because the latest version of the CLI
 requires SSL (that is probably a bug). If this is your case please apply
 the following change to the file
 /usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py:
 
 ---
 /usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py.old
 2012-04-13 12:12:31.638976451 +0200
 +++ /usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py
 2012-04-13 12:13:00.306969571 +0200
 @@ -49,7 +49,7 @@
  args = [ 'spicec', host, str(port), str(secport), '--ssl-channels',
   'smain,sinputs', '--ca-file', certfile, '-p', ticket ]
  else:
 -args = [ 'spicec', '-h', host, '-p', str(port), '-s', str(secport),
 +args = [ 'spicec', '-h', host, '-p', str(port),
   '-w', ticket, '-t', title ]
  print(cmd)
  print(args)
 
 That will remove the -s option when calling spicec, so it should work
 without SSL. I will open a bug for this and start to work on a proper
 solution.
 
 Let me know if this workaround works for you.

This is the bug:

https://bugzilla.redhat.com/812299

Please feel free to add your comments.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-13 Thread Juan Hernandez
On 04/13/2012 05:50 AM, Itamar Heim wrote:
 On 04/12/2012 06:08 PM, Rahul Upadhyaya wrote:
 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
 
 how SSL is related to IPA and Active Directory in this context?
 
 possibly the reason why I am facing Issues with Spice Console. Does
 Spice use only SSL during connection or can it run without SSL.
 
 unless you disabled SSL for hosts/spice via config - ssl is configured 
 by default.
 though i'm not sure this is the issue.
 

 I did not the command from which spice window can be started from
 ovirt-shell... can you tell me the command/share reference.
 
 juan - care to jump in here, as this is a common question, maybe even 
 worth a wiki example in the cli wiki.

The command to use the console is just console myvm:

ovirt-shell --connect --url http://host.example.com:8080/api --user
admin@internal --password letmein!
[oVirt shell (connected)]# console myserver

That should launch the spice command with the right parameters. Make
sure you have the spice-client package installed.

If it does not work it may be because the latest version of the CLI
requires SSL (that is probably a bug). If this is your case please apply
the following change to the file
/usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py:

---
/usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py.old
2012-04-13 12:12:31.638976451 +0200
+++ /usr/lib/python2.6/site-packages/ovirtcli/platform/posix/spice.py
2012-04-13 12:13:00.306969571 +0200
@@ -49,7 +49,7 @@
 args = [ 'spicec', host, str(port), str(secport), '--ssl-channels',
  'smain,sinputs', '--ca-file', certfile, '-p', ticket ]
 else:
-args = [ 'spicec', '-h', host, '-p', str(port), '-s', str(secport),
+args = [ 'spicec', '-h', host, '-p', str(port),
  '-w', ticket, '-t', title ]
 print(cmd)
 print(args)

That will remove the -s option when calling spicec, so it should work
without SSL. I will open a bug for this and start to work on a proper
solution.

Let me know if this workaround works for you.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-12 Thread Rahul Upadhyaya
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 ih...@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 ih...@redhat.com
 mailto:ih...@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=805552https://bugzilla.redhat.com/__show_bug.cgi?id=805552


 https://bugzilla.redhat.com/**show_bug.cgi?id=805552https://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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com wrote:

On 04/11/2012 04:00 PM, Rahul 

Re: [Users] Console not coming up .

2012-04-11 Thread Itamar Heim

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?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-11 Thread Douglas Landgraf

On 04/11/2012 07:49 AM, 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.)




Have you tried to run, like this from the shell?
SPICEC_LOG_LEVEL=0 firefox

Can you please share your ovirt/spice packages versions?

I read your previous email and all report looks like: 
https://bugzilla.redhat.com/show_bug.cgi?id=805552


--
Cheers
Douglas

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-11 Thread Rahul Upadhyaya
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).



On Wed, Apr 11, 2012 at 5:57 PM, Itamar Heim ih...@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


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-11 Thread Itamar Heim

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 ih...@redhat.com
mailto:ih...@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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console not coming up .

2012-04-11 Thread Rahul Upadhyaya
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 ih...@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 ih...@redhat.com
 mailto:ih...@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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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


Re: [Users] Console not coming up .

2012-04-11 Thread Itamar Heim

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 ih...@redhat.com
mailto:ih...@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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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

Re: [Users] Console not coming up .

2012-04-11 Thread Rahul Upadhyaya
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 . That did not help my
case.



On Wed, Apr 11, 2012 at 6:57 PM, Itamar Heim ih...@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 ih...@redhat.com
 mailto:ih...@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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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:
   

Re: [Users] Console not coming up .

2012-04-11 Thread Rahul Upadhyaya
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.



On Wed, Apr 11, 2012 at 7:17 PM, Itamar Heim ih...@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=805552https://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 ih...@redhat.com
 mailto:ih...@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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com 

Re: [Users] Console not coming up .

2012-04-11 Thread Itamar Heim

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 ih...@redhat.com
mailto:ih...@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 . 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 ih...@redhat.com
mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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
ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@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