
10 Sep
2012
10 Sep
'12
2:05 p.m.
------=_Part_66911038_1884428589.1347278702687 Content-Type: multipart/related; boundary="----=_Part_66911039_502469367.1347278702688" ------=_Part_66911039_502469367.1347278702688 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Dmitriy A Pyryakov" <DPyryakov@ekb.beeline.ru> > To: "Eli Mesika" <emesika@redhat.com> > Cc: "Itamar Heim" <iheim@redhat.com>, users@ovirt.org > Sent: Monday, September 10, 2012 2:43:42 PM > Subject: HA: Re: HA: Re: [Users] HP Integrated Lights Out 3 >=20 >=20 >=20 >=20 >=20 > Now ilo3 presented in Power Management but still doesn't work. part > of vdsm.log: Thread-258783::DEBUG::2012-09-10 > 17:39:06,359::API::1024::vds::(fenceNode) > fenceNode(addr=3D192.168.10.103,port=3D,agent=3Dipmilan,user=3DAdministra= tor,passwd=3DXXXX,action=3Dstatus,secure=3D,options=3D) > Thread-258783::DEBUG::2012-09-10 > 17:39:07,386::API::1050::vds::(fenceNode) rc 1 in > agent=3Dfence_ipmilan > ipaddr=3D192.168.10.103 > login=3DAdministrator > option=3Dstatus > passwd=3DXXXX > out Getting status of IPMI:192.168.10.103...Chassis power =3D Unknown > Failed > err >=20 > part of engine.log >=20 > 2012-09-10 17:41:51,089 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] > (ajp--0.0.0.0-8009-10) START, FenceVdsVDSCommand(vdsId =3D > 71528b6e-f5e6-11e1-a15f-0011856cf23e, targetVdsId =3D > 8dddf9e6-f80a-11e1-b036-0011856cf23e, action =3D Status, ip =3D > 192.168.10.103, port =3D , type =3D ipmilan, user =3D Administrator, > password =3D ******, options =3D 'lanplus,power_wait=3D4'), log id: > f442157 > 2012-09-10 17:41:53,226 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] > (ajp--0.0.0.0-8009-10) FINISH, FenceVdsVDSCommand, return: Test > Failed, Host Status is: unknown. The fence-agent script reported the > following error: Getting status of IPMI:192.168.10.103...Chassis > power =3D Unknown > Failed > , log id: f442157 Well, I will have to investigate that, we can clearly see that backend send= the 'lanplus,power_wait=3D4' options, but from some reason the options in = the vdsm.log are still empty. >=20 > - - > Dmitriy Pyryakov >=20 > VimpelCom Ltd. > Inactive hide details for Eli Mesika ---10.09.2012 17:29:41-------- > Original Message ----- > From: "Itamar Heim" <iheim@redhat.Eli > Mesika ---10.09.2012 17:29:41-------- Original Message ----- > From: > "Itamar Heim" <iheim@redhat.com> >=20 > =D0=9E=D1=82: Eli Mesika <emesika@redhat.com> > =D0=9A=D0=BE=D0=BC=D1=83: Dmitriy A Pyryakov <DPyryakov@ekb.beeline.ru> > =D0=9A=D0=BE=D0=BF=D0=B8=D1=8F: users@ovirt.org, Itamar Heim <iheim@redha= t.com> > =D0=94=D0=B0=D1=82=D0=B0: 10.09.2012 17:29 > =D0=A2=D0=B5=D0=BC=D0=B0: Re: HA: Re: [Users] HP Integrated Lights Out 3 >=20 >=20 >=20 >=20 >=20 >=20 > ----- Original Message ----- > > From: "Itamar Heim" <iheim@redhat.com> > > To: "Eli Mesika" <emesika@redhat.com> > > Cc: users@ovirt.org, "Dmitriy A Pyryakov" > > <DPyryakov@ekb.beeline.ru> > > Sent: Monday, September 10, 2012 2:14:31 PM > > Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3 > >=20 > > On 09/10/2012 02:07 PM, Eli Mesika wrote: > > >=20 > > >=20 > > > ----- Original Message ----- > > >> From: "Itamar Heim" <iheim@redhat.com> > > >> To: "Dmitriy A Pyryakov" <DPyryakov@ekb.beeline.ru> > > >> Cc: "Eli Mesika" <emesika@redhat.com>, users@ovirt.org > > >> Sent: Monday, September 10, 2012 12:51:03 PM > > >> Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3 > > >>=20 > > >> On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote: > > >>> engine=3D# select * from vdc_options where option_name in > > >>> ('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMappi= ng','VdsFenceType'); > > >>> option_id | option_name | option_value | version > > >>> -----------+-------------------------+-----------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------------------------------------------------+--------- > > >>> 77 | FenceAgentMapping | ilo3=3Dipmilan | general > > >>> 76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=3D4 | > > >>> general > > >>> 323 | VdsFenceType | > > >>> alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs > > >>> |=20 > > >>> 3.1 > > >>> 322 | VdsFenceType | > > >>=20 > > >> eli - ilo3 is missing in 3.1? > > > Yes, this is certainly a bug, I will open it and resolve ASAP > >=20 > > this is a db change, so dmitriy can apply it easily as well. > Sure > Dmitriy , please apply > 1) run on your Postgres engine : > select > fn_db_update_config_value('VdsFenceType','alom,apc,bladecenter,drac5,eps,= ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs','3.1'); >=20 > 2) Restart engine > 3) Check again (you should have ilo3 now in the UI list) > 4) Let me know if it works >=20 > Thanks >=20 > >=20 > > >> and maybe another bug on not passing fence options which i > > >> remember > > >> we > > >> had at some point > > > Yes, I believe that the above will solve the issue since we had > > > already tested ilo3 unless we have a regression I am not aware > > > about. > >=20 > > lets hope so. question is if it was fixed after ovirt 3.1 was done. > >=20 > > >=20 > > >>=20 > > >>> alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_u= cs > > >>> | 3.0 > > >>> 321 | VdsFenceType | > > >>> alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs > > >>> |=20 > > >>> 2.2 > > >>> 318 | VdsFenceOptionMapping | > > >>> alom:secure=3Dsecure,port=3Dipport;apc:secure=3Dsecure,port=3Dippor= t,slot=3Dport;bladecenter:secure=3Dsecure,port=3Dipport,slot=3Dport;drac5:s= ecure=3Dsecure,slot=3Dport;eps:slot=3Dport;ilo:secure=3Dssl,port=3Dipport;i= pmilan:;rsa:secure=3Dsecure,port=3Dipport;rsb:;wti:secure=3Dsecure,port=3Di= pport,slot=3Dport;cisco_ucs:secure=3Dssl,slot=3Dport;ilo3: > > >>> | general > > >>> (6 rows) > > >>>=20 > > >>> -- > > >>>=20 > > >>> Dmitriy Pyryakov > > >>> VimpelCom Ltd. > > >>>=20 > > >>>=20 > > >>> Inactive hide details for Eli Mesika ---10.09.2012 > > >>> 15:02:16-------- > > >>> Original Message ----- > From: "Dmitriy A Pyryakov" <DPyryaEli > > >>> Mesika > > >>> ---10.09.2012 15:02:16-------- Original Message ----- > From: > > >>> "Dmitriy A > > >>> Pyryakov" <DPyryakov@ekb.beeline.ru> > > >>>=20 > > >>> =D0=9E=D1=82: Eli Mesika <emesika@redhat.com> > > >>> =D0=9A=D0=BE=D0=BC=D1=83: Dmitriy A Pyryakov <DPyryakov@ekb.beeline= .ru> > > >>> =D0=9A=D0=BE=D0=BF=D0=B8=D1=8F: users@ovirt.org, Itamar Heim <iheim= @redhat.com> > > >>> =D0=94=D0=B0=D1=82=D0=B0: 10.09.2012 15:02 > > >>> =D0=A2=D0=B5=D0=BC=D0=B0: Re: [Users] HP Integrated Lights Out 3 > > >>> -------------------------------------------------------------------= ----- > > >>>=20 > > >>>=20 > > >>>=20 > > >>>=20 > > >>>=20 > > >>> ----- Original Message ----- > > >>> > From: "Dmitriy A Pyryakov" <DPyryakov@ekb.beeline.ru> > > >>> > To: "Itamar Heim" <iheim@redhat.com> > > >>> > Cc: "Eli Mesika" <emesika@redhat.com>, users@ovirt.org > > >>> > Sent: Monday, September 10, 2012 11:57:25 AM > > >>> > Subject: Re: [Users] HP Integrated Lights Out 3 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>> > Yes, but oVirt don't pass this options to fence_ipmilan > > >>> > command. > > >>> > There are all logged options: Thread-43892::DEBUG::2012-09-07 > > >>> > 13:14:03,094::API::1024::vds::(fenceNode) > > >>> >=20 > > >>> fenceNode(addr=3D192.168.10.103,port=3D,agent=3Dipmilan,user=3Dfenc= e_ilo,passwd=3DXXXX,action=3Dstatus,secure=3D,options=3D) > > >>> > Thread-43892::DEBUG::2012-09-07 > > >>> > 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in > > >>> > agent=3Dfence_ipmilan > > >>> > ipaddr=3D192.168.10.103 > > >>> > login=3Dfence_ilo > > >>> > option=3Dstatus > > >>> > passwd=3DXXXX > > >>> > out Getting status of IPMI:192.168.10.103...Chassis power =3D > > >>> > Unknown > > >>> > Failed > > >>> > err > > >>> >=20 > > >>>=20 > > >>> Hi > > >>> As you see, options arrived to VDSM as empty string > > >>> Can you please paste the output of the following SQL > > >>>=20 > > >>> select * from vdc_options where option_name =3D > > >>> 'FenceAgentDefaultParams'; > > >>>=20 > > >>> Thanks > > >>>=20 > > >>>=20 > > >>> > - - Dmitriy Pyryakov VimpelCom Ltd. > > >>> > Inactive hide details for Itamar Heim ---10.09.2012 > > >>> > 14:48:06---On > > >>> > 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote: > No, I don't > > >>> > Itamar > > >>> > Heim ---10.09.2012 14:48:06---On 09/10/2012 11:45 AM, Dmitriy > > >>> > A > > >>> > Pyryakov wrote: > No, I don't see an ilo3 type of fencing > > >>> > device > > >>> > i > > >>> >=20 > > >>> > =D0=9E=D1=82: Itamar Heim <iheim@redhat.com> > > >>> > =D0=9A=D0=BE=D0=BC=D1=83: Dmitriy A Pyryakov <DPyryakov@ekb.beeli= ne.ru> > > >>> > =D0=9A=D0=BE=D0=BF=D0=B8=D1=8F: Eli Mesika <emesika@redhat.com>, = users@ovirt.org > > >>> > =D0=94=D0=B0=D1=82=D0=B0: 10.09.2012 14:48 > > >>> > =D0=A2=D0=B5=D0=BC=D0=B0: Re: [Users] HP Integrated Lights Out 3 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>> > On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote: > > >>> > > No, I don't see an ilo3 type of fencing device in my "Power > > >>> > > Management" tab. > > >>> > >=20 > > >>> > > I have fence_ilo3 command on my hypervisor host. > > >>> >=20 > > >>> > did you try choosing ipmilan and passing options of > > >>> > lanplus,power_wait=3D4? > > >>> >=20 > > >>> >=20 > > >>> > >=20 > > >>> > > When I run it with following options: > > >>> > > privlvl=3Duser > > >>> > > ipaddr=3D192.168.10.103 > > >>> > > login=3Dfence_ilo > > >>> > > passwd=3D******** > > >>> > > operation=3Dstatus > > >>> > >=20 > > >>> > > it print: Getting status of IPMI:192.168.10.103...Chassis > > >>> > > power =3D > > >>> > > On > > >>> > > Done > > >>> > >=20 > > >>> > > oVirt Engine Version: 3.1.0-2.fc17 > > >>> > >=20 > > >>> > >=20 > > >>> > > - - > > >>> > > Dmitriy Pyryakov > > >>> > > VimpelCom Ltd. > > >>> > >=20 > > >>> > >=20 > > >>> > > Inactive hide details for Itamar Heim ---10.09.2012 > > >>> > > 14:28:19---On > > >>> > > 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote: > > > >>> > > Hello,Itamar > > >>> > > Heim > > >>> > > ---10.09.2012 14:28:19---On 09/10/2012 06:17 AM, Dmitriy A > > >>> > > Pyryakov > > >>> > > wrote: > Hello, > > >>> > >=20 > > >>> > > =D0=9E=D1=82: Itamar Heim <iheim@redhat.com> > > >>> > > =D0=9A=D0=BE=D0=BC=D1=83: Dmitriy A Pyryakov <DPyryakov@ekb.bee= line.ru> > > >>> > > =D0=9A=D0=BE=D0=BF=D0=B8=D1=8F: users@ovirt.org, Eli Mesika <em= esika@redhat.com> > > >>> > > =D0=94=D0=B0=D1=82=D0=B0: 10.09.2012 14:28 > > >>> > > =D0=A2=D0=B5=D0=BC=D0=B0: Re: [Users] HP Integrated Lights Out = 3 > > >>> > >=20 > > >>> -------------------------------------------------------------------= ----- > > >>> > >=20 > > >>> > >=20 > > >>> > >=20 > > >>> > > On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote: > > >>> > > > Hello, > > >>> > > >=20 > > >>> > > > I need to use the HP i-lo 3 as fencing device for OOB > > >>> > > > power > > >>> > > > management. > > >>> > > >=20 > > >>> > > > In man 8 page of fence_ipmilan I find that I must use > > >>> > > > lanplus and > > >>> > > > power_wait=3D4 options. When I insert this options in > > >>> > > > "Option" > > >>> > > > line > > >>> > > > of > > >>> > > > "Power Management" tab and press "Test" button - test is > > >>> > > > failed. > > >>> > > >=20 > > >>> > > > There is the part of vdsm.log at this time: > > >>> > > >=20 > > >>> > > > Thread-43892::DEBUG::2012-09-07 > > >>> > > > 13:14:03,094::API::1024::vds::(fenceNode) > > >>> > > >=20 > > >>> > >=20 > > >>> fenceNode(addr=3D192.168.10.103,port=3D,agent=3Dipmilan,user=3Dfenc= e_ilo,passwd=3DXXXX,action=3Dstatus,secure=3D,options=3D) > > >>> > > > Thread-43892::DEBUG::2012-09-07 > > >>> > > > 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in > > >>> > > > agent=3Dfence_ipmilan > > >>> > > > ipaddr=3D192.168.10.103 > > >>> > > > login=3Dfence_ilo > > >>> > > > option=3Dstatus > > >>> > > > passwd=3DXXXX > > >>> > > > out Getting status of IPMI:192.168.10.103...Chassis power > > >>> > > > =3D > > >>> > > > Unknown > > >>> > > > Failed > > >>> > > > err > > >>> > > >=20 > > >>> > > > My otions are not presented. It looks like a bug. > > >>> > > >=20 > > >>> > > > How can I fix it? How can I find a location of the script > > >>> > > > who run > > >>> > > > this > > >>> > > > test in my system? > > >>> > >=20 > > >>> > > strange, i thought we added ilo3 fence type back in 3.0 > > >>> > > which > > >>> > > wraps > > >>> > > ipmilan with lanplus,power_wait=3D4. > > >>> > > don'y you see ilo3 as an option? > > >>> > >=20 > > >>> > > >=20 > > >>> > > > - - > > >>> > > > Dmitriy Pyryakov > > >>> > > >=20 > > >>> > > > VimpelCom Ltd. > > >>> > > >=20 > > >>> > > >=20 > > >>> > > >=20 > > >>> > > > _______________________________________________ > > >>> > > > Users mailing list > > >>> > > > Users@ovirt.org > > >>> > > > http://lists.ovirt.org/mailman/listinfo/users > > >>> > > >=20 > > >>> > >=20 > > >>> > >=20 > > >>> > >=20 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>> >=20 > > >>>=20 > > >>=20 > > >>=20 > > >>=20 > >=20 > >=20 > >=20 >=20 >=20 ------=_Part_66911039_502469367.1347278702688-- ------=_Part_66911038_1884428589.1347278702687--