[Users] HA: Re: HP Integrated Lights Out 3
Itamar Heim ih...@redhat.com написано 20.09.2012 16:01:54: От: Itamar Heim ih...@redhat.com Кому: Eli Mesika emes...@redhat.com Копия: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru, users@ovirt.org, Roy Golan rgo...@redhat.com, Mike Burns mbu...@redhat.com Дата: 20.09.2012 16:02 Тема: Re: [Users] HP Integrated Lights Out 3 On 09/20/2012 12:58 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: Thursday, September 20, 2012 12:05:58 PM Subject: Re: [Users] HP Integrated Lights Out 3 Eli Mesika emes...@redhat.com написано 20.09.2012 14:55:41: От: Eli Mesika emes...@redhat.com Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru Копия: users@ovirt.org, Itamar Heim ih...@redhat.com Дата: 20.09.2012 14:55 Тема: Re: [Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3 - Original Message - From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru To: Itamar Heim ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, September 20, 2012 9:59:34 AM Subject: [Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3 I change Fedora 17 hosts to ovirt nodes (first - 2.5.0-2.0.fc17, please note editing a file on an ovirt node requires you to persist it, or it will be lost in next boot. mike can explain this better than me. What can I do to save my configuration changes at boot time?___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] HA: Re: HP Integrated Lights Out 3
- Original Message - From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru To: Itamar Heim ih...@redhat.com Cc: Mike Burns mbu...@redhat.com, users@ovirt.org Sent: Thursday, September 20, 2012 1:13:55 PM Subject: [Users] HA: Re: HP Integrated Lights Out 3 Itamar Heim ih...@redhat.com написано 20.09.2012 16:01:54: От: Itamar Heim ih...@redhat.com Кому: Eli Mesika emes...@redhat.com Копия: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru, users@ovirt.org, Roy Golan rgo...@redhat.com, Mike Burns mbu...@redhat.com Дата: 20.09.2012 16:02 Тема: Re: [Users] HP Integrated Lights Out 3 On 09/20/2012 12:58 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: Thursday, September 20, 2012 12:05:58 PM Subject: Re: [Users] HP Integrated Lights Out 3 Eli Mesika emes...@redhat.com написано 20.09.2012 14:55:41: От: Eli Mesika emes...@redhat.com Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru Копия: users@ovirt.org, Itamar Heim ih...@redhat.com Дата: 20.09.2012 14:55 Тема: Re: [Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3 - Original Message - From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru To: Itamar Heim ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, September 20, 2012 9:59:34 AM Subject: [Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3 I change Fedora 17 hosts to ovirt nodes (first - 2.5.0-2.0.fc17, please note editing a file on an ovirt node requires you to persist it, or it will be lost in next boot. mike can explain this better than me. What can I do to save my configuration changes at boot time? Added Mike here as well. Just FYI, most relevant conf' files are persisted during approval or installation. iirc there's a script you can use to persist a specific file. Something like: /usr/libexec/ovirt-functions ovirt_store_config your conf file ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] HA: Re: HP Integrated Lights Out 3
On Thu, 2012-09-20 at 06:51 -0400, Doron Fediuck wrote: __ From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru To: Itamar Heim ih...@redhat.com Cc: Mike Burns mbu...@redhat.com, users@ovirt.org Sent: Thursday, September 20, 2012 1:13:55 PM Subject: [Users] HA: Re: HP Integrated Lights Out 3 Itamar Heim ih...@redhat.com написано 20.09.2012 16:01:54: От: Itamar Heim ih...@redhat.com Кому: Eli Mesika emes...@redhat.com Копия: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru, users@ovirt.org, Roy Golan rgo...@redhat.com, Mike Burns mbu...@redhat.com Дата: 20.09.2012 16:02 Тема: Re: [Users] HP Integrated Lights Out 3 On 09/20/2012 12:58 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: Thursday, September 20, 2012 12:05:58 PM Subject: Re: [Users] HP Integrated Lights Out 3 Eli Mesika emes...@redhat.com написано 20.09.2012 14:55:41: От: Eli Mesika emes...@redhat.com Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru Копия: users@ovirt.org, Itamar Heim ih...@redhat.com Дата: 20.09.2012 14:55 Тема: Re: [Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3 - Original Message - From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru To: Itamar Heim ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, September 20, 2012 9:59:34 AM Subject: [Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3 I change Fedora 17 hosts to ovirt nodes (first - 2.5.0-2.0.fc17, please note editing a file on an ovirt node requires you to persist it, or it will be lost in next boot. mike can explain this better than me. What can I do to save my configuration changes at boot time? Added Mike here as well. Just FYI, most relevant conf' files are persisted during approval or installation. iirc there's a script you can use to persist a specific file. Something like: /usr/libexec/ovirt-functions ovirt_store_config your conf file just simply run # persist /path/to/file As for the py file you want to update, it's not easy to do. * on ovirt-node, run # mount -o remount,rw / * Get the original .py from either git or a Fedora host and put it in the right place on ovirt-node * edit the .py file * python -m compileall /path/to/python/file * persist /path/to/python/file.pyc ___ 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
Re: [Users] HA: Re: HP Integrated Lights Out 3
- Original Message - From: Itamar Heim ih...@redhat.com To: Darrell Budic darrell.bu...@bigwells.net Cc: users@ovirt.org, Eli Mesika emes...@redhat.com Sent: Friday, September 14, 2012 9:28:03 PM Subject: Re: [Users] HA: Re: HP Integrated Lights Out 3 On 09/14/2012 07:08 PM, Darrell Budic wrote: I had tried that and it hadn't changed, but looking at it this morning, it cleared those. Maybe it only checked on login? Anyway, now it's showing me a really old alert from a month or two ago about No other host in cluster to test power management from (or whatever the real verbiage is for that). Kind of strange since they've all got power management now :) Eli? I had check that in the code and it seems that PM Alerts for a Host are deleted when we succeed to sent a PM Status command. Also, this was not reproducible on my environment. I'll will need more info on that (logs , scenario etc) Thanks -Darrell On Sep 14, 2012, at 2:46 AM, Itamar Heim wrote: On 09/14/2012 02:32 AM, Darrell Budic wrote: 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. because the engine doesn't go and run 'test power management' all the time... click edit host, power management tab, click 'test'. Darrell Budic Bigwells Technology LLC ___ 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
Re: [Users] HA: Re: HP Integrated Lights Out 3
I had tried that and it hadn't changed, but looking at it this morning, it cleared those. Maybe it only checked on login? Anyway, now it's showing me a really old alert from a month or two ago about No other host in cluster to test power management from (or whatever the real verbiage is for that). Kind of strange since they've all got power management now :) -Darrell On Sep 14, 2012, at 2:46 AM, Itamar Heim wrote: On 09/14/2012 02:32 AM, Darrell Budic wrote: 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. because the engine doesn't go and run 'test power management' all the time... click edit host, power management tab, click 'test'. Darrell Budic Bigwells Technology LLC ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] HA: Re: HP Integrated Lights Out 3
On 09/13/2012 06:00 AM, Dmitriy A Pyryakov wrote: Darrell Budic darrell.bu...@bigwells.net написано 13.09.2012 07:43:44: От: Darrell Budic darrell.bu...@bigwells.net Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru Копия: Eli Mesika emes...@redhat.com, users@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 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 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() On Sep 10, 2012, at 10:48 PM, Dmitriy A Pyryakov wrote: Eli Mesika emes...@redhat.com написано 10.09.2012 19:41:27: От: Eli Mesika emes...@redhat.com Кому: Itamar Heim ih...@redhat.com Копия: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru, users@ovirt.org, Roy Golan rgo...@redhat.com Дата: 10.09.2012 19:41 Тема: Re: HA: Re: HA: Re: [Users] HP Integrated Lights Out 3 - 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=,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= 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? this is a part of vdsm.log from proxy host. Makes sense , I remember that Roy handled that but was
[Users] HA: Re: HP Integrated Lights Out 3
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| 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. От: 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=,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= 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=,action=status,secure=,options=) Thread-43892::DEBUG::2012-09-07 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in agent=fence_ipmilan
Re: [Users] HA: Re: 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? and maybe another bug on not passing fence options which i remember we had at some point 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=,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= 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.
Re: [Users] HA: Re: HP Integrated Lights Out 3
- 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 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. 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=,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= 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
Re: [Users] HA: Re: 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. 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=,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= 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