[Users] HA: Re: HA: Re: HP Integrated Lights Out 3
Darrell Budic
darrell.budic at bigwells.net
Thu Sep 13 23:32:33 UTC 2012
That fix worked for me (ipmilan wise, anyway. Still no go on ilo, but we knew that, right?). Thanks Itamar!
Dmitriy, make sure you do this to all your host nodes, it may run the test from any of them. You'll also want to be sure you delete /usr/share/vdsm/BindingXMLRPC.pyc and .pyo, otherwise the compiled python is likely to still get used. Finally, I did need to restart vdsmd on all my nodes, "service vdsmd restart" on my Centos 6.3 system. Glad to know you can do that without causing problems for running vms.
I did notice that the ovirt management GUI still shows 3 Alerts in the alert area, and they are all "Power Management test failed" errors dated from the first time their particular node was added to the cluster. This is even after restarting a vdsmd again and seeing Host xxx power management was verified successfully." in the event log.
-Darrell
On Sep 13, 2012, at 5:45 PM, Itamar Heim wrote:
> On 09/13/2012 08:42 AM, Dmitriy A Pyryakov wrote:
>> Itamar Heim <iheim at redhat.com> написано 13.09.2012 11:09:24:
>>
>> > От: Itamar Heim <iheim at redhat.com>
>> > Кому: Dmitriy A Pyryakov <DPyryakov at ekb.beeline.ru>
>> > Копия: Darrell Budic <darrell.budic at bigwells.net>, users at 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 at bigwells.net> написано 13.09.2012
>> 07:43:44:
>> > >
>> > > > От: Darrell Budic <darrell.budic at bigwells.net>
>> > > > Кому: Dmitriy A Pyryakov <DPyryakov at ekb.beeline.ru>
>> > > > Копия: Eli Mesika <emesika at redhat.com>, users at 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 at 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 at redhat.com>
>> > Reviewed-on: http://gerrit.ovirt.org/7058
>> > Reviewed-by: Dan Kenigsberg <danken at redhat.com>
>> > Reviewed-by: Omer Frenkel <ofrenkel at redhat.com>
>> > Tested-by: Omer Frenkel <ofrenkel at 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?
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
Darrell Budic
Bigwells Technology LLC
office: 312.529.7816
cell: 608.239.4628
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120913/714f3e99/attachment-0001.html>
More information about the Users
mailing list