
On 09/13/2012 08:42 AM, Dmitriy A Pyryakov wrote:
Itamar Heim <iheim@redhat.com> =CE=C1=D0=C9=D3=C1=CE=CF 13.09.2012 = 11:09:24: =20
=EF=D4: Itamar Heim <iheim@redhat.com> =EB=CF=CD=D5: Dmitriy A Pyryakov <DPyryakov@ekb.beeline.ru> =EB=CF=D0=C9=D1: Darrell Budic <darrell.budic@bigwells.net>, = users@ovirt.org =E4=C1=D4=C1: 13.09.2012 11:09 =F4=C5=CD=C1: Re: [Users] HA: Re: HP Integrated Lights Out 3
On 09/13/2012 06:00 AM, Dmitriy A Pyryakov wrote:
Darrell Budic <darrell.budic@bigwells.net> =CE=C1=D0=C9=D3=C1=CE=CF= 13.09.2012 07:43:44:
=EF=D4: Darrell Budic <darrell.budic@bigwells.net> =EB=CF=CD=D5: Dmitriy A Pyryakov <DPyryakov@ekb.beeline.ru> =EB=CF=D0=C9=D1: Eli Mesika <emesika@redhat.com>, = users@ovirt.org =E4=C1=D4=C1: 13.09.2012 07:43 =F4=C5=CD=C1: 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 =
relevant line in vdsm)
commit 59934118e3a30c57539d2b71016532bdd9c4ab17 Author: Roy Golan <rgolan@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@redhat.com> Reviewed-on: http://gerrit.ovirt.org/7058 Reviewed-by: Dan Kenigsberg <danken@redhat.com> Reviewed-by: Omer Frenkel <ofrenkel@redhat.com> Tested-by: Omer Frenkel <ofrenkel@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=3DFalse, options=3D''): api =3D API.Global() return api.fenceNode(addr, port, agent, username, password, - action, secure) + action, secure, options)
def setLogLevel(self, level): api =3D API.Global()
=20 There is my part of old /usr/share/vdsm/BindingXMLRPC.py file from =
--Apple-Mail=_E3DA1A6F-D220-4661-A791-1815D34ABA86 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=koi8-r 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: the proxy
host: =20 def fenceNode(self, addr, port, agent, username, password, action, secure=3DFalse, options=3D''): api =3D API.Global(self.cif) return api.fenceNode(addr, port, agent, username, password, action, secure) =20 there is replased: =20 def fenceNode(self, addr, port, agent, username, password, action, secure=3DFalse, options=3D''): api =3D API.Global(self.cif) return api.fenceNode(addr, port, agent, username, password, action, secure, options) =20 I restart ovirt-engine and still see no option presented in vdsm.log. Test still failed. =20 this is a vdsm change, not an ovirt-engine (restart vdsm?) is this ovirt node or plain fedora/el6?
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Darrell Budic Bigwells Technology LLC office: 312.529.7816 cell: 608.239.4628 --Apple-Mail=_E3DA1A6F-D220-4661-A791-1815D34ABA86 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=koi8-r <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That = fix worked for me (ipmilan wise, anyway. Still no go on ilo, but we knew = that, right?). Thanks Itamar!<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div> -Darrell</div><div><br><div><div>On = Sep 13, 2012, at 5:45 PM, Itamar Heim wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On = 09/13/2012 08:42 AM, Dmitriy A Pyryakov wrote:<br><blockquote = type=3D"cite">Itamar Heim <<a = href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a>> =CE=C1=D0=C9=D3=C1= =CE=CF 13.09.2012 11:09:24:<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite"> > =EF=D4: = Itamar Heim <<a = href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a>><br></blockquote>= <blockquote type=3D"cite"> > =EB=CF=CD=D5: Dmitriy A Pyryakov <<a = href=3D"mailto:DPyryakov@ekb.beeline.ru">DPyryakov@ekb.beeline.ru</a>><= br></blockquote><blockquote type=3D"cite"> > =EB=CF=D0=C9=D1: Darrell = Budic <<a = href=3D"mailto:darrell.budic@bigwells.net">darrell.budic@bigwells.net</a>&= gt;, <a = href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br></blockquote><block= quote type=3D"cite"> > =E4=C1=D4=C1: 13.09.2012 = 11:09<br></blockquote><blockquote type=3D"cite"> > =F4=C5=CD=C1: Re: = [Users] HA: Re: HP Integrated Lights Out 3<br></blockquote><blockquote = type=3D"cite"> ><br></blockquote><blockquote type=3D"cite"> > On = 09/13/2012 06:00 AM, Dmitriy A Pyryakov = wrote:<br></blockquote><blockquote type=3D"cite"> > > Darrell = Budic <<a = href=3D"mailto:darrell.budic@bigwells.net">darrell.budic@bigwells.net</a>&= gt; =CE=C1=D0=C9=D3=C1=CE=CF 13.09.2012<br></blockquote><blockquote = type=3D"cite">07:43:44:<br></blockquote><blockquote type=3D"cite"> > = ><br></blockquote><blockquote type=3D"cite"> > > > =EF=D4: = Darrell Budic <<a = href=3D"mailto:darrell.budic@bigwells.net">darrell.budic@bigwells.net</a>&= gt;<br></blockquote><blockquote type=3D"cite"> > > > =EB=CF=CD=D5= : Dmitriy A Pyryakov <<a = href=3D"mailto:DPyryakov@ekb.beeline.ru">DPyryakov@ekb.beeline.ru</a>><= br></blockquote><blockquote type=3D"cite"> > > > =EB=CF=D0=C9=D1:= Eli Mesika <<a = href=3D"mailto:emesika@redhat.com">emesika@redhat.com</a>>, <a = href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br></blockquote><block= quote type=3D"cite"> > > > =E4=C1=D4=C1: 13.09.2012 = 07:43<br></blockquote><blockquote type=3D"cite"> > > > =F4=C5=CD=C1= : Re: [Users] HP Integrated Lights Out 3<br></blockquote><blockquote = type=3D"cite"> > > ><br></blockquote><blockquote type=3D"cite"> = > > > I have this problem too. I actually tracked it down to = the engine<br></blockquote><blockquote type=3D"cite"> > > > not = passing the arguments to the fence scripts but then = got<br></blockquote><blockquote type=3D"cite"> > > > distracted = and never followed up with a report. In my case, the = data<br></blockquote><blockquote type=3D"cite"> > > > base was = correct, and if I ran the fence script by hand, it = would<br></blockquote><blockquote type=3D"cite"> > > > work, = but the vdsm wasn't running it with the options or even = all<br></blockquote><blockquote type=3D"cite"> > > > the = arguments (username/pw, etc). I've tried it with ilo3 = and<br></blockquote><blockquote type=3D"cite"> > > > ipmilan = both, same issue.<br></blockquote><blockquote type=3D"cite"> > > = ><br></blockquote><blockquote type=3D"cite"> > > > If you'd = like, I can recreate some of my debugging, I'd gotten = so<br></blockquote><blockquote type=3D"cite"> > > > far as to = to hack some print statements into the fence scripts = to<br></blockquote><blockquote type=3D"cite"> > > > demonstrate = what was happening. Lost that with some rebuilds, = but<br></blockquote><blockquote type=3D"cite"> > > > easy = enough to recreate...<br></blockquote><blockquote type=3D"cite"> > = > ><br></blockquote><blockquote type=3D"cite"> > > > = -Darrell<br></blockquote><blockquote type=3D"cite"> > = ><br></blockquote><blockquote type=3D"cite"> > > Hello, = Darrell.<br></blockquote><blockquote type=3D"cite"> > = ><br></blockquote><blockquote type=3D"cite"> > > It would be = great!<br></blockquote><blockquote type=3D"cite"> = ><br></blockquote><blockquote type=3D"cite"> > may i suggest you = first try to apply this patch to vdsm (just edit = the<br></blockquote><blockquote type=3D"cite"> > relevant line in = vdsm)<br></blockquote><blockquote type=3D"cite"> = ><br></blockquote><blockquote type=3D"cite"> > commit = 59934118e3a30c57539d2b71016532bdd9c4ab17<br></blockquote><blockquote = type=3D"cite"> > Author: Roy Golan <<a = href=3D"mailto:rgolan@redhat.com">rgolan@redhat.com</a>><br></blockquot= e><blockquote type=3D"cite"> > Date: Thu Aug 9 16:34:10 2012 = +0300<br></blockquote><blockquote type=3D"cite"> = ><br></blockquote><blockquote type=3D"cite"> > fenceNode API is = missing the options argument<br></blockquote><blockquote type=3D"cite"> = ><br></blockquote><blockquote type=3D"cite"> > Change-Id: = Ib2ce9b0f71040f9198413fa06c5d8768994842ec<br></blockquote><blockquote = type=3D"cite"> > Signed-off-by: Roy Golan <<a = href=3D"mailto:rgolan@redhat.com">rgolan@redhat.com</a>><br></blockquot= e><blockquote type=3D"cite"> > Reviewed-on: <a = href=3D"http://gerrit.ovirt.org/7058">http://gerrit.ovirt.org/7058</a><br>= </blockquote><blockquote type=3D"cite"> > Reviewed-by: Dan Kenigsberg = <<a = href=3D"mailto:danken@redhat.com">danken@redhat.com</a>><br></blockquot= e><blockquote type=3D"cite"> > Reviewed-by: Omer Frenkel <<a = href=3D"mailto:ofrenkel@redhat.com">ofrenkel@redhat.com</a>><br></block= quote><blockquote type=3D"cite"> > Tested-by: Omer Frenkel <<a = href=3D"mailto:ofrenkel@redhat.com">ofrenkel@redhat.com</a>><br></block= quote><blockquote type=3D"cite"> ><br></blockquote><blockquote = type=3D"cite"> > diff --git a/vdsm/BindingXMLRPC.py = b/vdsm/BindingXMLRPC.py<br></blockquote><blockquote type=3D"cite"> > = index cc5300f..8b548e4 100644<br></blockquote><blockquote type=3D"cite"> = > --- a/vdsm/BindingXMLRPC.py<br></blockquote><blockquote = type=3D"cite"> > +++ = b/vdsm/BindingXMLRPC.py<br></blockquote><blockquote type=3D"cite"> > = @@ -357,7 +357,7 @@ class = BindingXMLRPC(object):<br></blockquote><blockquote type=3D"cite"> > = secure=3DFalse, options=3D''):<br></blockquote><blockquote type=3D"cite"> = > api =3D API.Global()<br></blockquote><blockquote type=3D"cite"> = > return api.fenceNode(addr, port, agent, username, = password,<br></blockquote><blockquote type=3D"cite"> > - action, = secure)<br></blockquote><blockquote type=3D"cite"> > + action, = secure, options)<br></blockquote><blockquote type=3D"cite"> = ><br></blockquote><blockquote type=3D"cite"> > def = setLogLevel(self, level):<br></blockquote><blockquote type=3D"cite"> = > api =3D API.Global()<br></blockquote><blockquote type=3D"cite"> = ><br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">There is my = part of old /usr/share/vdsm/BindingXMLRPC.py file from = proxy<br></blockquote><blockquote = type=3D"cite">host:<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">def = fenceNode(self, addr, port, agent, username, password, = action,<br></blockquote><blockquote type=3D"cite">secure=3DFalse, = options=3D''):<br></blockquote><blockquote type=3D"cite">api =3D = API.Global(self.cif)<br></blockquote><blockquote type=3D"cite">return = api.fenceNode(addr, port, agent, username, = password,<br></blockquote><blockquote type=3D"cite">action, = secure)<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">there is = replased:<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">def = fenceNode(self, addr, port, agent, username, password, = action,<br></blockquote><blockquote type=3D"cite">secure=3DFalse, = options=3D''):<br></blockquote><blockquote type=3D"cite">api =3D = API.Global(self.cif)<br></blockquote><blockquote type=3D"cite">return = api.fenceNode(addr, port, agent, username, = password,<br></blockquote><blockquote type=3D"cite">action, secure, = options)<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">I restart = ovirt-engine and still see no option presented in = vdsm.log.<br></blockquote><blockquote type=3D"cite">Test still = failed.<br></blockquote><br>this is a vdsm change, not an ovirt-engine = (restart vdsm?)<br>is this ovirt node or plain = fedora/el6?<br>_______________________________________________<br>Users = mailing list<br><a = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br>http://lists.ovirt.= org/mailman/listinfo/users<br></div></blockquote></div><br><div> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Darrell = Budic</div><div>Bigwells Technology LLC</div><div>office: = 312.529.7816</div><div>cell: 608.239.4628</div><div><br></div></span><br = class=3D"Apple-interchange-newline"> </div> <br></div></body></html>= --Apple-Mail=_E3DA1A6F-D220-4661-A791-1815D34ABA86--