[Users] drac5 power management test
Itamar Heim
iheim at redhat.com
Fri May 17 09:06:09 EDT 2013
On 05/17/2013 03:19 PM, Peter Reilly wrote:
> The cluster is 3.2. How do I check the PM Proxy setting? The only proxy reference I remember during setup was this:
>
> [root at cilicia ~]# engine-setup
> Welcome to oVirt Engine setup utility
> oVirt Engine uses httpd to proxy requests to the application server.
> It looks like the httpd installed locally is being actively used.
> The installer can override current configuration .
> Alternatively you can use JBoss directly (on ports higher than 1024)
> Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] :
> HTTP Port [80] :
> HTTPS Port [443] :
> Host fully qualified domain name. Note: this name should be fully resolvable [cilicia.example.org] :
PM proxy is about this:
http://www.ovirt.org/Features/Design/DetailedHostPMProxyPreferences
http://www.ovirt.org/Features/HostPMProxyPreferences
(i.e., check under host, power management)
>
> Thanks,
>
> Peter
>
> --- On Fri, 5/17/13, Itamar Heim <iheim at redhat.com> wrote:
>
>> From: Itamar Heim <iheim at redhat.com>
>> Subject: Re: [Users] drac5 power management test
>> To: "Peter Reilly" <preilly88 at yahoo.com>
>> Cc: "Thomas Scofield" <tscofield at gmail.com>, "users" <users at ovirt.org>, "Eli Mesika" <emesika at redhat.com>
>> Date: Friday, May 17, 2013, 2:38 AM
>> On 05/17/2013 12:11 AM, Peter Reilly
>> wrote:
>>> Yes, I can use fence_drac5 to reboot successfully.
>>>
>>> In the engine.log I have this error when I try to use
>> the test power
>>> management option.
>>>
>>> 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.
>>> 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.
>>
>> still waiting for Eli to chime on this.
>> is the cluster 3.1 or 3.2? what is the pm proxy value?
>>
>>>
>>> And the following when I try to migrate a guest:
>>
>> the below is a different issue - please open a new thread on
>> it.
>>
>> thanks,
>> Itamar
>>
>>>
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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.
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>> 2013-05-16 17:08:22,719 ERROR
>>>
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
>>> (pool-3-thread-44) [2795d6dd] Failed in
>> MigrateStatusVDS method
>>> 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
>>> 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
>>> StatusOnlyReturnForXmlRpc
>> [mStatus=StatusForXmlRpc [mCode=12,
>>> mMessage=Fatal error during migration]]
>>> 2013-05-16 17:08:22,723 INFO
>>>
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
>>> (pool-3-thread-44) [2795d6dd] HostName = moses
>>> 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
>>> 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
>>> 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
>>> 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
>>> 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
>>>
>>> Peter
>>>
>>>
>>> --- On *Wed, 5/15/13, Thomas Scofield /<tscofield at gmail.com>/*
>> wrote:
>>>
>>>
>>> From: Thomas Scofield <tscofield at gmail.com>
>>> Subject: Re: [Users] drac5
>> power management test
>>> To: "Itamar Heim" <iheim at redhat.com>
>>> Cc: "users" <users at ovirt.org>,
>> "Eli Mesika" <emesika at redhat.com>,
>>> "Peter Reilly" <preilly88 at yahoo.com>
>>> Date: Wednesday, May 15, 2013,
>> 8:20 PM
>>>
>>> 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
>>> http://www.ovirt.org/Automatic_Fencing#Troubleshooting.
>> When
>>> testing make sure to specify an
>> action, the default action is to reboot.
>>>
>>> On May 14, 2013 1:37 AM,
>> "Itamar Heim" <iheim at redhat.com
>>> </mc/compose?to=iheim at redhat.com>>
>> wrote:
>>>
>>> On 05/14/2013
>> 12:58 AM, Peter Reilly wrote:
>>>
>>>
>> 2013-05-13 17:57:33,355 ERROR
>>>
>> [org.ovirt.engine.core.bll.__FenceExecutor]
>>>
>> (ajp--127.0.0.1-8702-12) Illegal value in
>> PM Proxy
>>>
>> Preferences string ,
>>>
>> skipped.
>>>
>>>
>>> this seems to be
>> the culprit.
>>> eli - thoughts?
>>>
>>>
>> 2013-05-13 17:57:33,356 ERROR
>>>
>> [org.ovirt.engine.core.bll.__FenceExecutor]
>>>
>> (ajp--127.0.0.1-8702-12) Failed to run
>> Power Management
>>>
>> command on Host
>>> ,
>> no running proxy Host was found.
>>>
>> 2013-05-13 17:57:38,963 WARN
>>>
>> [org.ovirt.engine.core.compat.__backendcompat.PropertyInfo]
>>>
>> (ajp--127.0.0.1-8702-4) Unable to get
>> value of property:
>>>
>> pmSecondaryUser
>>> for
>> class
>>>
>> org.ovirt.engine.core.common.__businessentities.VdsStatic
>>>
>> 2013-05-13 17:57:38,965 WARN
>>>
>> [org.ovirt.engine.core.compat.__backendcompat.PropertyInfo]
>>>
>> (ajp--127.0.0.1-8702-4) Unable to get
>> value of property:
>>>
>> pmSecondaryUser
>>> for
>> class
>>>
>> org.ovirt.engine.core.common.__businessentities.VdsStatic
>>>
>> 2013-05-13 17:57:38,967 INFO
>>>
>> [org.ovirt.engine.core.bll.__UpdateVdsCommand]
>>>
>> (ajp--127.0.0.1-8702-4)
>>>
>> [2c6aea20] Running command:
>> UpdateVdsCommand internal:
>>>
>> false. Entities
>>>
>> affected : ID:
>> 6c8c87a1-b98b-46ea-b66e-__81afa0d2e794 Type: VDS
>>>
>> 2013-05-13 17:57:38,995 WARN
>>>
>> [org.ovirt.engine.core.compat.__backendcompat.PropertyInfo]
>>>
>> (ajp--127.0.0.1-8702-4) Unable to get
>> value of property:
>>>
>> pmSecondaryUser
>>> for
>> class
>>>
>> org.ovirt.engine.core.common.__businessentities.VdsStatic
>>>
>> 2013-05-13 17:57:38,996 WARN
>>>
>> [org.ovirt.engine.core.compat.__backendcompat.PropertyInfo]
>>>
>> (ajp--127.0.0.1-8702-4) Unable to get
>> value of property:
>>>
>> pmSecondaryUser
>>> for
>> class
>>>
>> org.ovirt.engine.core.common.__businessentities.VdsStatic
>>>
>> 2013-05-13 17:57:41,608 ERROR
>>>
>> [org.ovirt.engine.core.bll.__FenceExecutor]
>>>
>> (ajp--127.0.0.1-8702-4) [2c6aea20] Illegal
>> value in PM Proxy
>>>
>> Preferences
>>>
>> string , skipped.
>>>
>> 2013-05-13 17:57:41,609 ERROR
>>>
>> [org.ovirt.engine.core.bll.__FenceExecutor]
>>>
>> (ajp--127.0.0.1-8702-4) [2c6aea20] Failed
>> to run Power
>>>
>> Management
>>>
>> command on Host moses, no running proxy
>> Host was found.
>>>
>>>
>>> ---
>> On *Mon, 5/13/13, Itamar Heim /<iheim at redhat.com
>>>
>> </mc/compose?to=iheim at redhat.com>>/*
>> wrote:
>>>
>>>
>>>
>> From: Itamar Heim <iheim at redhat.com
>>>
>> </mc/compose?to=iheim at redhat.com>>
>>>
>> Subject: Re: [Users] drac5 power management test
>>>
>> To: "Peter Reilly" <preilly88 at yahoo.com
>>>
>> </mc/compose?to=preilly88 at yahoo.com>>
>>>
>> Cc: users at ovirt.org
>> </mc/compose?to=users at ovirt.org>
>>>
>> Date: Monday, May 13, 2013, 3:42 PM
>>>
>>>
>> On 05/13/2013 10:01 PM, Peter Reilly wrote:
>>>
>> > I'm using
>> ovirt-release-el6-5-3.1.__noarch.rpm
>>>
>> > &
>> ovirt-node-iso-2.6.1-20120228.__fc18.iso
>>>
>> > I have a two host cluster, both hosts
>> up and
>>>
>> functioning correctly.
>>>
>> > I can manually log into both hosts
>> drac5 card.
>>>
>> > Both hosts are in the same
>> cluster/data center.
>>>
>> >
>>>
>> > When I save a host the eventlog
>> says:
>>>
>> > Host power management was verified
>> successfully.
>>>
>> >
>>>
>> > When I test power management it
>> saws:
>>>
>> > Test Failed, Host Status is: unknown.
>> The
>>>
>> fence-agent script reported
>>>
>> > the following error: There is no
>> other host in the
>>>
>> data center
>>>
>> that can
>>>
>> > be used to test the power management
>> settings.
>>>
>> >
>>>
>> > My settings are:
>>>
>> > Enable Power management (yes)
>>>
>> > Concurrent (no)
>>>
>> > Address (an ip address)
>>>
>> > Username (root)
>>>
>> > password (verified correct password)
>>>
>> > type (drac5)
>>>
>> > Slot (blank)
>>>
>> > Options (blank)
>>>
>> > Secure (yes)
>>>
>> > Source (blank)
>>>
>> >
>>>
>> > Is anyone successfully using a drac5
>> fence in ovirt 3.1?
>>>
>> >
>>>
>> > Thanks,
>>>
>> >
>>>
>> >
>>>
>> >
>>>
>> >
>> _________________________________________________
>>>
>> > Users mailing list
>>>
>> > Users at ovirt.org
>> </mc/compose?to=Users at ovirt.org>
>>>
>> </mc/compose?to=Users at ovirt.__org
>>>
>> </mc/compose?to=Users at ovirt.org>>
>>>
>> > http://lists.ovirt.org/__mailman/listinfo/users
>>>
>> <http://lists.ovirt.org/mailman/listinfo/users>
>>>
>> >
>>>
>>>
>> engine log for this?
>>>
>>>
>>>
>> _________________________________________________
>>> Users mailing
>> list
>>> Users at ovirt.org
>> </mc/compose?to=Users at ovirt.org>
>>> http://lists.ovirt.org/__mailman/listinfo/users
>>> <http://lists.ovirt.org/mailman/listinfo/users>
>>>
>>
>>
More information about the Users
mailing list