Itamar Heim <iheim(a)redhat.com> написано 13.09.2012 11:09:24:
> От: Itamar Heim <iheim(a)redhat.com>
> Кому: Dmitriy A Pyryakov <DPyryakov(a)ekb.beeline.ru>
> Копия: Darrell Budic <darrell.budic(a)bigwells.net>, users(a)ovirt.org
> Дата: 13.09.2012 11:09
> Тема: Re: [Users] HA: Re: HP Integrated Lights Out 3
>
> On 09/13/2012 06:00 AM, Dmitriy A Pyryakov wrote:
> > Darrell Budic <darrell.budic(a)bigwells.net> написано 13.09.2012
07:43:44:
> >
> > > От: Darrell Budic <darrell.budic(a)bigwells.net>
> > > Кому: Dmitriy A Pyryakov <DPyryakov(a)ekb.beeline.ru>
> > > Копия: Eli Mesika <emesika(a)redhat.com>, users(a)ovirt.org
> > > Дата: 13.09.2012 07:43
> > > Тема: Re: [Users] HP Integrated Lights Out 3
> > >
> > > I have this problem too. I actually tracked it down to the engine
> > > not passing the arguments to the fence scripts but then got
> > > distracted and never followed up with a report. In my case, the data
> > > base was correct, and if I ran the fence script by hand, it would
> > > work, but the vdsm wasn't running it with the options or even all
> > > the arguments (username/pw, etc). I've tried it with ilo3 and
> > > ipmilan both, same issue.
> > >
> > > If you'd like, I can recreate some of my debugging, I'd gotten
so
> > > far as to to hack some print statements into the fence scripts to
> > > demonstrate what was happening. Lost that with some rebuilds, but
> > > easy enough to recreate...
> > >
> > > -Darrell
> >
> > Hello, Darrell.
> >
> > It would be great!
>
> may i suggest you first try to apply this patch to vdsm (just edit the
> relevant line in vdsm)
>
> commit 59934118e3a30c57539d2b71016532bdd9c4ab17
> Author: Roy Golan <rgolan(a)redhat.com>
> Date: Thu Aug 9 16:34:10 2012 +0300
>
> fenceNode API is missing the options argument
>
> Change-Id: Ib2ce9b0f71040f9198413fa06c5d8768994842ec
> Signed-off-by: Roy Golan <rgolan(a)redhat.com>
> Reviewed-on:
http://gerrit.ovirt.org/7058
> Reviewed-by: Dan Kenigsberg <danken(a)redhat.com>
> Reviewed-by: Omer Frenkel <ofrenkel(a)redhat.com>
> Tested-by: Omer Frenkel <ofrenkel(a)redhat.com>
>
> diff --git a/vdsm/BindingXMLRPC.py b/vdsm/BindingXMLRPC.py
> index cc5300f..8b548e4 100644
> --- a/vdsm/BindingXMLRPC.py
> +++ b/vdsm/BindingXMLRPC.py
> @@ -357,7 +357,7 @@ class BindingXMLRPC(object):
> secure=False, options=''):
> api = API.Global()
> return api.fenceNode(addr, port, agent, username, password,
> - action, secure)
> + action, secure, options)
>
> def setLogLevel(self, level):
> api = API.Global()
>
There is my part of old /usr/share/vdsm/BindingXMLRPC.py file from proxy
host:
def fenceNode(self, addr, port, agent, username, password, action,
secure=False, options=''):
api = API.Global(self.cif)
return api.fenceNode(addr, port, agent, username, password,
action, secure)
there is replased:
def fenceNode(self, addr, port, agent, username, password, action,
secure=False, options=''):
api = API.Global(self.cif)
return api.fenceNode(addr, port, agent, username, password,
action, secure, options)
I restart ovirt-engine and still see no option presented in vdsm.log.
Test still failed.
this is a vdsm change, not an ovirt-engine (restart vdsm?)
is this ovirt node or plain fedora/el6?