<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Yes, I can use fence_drac5 to reboot successfully.<br><br>In the engine.log I have this error when I try to use the test power management option.<br><br>2013-05-16 17:06:46,652 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-9) Illegal value in PM Proxy Preferences string , skipped.<br>2013-05-16 17:06:46,654 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-9) Failed to run Power Management command on Host , no running proxy Host was found.<br><br>And the following when I try to migrate a guest:<br><br>2013-05-16 17:08:10,844 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] (pool-3-thread-47) [34a22f2c] Running command: MigrateVmCommand internal: false. Entities affected : ID: e9f0cc95-d6be-4c00-a1e9-147d120474ed Type: VM<br>2013-05-16 17:08:11,002 INFO
[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-3-thread-47) [34a22f2c] START, MigrateVDSCommand(HostName = moses, HostId = 6c8c87a1-b98b-46ea-b66e-81afa0d2e794, vmId=e9f0cc95-d6be-4c00-a1e9-147d120474ed, srcHost=172.18.1.17, dstVdsId=4754a27a-b95e-45ba-b114-d671ae752d9a, dstHost=172.18.2.248:54321, migrationMethod=ONLINE), log id: 1279e198<br>2013-05-16 17:08:11,028 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-3-thread-47) [34a22f2c] VdsBroker::migrate::Entered (vm_guid=e9f0cc95-d6be-4c00-a1e9-147d120474ed, srcHost=172.18.1.17, dstHost=172.18.2.248:54321, method=online<br>2013-05-16 17:08:11,029 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-3-thread-47) [34a22f2c] START, MigrateBrokerVDSCommand(HostName = moses, HostId = 6c8c87a1-b98b-46ea-b66e-81afa0d2e794, vmId=e9f0cc95-d6be-4c00-a1e9-147d120474ed, srcHost=172.18.1.17,
dstVdsId=4754a27a-b95e-45ba-b114-d671ae752d9a, dstHost=172.18.2.248:54321, migrationMethod=ONLINE), log id: 3112180c<br>2013-05-16 17:08:11,055 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-3-thread-47) [34a22f2c] FINISH, MigrateBrokerVDSCommand, log id: 3112180c<br>2013-05-16 17:08:11,077 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-3-thread-47) [34a22f2c] FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 1279e198<br>2013-05-16 17:08:12,993 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-3) [7fc18303] RefreshVmList vm id e9f0cc95-d6be-4c00-a1e9-147d120474ed is migrating to vds abed2 ignoring it in the refresh until migration is done<br>2013-05-16 17:08:15,033 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-1) [103140d5] RefreshVmList vm id e9f0cc95-d6be-4c00-a1e9-147d120474ed is
migrating to vds abed2 ignoring it in the refresh until migration is done<br>2013-05-16 17:08:16,075 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-7) [2795d6dd] No string for UNASSIGNED type. Use default Log<br>2013-05-16 17:08:16,358 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-7) Running command: LoginUserCommand internal: false.<br>2013-05-16 17:08:16,400 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--127.0.0.1-8702-7) calling GetConfigurationValueQuery (ApplicationMode) with null version, using default general for version<br>2013-05-16 17:08:16,401 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--127.0.0.1-8702-7) calling GetConfigurationValueQuery (VdcVersion) with null version, using default general for version<br>2013-05-16 17:08:17,067 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-6) [5ac53d9f] RefreshVmList vm id e9f0cc95-d6be-4c00-a1e9-147d120474ed is migrating to vds abed2 ignoring it in the refresh until migration is done<br>2013-05-16 17:08:19,112 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-8) [36d19f8e] RefreshVmList vm id e9f0cc95-d6be-4c00-a1e9-147d120474ed is migrating to vds abed2 ignoring it in the refresh until migration is done<br>2013-05-16 17:08:22,647 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-7) [2795d6dd] VM testCentos6 e9f0cc95-d6be-4c00-a1e9-147d120474ed moved from MigratingFrom --> Up<br>2013-05-16 17:08:22,648 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-7) [2795d6dd] Adding VM e9f0cc95-d6be-4c00-a1e9-147d120474ed to re-run list<br>2013-05-16 17:08:22,664 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-7) [2795d6dd] Rerun vm e9f0cc95-d6be-4c00-a1e9-147d120474ed. Called from vds moses<br>2013-05-16 17:08:22,714 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-3-thread-44) [2795d6dd] START, MigrateStatusVDSCommand(HostName = moses, HostId = 6c8c87a1-b98b-46ea-b66e-81afa0d2e794, vmId=e9f0cc95-d6be-4c00-a1e9-147d120474ed), log id: 70b00eb8<br>2013-05-16 17:08:22,719 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-44) [2795d6dd] Failed in MigrateStatusVDS method<br>2013-05-16 17:08:22,721 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-44) [2795d6dd] Error code migrateErr and error message VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Fatal error during migration<br>2013-05-16 17:08:22,722 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-44) [2795d6dd]
Command org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return value <br> StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=12, mMessage=Fatal error during migration]]<br>2013-05-16 17:08:22,723 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-44) [2795d6dd] HostName = moses<br>2013-05-16 17:08:22,724 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-44) [2795d6dd] Command MigrateStatusVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Fatal error during migration<br>2013-05-16 17:08:22,725 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-3-thread-44) [2795d6dd] FINISH, MigrateStatusVDSCommand, log id: 70b00eb8<br>2013-05-16 17:08:22,854 INFO [org.ovirt.engine.core.bll.VdsSelector] (pool-3-thread-44) [2795d6dd] VDS moses
6c8c87a1-b98b-46ea-b66e-81afa0d2e794 is the same host the VM is currently running on VDS abed2 4754a27a-b95e-45ba-b114-d671ae752d9a have failed running this VM in the current selection cycle<br>2013-05-16 17:08:22,855 WARN [org.ovirt.engine.core.bll.MigrateVmCommand] (pool-3-thread-44) [2795d6dd] CanDoAction of action MigrateVm failed. Reasons:ACTION_TYPE_FAILED_VDS_VM_CLUSTER,VAR__ACTION__MIGRATE,VAR__TYPE__VM<br>2013-05-16 17:08:28,187 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-8) [36d19f8e] No string for UNASSIGNED type. Use default Log<br><br>Peter<br><br><br>--- On <b>Wed, 5/15/13, Thomas Scofield <i><tscofield@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Thomas Scofield <tscofield@gmail.com><br>Subject: Re: [Users] drac5 power management test<br>To: "Itamar Heim"
<iheim@redhat.com><br>Cc: "users" <users@ovirt.org>, "Eli Mesika" <emesika@redhat.com>, "Peter Reilly" <preilly88@yahoo.com><br>Date: Wednesday, May 15, 2013, 8:20 PM<br><br><div id="yiv669340114"><div dir="ltr"><p>Are you able to run the fence_drace5 command from the command line? I had some trouble getting the fence agent working on a drac6 management interface, I made some notes in the wiki <a rel="nofollow" target="_blank" href="http://www.ovirt.org/Automatic_Fencing#Troubleshooting">http://www.ovirt.org/Automatic_Fencing#Troubleshooting</a>. When testing make sure to specify an action, the default action is to reboot.<br>
</p>
<div class="yiv669340114gmail_quote">On May 14, 2013 1:37 AM, "Itamar Heim" <<a rel="nofollow" ymailto="mailto:iheim@redhat.com" target="_blank" href="/mc/compose?to=iheim@redhat.com">iheim@redhat.com</a>> wrote:<br><blockquote class="yiv669340114gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;">
On 05/14/2013 12:58 AM, Peter Reilly wrote:<br>
<blockquote class="yiv669340114gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;">
2013-05-13 17:57:33,355 ERROR [org.ovirt.engine.core.bll.<u></u>FenceExecutor]<br>
(ajp--127.0.0.1-8702-12) Illegal value in PM Proxy Preferences string ,<br>
skipped.<br>
</blockquote>
<br>
this seems to be the culprit.<br>
eli - thoughts?<br>
<br>
<blockquote class="yiv669340114gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;">
2013-05-13 17:57:33,356 ERROR [org.ovirt.engine.core.bll.<u></u>FenceExecutor]<br>
(ajp--127.0.0.1-8702-12) Failed to run Power Management command on Host<br>
, no running proxy Host was found.<br>
2013-05-13 17:57:38,963 WARN<br>
[org.ovirt.engine.core.compat.<u></u>backendcompat.PropertyInfo]<br>
(ajp--127.0.0.1-8702-4) Unable to get value of property: pmSecondaryUser<br>
for class org.ovirt.engine.core.common.<u></u>businessentities.VdsStatic<br>
2013-05-13 17:57:38,965 WARN<br>
[org.ovirt.engine.core.compat.<u></u>backendcompat.PropertyInfo]<br>
(ajp--127.0.0.1-8702-4) Unable to get value of property: pmSecondaryUser<br>
for class org.ovirt.engine.core.common.<u></u>businessentities.VdsStatic<br>
2013-05-13 17:57:38,967 INFO<br>
[org.ovirt.engine.core.bll.<u></u>UpdateVdsCommand] (ajp--127.0.0.1-8702-4)<br>
[2c6aea20] Running command: UpdateVdsCommand internal: false. Entities<br>
affected : ID: 6c8c87a1-b98b-46ea-b66e-<u></u>81afa0d2e794 Type: VDS<br>
2013-05-13 17:57:38,995 WARN<br>
[org.ovirt.engine.core.compat.<u></u>backendcompat.PropertyInfo]<br>
(ajp--127.0.0.1-8702-4) Unable to get value of property: pmSecondaryUser<br>
for class org.ovirt.engine.core.common.<u></u>businessentities.VdsStatic<br>
2013-05-13 17:57:38,996 WARN<br>
[org.ovirt.engine.core.compat.<u></u>backendcompat.PropertyInfo]<br>
(ajp--127.0.0.1-8702-4) Unable to get value of property: pmSecondaryUser<br>
for class org.ovirt.engine.core.common.<u></u>businessentities.VdsStatic<br>
2013-05-13 17:57:41,608 ERROR [org.ovirt.engine.core.bll.<u></u>FenceExecutor]<br>
(ajp--127.0.0.1-8702-4) [2c6aea20] Illegal value in PM Proxy Preferences<br>
string , skipped.<br>
2013-05-13 17:57:41,609 ERROR [org.ovirt.engine.core.bll.<u></u>FenceExecutor]<br>
(ajp--127.0.0.1-8702-4) [2c6aea20] Failed to run Power Management<br>
command on Host moses, no running proxy Host was found.<br>
<br>
<br>
--- On *Mon, 5/13/13, Itamar Heim /<<a rel="nofollow" ymailto="mailto:iheim@redhat.com" target="_blank" href="/mc/compose?to=iheim@redhat.com">iheim@redhat.com</a>>/* wrote:<br>
<br>
<br>
From: Itamar Heim <<a rel="nofollow" ymailto="mailto:iheim@redhat.com" target="_blank" href="/mc/compose?to=iheim@redhat.com">iheim@redhat.com</a>><br>
Subject: Re: [Users] drac5 power management test<br>
To: "Peter Reilly" <<a rel="nofollow" ymailto="mailto:preilly88@yahoo.com" target="_blank" href="/mc/compose?to=preilly88@yahoo.com">preilly88@yahoo.com</a>><br>
Cc: <a rel="nofollow" ymailto="mailto:users@ovirt.org" target="_blank" href="/mc/compose?to=users@ovirt.org">users@ovirt.org</a><br>
Date: Monday, May 13, 2013, 3:42 PM<br>
<br>
On 05/13/2013 10:01 PM, Peter Reilly wrote:<br>
> I'm using ovirt-release-el6-5-3.1.<u></u>noarch.rpm<br>
> & ovirt-node-iso-2.6.1-20120228.<u></u>fc18.iso<br>
> I have a two host cluster, both hosts up and functioning correctly.<br>
> I can manually log into both hosts drac5 card.<br>
> Both hosts are in the same cluster/data center.<br>
><br>
> When I save a host the eventlog says:<br>
> Host power management was verified successfully.<br>
><br>
> When I test power management it saws:<br>
> Test Failed, Host Status is: unknown. The fence-agent script reported<br>
> the following error: There is no other host in the data center<br>
that can<br>
> be used to test the power management settings.<br>
><br>
> My settings are:<br>
> Enable Power management (yes)<br>
> Concurrent (no)<br>
> Address (an ip address)<br>
> Username (root)<br>
> password (verified correct password)<br>
> type (drac5)<br>
> Slot (blank)<br>
> Options (blank)<br>
> Secure (yes)<br>
> Source (blank)<br>
><br>
> Is anyone successfully using a drac5 fence in ovirt 3.1?<br>
><br>
> Thanks,<br>
><br>
><br>
><br>
> ______________________________<u></u>_________________<br>
> Users mailing list<br>
> <a rel="nofollow" ymailto="mailto:Users@ovirt.org" target="_blank" href="/mc/compose?to=Users@ovirt.org">Users@ovirt.org</a> </mc/compose?to=<a rel="nofollow" ymailto="mailto:Users@ovirt.org" target="_blank" href="/mc/compose?to=Users@ovirt.org">Users@ovirt.<u></u>org</a>><br>
> <a rel="nofollow" target="_blank" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
><br>
<br>
engine log for this?<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a rel="nofollow" ymailto="mailto:Users@ovirt.org" target="_blank" href="/mc/compose?to=Users@ovirt.org">Users@ovirt.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></div>
</div>
</div></blockquote></td></tr></table>