[Users] Fwd: HostNic Addition with IP Address

2012-07-06 Thread Rahul Upadhyaya
Thanks Michael,

I had a older version of the python-binding which had bonding in #1 as
a compulsory parameter... Seeing your options I updated the sdk and now the
error is resolved. I see bonding as an optional param.

Regards,
Rahul.


-- Forwarded message --
From: Michael Pasternak mpast...@redhat.com
Date: Thu, Jul 5, 2012 at 7:22 PM
Subject: Re: [Users] HostNic Addition with IP Address
To: Rahul Upadhyaya rak...@gmail.com
Cc: users@ovirt.org



Hi Rahul,

#1 is the right place for doing this, see method __doc__ [1]
#2 used for attaching network to NIC, see __doc__ is [2]

* note all methods in sdk well documented describing what
parameters-holder to use and how to fill it.

[1]
'''
@type HostNIC:

@param hostnic.network.id|name: string
@param hostnic.name: string
[@param hostnic.bonding.slaves.host_nic: collection]
{
  [@ivar host_nic.id|name: string]
}
[@param hostnic.bonding.options.option: collection]
{
  [@ivar option.name: string]
  [@ivar option.value: string]
  [@ivar type: string]
}
[@param hostnic.ip.gateway: string]
[@param hostnic.boot_protocol: string]
[@param hostnic.mac: string]
[@param hostnic.ip.address: string]
[@param hostnic.ip.netmask: string]

@return HostNIC:
'''

[2]
'''
@type Action:

@param action.network.id|name: string
[@param action.async: boolean]
[@param action.grace_period.expiry: long]

@return Response:
'''

On 07/05/2012 03:00 PM, Rahul Upadhyaya wrote:
 Hi Folks,

I am facing issues while adding NIC with Static I.P. to
host using the oVirt Python-Bindings. There are two api's

 1) HostNics.add :Here it requires binding param for
interface bonding as a compulsory param. I dont want to bond more than one
interfaces for a network
 while creating network each time.

 2) HostNic.attach: This lets me attach the NIC but
does not let me put static IP address to it as soon as I add it. I am using
a workaround of updating
 the NIC with the IP information, but it requires me to put all the hosts
on maintenance and shut-down all the running VMs which again is not the
best way of doing it.


 Is it not supported by the API that at the time of addition of the
hostNIC we can specify the IP address or is it something that I am missing ?
 Also,I see that this operation is supported from the manager UI .


 --
 Regards,
 Rahul
 ===



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


--

Michael Pasternak
RedHat, ENG-Virtualization RD



-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Removal of network failing from DataCenter.

2012-07-04 Thread Rahul Upadhyaya
Hi Folks,


I was trying to remove networks from the Cluster and
Data-Center using the python bindings for ovirt. I could remove the network
from the cluster but it fails to remove the network from the datacenter
quitting with the below mentioned traceback :


  *  Traceback (most recent call last):*
*  File netdel.py, line 25, in module*
*Netwk.delete()*
*  File
/usr/lib/python2.6/site-packages/ovirt_engine_sdk-1.5_SNAPSHOT-py2.6.egg/ovirtsdk/infrastructure/brokers.py,
line 1889, in delete*
*headers={'Content-type':None})*
*  File
/usr/lib/python2.6/site-packages/ovirt_engine_sdk-1.5_SNAPSHOT-py2.6.egg/ovirtsdk/infrastructure/proxy.py,
line 36, in delete*
*return self.request('DELETE', url, body, headers)*
*  File
/usr/lib/python2.6/site-packages/ovirt_engine_sdk-1.5_SNAPSHOT-py2.6.egg/ovirtsdk/infrastructure/proxy.py,
line 52, in request*
*conn=self.getConnectionsPool().getConnection())*
*  File
/usr/lib/python2.6/site-packages/ovirt_engine_sdk-1.5_SNAPSHOT-py2.6.egg/ovirtsdk/infrastructure/proxy.py,
line 62, in __doRequest*
*raise RequestError, response*
*ovirtsdk.infrastructure.errors.RequestError:*
*status: 400*
*reason: Bad Request*
*detail: [Cannot remove Network. Network is being used by at least one
Cluster.]*


   However, I am able to remove it when I try from the Manager UI. Below is
the code I used to test.I am not able to figure-out if it is a know bug or
a logical fault on my side somewhere ? [All the VMs are shutdown and no VM
is attached to network that I am deleting.]


*from ovirtsdk.api import API*
*from ovirtsdk.xml import params*
*
*
*
*
*ovirt_uri = http://ovirtserver.xyz.com:8080/api*
*ovirt_username = admin@internal*
*ovirt_password = **
*
*
*ovirtAPI = API(url=ovirt_uri, username=ovirt_username,
password=ovirt_password)*
*
*
*
*
*## removing the network from the cluster.*
*Netw=ovirtAPI.clusters.get(Default).networks.get(testnet58)*
*print Netw.name + : + Netw.id*
*Netw.delete()*
*
*
*## removing the network from the Datacenter.*
*Netwk=ovirtAPI.networks.get(testnet58)*
*print Netwk.name + : + Netwk.id*
*Netwk.delete()*






