----- Original Message ----- > From: "Itamar Heim" <ih...@redhat.com> > To: "Eli Mesika" <emes...@redhat.com> > Cc: "Dmitriy A Pyryakov" <dpyrya...@ekb.beeline.ru>, users@ovirt.org > Sent: Monday, September 10, 2012 3:16:07 PM > Subject: Re: HA: Re: HA: Re: [Users] HP Integrated Lights Out 3 > > On 09/10/2012 03:05 PM, Eli Mesika wrote: > > > > > > ----- Original Message ----- > >> From: "Dmitriy A Pyryakov" <dpyrya...@ekb.beeline.ru> > >> To: "Eli Mesika" <emes...@redhat.com> > >> Cc: "Itamar Heim" <ih...@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 > >> > >> > >> > >> > >> > >> 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=192.168.10.103,port=,agent=ipmilan,user=Administrator,passwd=XXXX,action=status,secure=,options=) > >> Thread-258783::DEBUG::2012-09-10 > >> 17:39:07,386::API::1050::vds::(fenceNode) rc 1 in > >> agent=fence_ipmilan > >> ipaddr=192.168.10.103 > >> login=Administrator > >> option=status > >> passwd=XXXX > >> out Getting status of IPMI:192.168.10.103...Chassis power = > >> Unknown > >> Failed > >> err > >> > >> part of engine.log > >> > >> 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 = > >> 71528b6e-f5e6-11e1-a15f-0011856cf23e, targetVdsId = > >> 8dddf9e6-f80a-11e1-b036-0011856cf23e, action = Status, ip = > >> 192.168.10.103, port = , type = ipmilan, user = Administrator, > >> password = ******, options = 'lanplus,power_wait=4'), 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 = Unknown > >> Failed > >> , log id: f442157 > > > > Well, I will have to investigate that, we can clearly see that > > backend send the 'lanplus,power_wait=4' options, but from some > > reason the options in the vdsm.log are still empty. > > maybe this isn't part of vdsm one?
Makes sense , I remember that Roy handled that but was sure that it was already merged... > commit 59934118e3a30c57539d2b71016532bdd9c4ab17 > Author: Roy Golan <rgo...@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 <rgo...@redhat.com> > Reviewed-on: http://gerrit.ovirt.org/7058 > Reviewed-by: Dan Kenigsberg <dan...@redhat.com> > Reviewed-by: Omer Frenkel <ofren...@redhat.com> > Tested-by: Omer Frenkel <ofren...@redhat.com> > > > > > > > > > > > > > > > >> > >> - - > >> Dmitriy Pyryakov > >> > >> VimpelCom Ltd. > >> Inactive hide details for Eli Mesika ---10.09.2012 > >> 17:29:41-------- > >> Original Message ----- > From: "Itamar Heim" <ih...@redhat.eli > >> Mesika ---10.09.2012 17:29:41-------- Original Message ----- > > >> From: > >> "Itamar Heim" <ih...@redhat.com> > >> > >> От: Eli Mesika <emes...@redhat.com> > >> Кому: Dmitriy A Pyryakov <dpyrya...@ekb.beeline.ru> > >> Копия: users@ovirt.org, Itamar Heim <ih...@redhat.com> > >> Дата: 10.09.2012 17:29 > >> Тема: Re: HA: Re: [Users] HP Integrated Lights Out 3 > >> > >> > >> > >> > >> > >> > >> ----- Original Message ----- > >>> From: "Itamar Heim" <ih...@redhat.com> > >>> To: "Eli Mesika" <emes...@redhat.com> > >>> Cc: users@ovirt.org, "Dmitriy A Pyryakov" > >>> <dpyrya...@ekb.beeline.ru> > >>> Sent: Monday, September 10, 2012 2:14:31 PM > >>> Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3 > >>> > >>> On 09/10/2012 02:07 PM, Eli Mesika wrote: > >>>> > >>>> > >>>> ----- Original Message ----- > >>>>> From: "Itamar Heim" <ih...@redhat.com> > >>>>> To: "Dmitriy A Pyryakov" <dpyrya...@ekb.beeline.ru> > >>>>> Cc: "Eli Mesika" <emes...@redhat.com>, users@ovirt.org > >>>>> Sent: Monday, September 10, 2012 12:51:03 PM > >>>>> Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3 > >>>>> > >>>>> On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote: > >>>>>> engine=# select * from vdc_options where option_name in > >>>>>> ('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType'); > >>>>>> option_id | option_name | option_value | version > >>>>>> -----------+-------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------- > >>>>>> 77 | FenceAgentMapping | ilo3=ipmilan | general > >>>>>> 76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 | > >>>>>> general > >>>>>> 323 | VdsFenceType | > >>>>>> alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs > >>>>>> | > >>>>>> 3.1 > >>>>>> 322 | VdsFenceType | > >>>>> > >>>>> eli - ilo3 is missing in 3.1? > >>>> Yes, this is certainly a bug, I will open it and resolve ASAP > >>> > >>> 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'); > >> > >> 2) Restart engine > >> 3) Check again (you should have ilo3 now in the UI list) > >> 4) Let me know if it works > >> > >> Thanks > >> > >>> > >>>>> 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. > >>> > >>> lets hope so. question is if it was fixed after ovirt 3.1 was > >>> done. > >>> > >>>> > >>>>> > >>>>>> alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs > >>>>>> | 3.0 > >>>>>> 321 | VdsFenceType | > >>>>>> alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs > >>>>>> | > >>>>>> 2.2 > >>>>>> 318 | VdsFenceOptionMapping | > >>>>>> alom:secure=secure,port=ipport;apc:secure=secure,port=ipport,slot=port;bladecenter:secure=secure,port=ipport,slot=port;drac5:secure=secure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;ilo3: > >>>>>> | general > >>>>>> (6 rows) > >>>>>> > >>>>>> -- > >>>>>> > >>>>>> Dmitriy Pyryakov > >>>>>> VimpelCom Ltd. > >>>>>> > >>>>>> > >>>>>> 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" <dpyrya...@ekb.beeline.ru> > >>>>>> > >>>>>> От: Eli Mesika <emes...@redhat.com> > >>>>>> Кому: Dmitriy A Pyryakov <dpyrya...@ekb.beeline.ru> > >>>>>> Копия: users@ovirt.org, Itamar Heim <ih...@redhat.com> > >>>>>> Дата: 10.09.2012 15:02 > >>>>>> Тема: Re: [Users] HP Integrated Lights Out 3 > >>>>>> ------------------------------------------------------------------------ > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> ----- Original Message ----- > >>>>>>> From: "Dmitriy A Pyryakov" <dpyrya...@ekb.beeline.ru> > >>>>>>> To: "Itamar Heim" <ih...@redhat.com> > >>>>>>> Cc: "Eli Mesika" <emes...@redhat.com>, users@ovirt.org > >>>>>>> Sent: Monday, September 10, 2012 11:57:25 AM > >>>>>>> Subject: Re: [Users] HP Integrated Lights Out 3 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> 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) > >>>>>>> > >>>>>> fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=XXXX,action=status,secure=,options=) > >>>>>>> Thread-43892::DEBUG::2012-09-07 > >>>>>>> 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in > >>>>>>> agent=fence_ipmilan > >>>>>>> ipaddr=192.168.10.103 > >>>>>>> login=fence_ilo > >>>>>>> option=status > >>>>>>> passwd=XXXX > >>>>>>> out Getting status of IPMI:192.168.10.103...Chassis power = > >>>>>>> Unknown > >>>>>>> Failed > >>>>>>> err > >>>>>>> > >>>>>> > >>>>>> Hi > >>>>>> As you see, options arrived to VDSM as empty string > >>>>>> Can you please paste the output of the following SQL > >>>>>> > >>>>>> select * from vdc_options where option_name = > >>>>>> 'FenceAgentDefaultParams'; > >>>>>> > >>>>>> Thanks > >>>>>> > >>>>>> > >>>>>>> - - 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 > >>>>>>> > >>>>>>> От: Itamar Heim <ih...@redhat.com> > >>>>>>> Кому: Dmitriy A Pyryakov <dpyrya...@ekb.beeline.ru> > >>>>>>> Копия: Eli Mesika <emes...@redhat.com>, users@ovirt.org > >>>>>>> Дата: 10.09.2012 14:48 > >>>>>>> Тема: Re: [Users] HP Integrated Lights Out 3 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> 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. > >>>>>>>> > >>>>>>>> I have fence_ilo3 command on my hypervisor host. > >>>>>>> > >>>>>>> did you try choosing ipmilan and passing options of > >>>>>>> lanplus,power_wait=4? > >>>>>>> > >>>>>>> > >>>>>>>> > >>>>>>>> When I run it with following options: > >>>>>>>> privlvl=user > >>>>>>>> ipaddr=192.168.10.103 > >>>>>>>> login=fence_ilo > >>>>>>>> passwd=******** > >>>>>>>> operation=status > >>>>>>>> > >>>>>>>> it print: Getting status of IPMI:192.168.10.103...Chassis > >>>>>>>> power = > >>>>>>>> On > >>>>>>>> Done > >>>>>>>> > >>>>>>>> oVirt Engine Version: 3.1.0-2.fc17 > >>>>>>>> > >>>>>>>> > >>>>>>>> - - > >>>>>>>> Dmitriy Pyryakov > >>>>>>>> VimpelCom Ltd. > >>>>>>>> > >>>>>>>> > >>>>>>>> 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, > >>>>>>>> > >>>>>>>> От: Itamar Heim <ih...@redhat.com> > >>>>>>>> Кому: Dmitriy A Pyryakov <dpyrya...@ekb.beeline.ru> > >>>>>>>> Копия: users@ovirt.org, Eli Mesika <emes...@redhat.com> > >>>>>>>> Дата: 10.09.2012 14:28 > >>>>>>>> Тема: Re: [Users] HP Integrated Lights Out 3 > >>>>>>>> > >>>>>> ------------------------------------------------------------------------ > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote: > >>>>>>>>> Hello, > >>>>>>>>> > >>>>>>>>> I need to use the HP i-lo 3 as fencing device for OOB > >>>>>>>>> power > >>>>>>>>> management. > >>>>>>>>> > >>>>>>>>> In man 8 page of fence_ipmilan I find that I must use > >>>>>>>>> lanplus and > >>>>>>>>> power_wait=4 options. When I insert this options in > >>>>>>>>> "Option" > >>>>>>>>> line > >>>>>>>>> of > >>>>>>>>> "Power Management" tab and press "Test" button - test is > >>>>>>>>> failed. > >>>>>>>>> > >>>>>>>>> There is the part of vdsm.log at this time: > >>>>>>>>> > >>>>>>>>> Thread-43892::DEBUG::2012-09-07 > >>>>>>>>> 13:14:03,094::API::1024::vds::(fenceNode) > >>>>>>>>> > >>>>>>>> > >>>>>> fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=XXXX,action=status,secure=,options=) > >>>>>>>>> Thread-43892::DEBUG::2012-09-07 > >>>>>>>>> 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in > >>>>>>>>> agent=fence_ipmilan > >>>>>>>>> ipaddr=192.168.10.103 > >>>>>>>>> login=fence_ilo > >>>>>>>>> option=status > >>>>>>>>> passwd=XXXX > >>>>>>>>> out Getting status of IPMI:192.168.10.103...Chassis power > >>>>>>>>> = > >>>>>>>>> Unknown > >>>>>>>>> Failed > >>>>>>>>> err > >>>>>>>>> > >>>>>>>>> My otions are not presented. It looks like a bug. > >>>>>>>>> > >>>>>>>>> How can I fix it? How can I find a location of the script > >>>>>>>>> who run > >>>>>>>>> this > >>>>>>>>> test in my system? > >>>>>>>> > >>>>>>>> strange, i thought we added ilo3 fence type back in 3.0 > >>>>>>>> which > >>>>>>>> wraps > >>>>>>>> ipmilan with lanplus,power_wait=4. > >>>>>>>> don'y you see ilo3 as an option? > >>>>>>>> > >>>>>>>>> > >>>>>>>>> - - > >>>>>>>>> Dmitriy Pyryakov > >>>>>>>>> > >>>>>>>>> VimpelCom Ltd. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> _______________________________________________ > >>>>>>>>> Users mailing list > >>>>>>>>> Users@ovirt.org > >>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users > >>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>> > >>> > >>> > >> > >> > > > > > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users