-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Template creation time is high.

2012-06-14 Thread Rahul Upadhyaya
Hi Folks,

Template creation time for me is around 30mins for a 10 GB (Disk Space) VM.
My oVirt Manager has 4GB RAM. Is this within expected time for template
creation, if not, then what could I check to possibly improve the
performance in this regards ?

-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Template creation time is high.

2012-06-14 Thread Rahul Upadhyaya
The machine that is the SPM has 32Gb of RAM. My storage layout is on a NFS.
Is that the reason of the longer time taken, is 30mins for template
creation under expected time of a NFS ?

On Thu, Jun 14, 2012 at 12:20 PM, Itamar Heim ih...@redhat.com wrote:

 On 06/14/2012 09:28 AM, Rahul Upadhyaya wrote:

 Hi Folks,

 Template creation time for me is around 30mins for a 10 GB (Disk Space)
 VM. My oVirt Manager has 4GB RAM. Is this within expected time for
 template creation, if not, then what could I check to possibly improve
 the performance in this regards ?


 the template creation happens on the SPM, not on the manager (unless you
 are running all in one).

 what's the storage layout you have?


 --
 Regards,
 Rahul
 ==**=



 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users





-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Host Hooks

2012-05-30 Thread Rahul Upadhyaya
Hi folks,

I was trying to explore the host hooks option in the oVirt . I could not
find any link on the wiki/web to learn how to use this feature. Can someone
give me some pointers/redirect me to some link which explains host hooks
and using them  via UI/ovirt-python-bindings.

-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt-guest-agent availabilty

2012-05-23 Thread Rahul Upadhyaya
Thanks for the information... I could get it working for RHEL. I am
still trying to find the binaries for windows,however, I have not been
able to get it, could you point me to some repo/link where I can get
the guest agent binaries for windows based systems ?

-Rahul.
Sent from my iPad

On 23-May-2012, at 12:24 PM, Gal Hammer gham...@redhat.com wrote:

 On 23/05/2012 09:19, Haim Ateya wrote:
 afaik, we support RHEL  Windows.

 RHEL-5, RHEL-6, Fedora and Windows.

 As for RHEL, I guess you can clone our git repo and compile for your self.

 The RHEL support in the spec file was removed for the Fedora's review process.

 There is an official build for RHEL but I don't know if it is available in a 
 public repo yet. The package is called rhevm-guest-agent.

Gal.

 Haim

 On May 23, 2012, at 8:51, Rahul Upadhyaya rak...@gmail.com
 mailto:rak...@gmail.com wrote:

 Hi folks,

 Which all OSs have a ovirt-guest-agent support? And where possibly can
 I find them ?
 I was successful in finding Guest agent for fedora in the ovirt repo.
 but apart from fedora i dont see any guest-agent compatible to other
 OSs there.


 --
 Regards,
 Rahul
 ===

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

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


[Users] Static IP for VMs

2012-05-09 Thread Rahul Upadhyaya
Hi folks,

Is there a way to assign a static IP while provisioning a new VM?
I do not want to individually go to the console to specify the Static IP
address. Is there any means for specifying that from the management
UI/ovirt-python-binding to do the same ?
-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] VM ip not being shown up in the manager

2012-05-08 Thread Rahul Upadhyaya
Hi,

In my ovirt setup. The vms are getting IPs properly (inside console
ifconfig shows ip) but the web-management console is not displaying it. The
IP adress field for the VM is empty. My guest OS is fedora. I have
installed ovirt-guest-agent also over my guest OS.

Is it a known bug or something that I could have missed that the IP address
is not being displayed?

-- 
Regards,
Rahul
===
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Host status non-responsding

2012-04-20 Thread Rahul Upadhyaya
Hi,

While performing some operations (vdsm restart and other operations to
debug SSL settings on the host) , my host goes to non-responding state.
Now it has happened for the third time. For the previous two times I did a
engine-cleanup and did a engine-setup to resolve this issue. Is there some
other way ... m guessing removing some host entry from database or
something to recover faster. On a non-responding host I can't put it
to maintenance mode because it says it has running Vms on it... also I cant
remove it and add it again, so basically my host is in a state of limbo
where I cant perform any operation on it. Is there any other way to recover
from such condition other that preforming a engine cleanup and engine-setup
again ?

-- 
Regards,
Rahul
===
___
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 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 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 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 mailto:ih

[Users] Steps to be taken while shutting down ovirt-manager and the nodes.

2012-04-01 Thread Rahul Upadhyaya
Hi folks,

After I shut down my ovirt-manager and the KVM (+vdsm) nodes and restarted
them my DB in the manager gave me errors... do we need to follow some
specific procedure while restarting the whole setup ?

-- 
Regards,
Rahul
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users