Re: [Users] drac5 power management test

2013-05-17 Thread Peter Reilly
The cluster is 3.2.  How do I check the PM Proxy setting?  The only proxy 
reference I remember during setup was this:

[root@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] :

Thanks,

Peter

--- On Fri, 5/17/13, Itamar Heim ih...@redhat.com wrote:

 From: Itamar Heim ih...@redhat.com
 Subject: Re: [Users] drac5 power management test
 To: Peter Reilly preill...@yahoo.com
 Cc: Thomas Scofield tscofi...@gmail.com, users users@ovirt.org, Eli 
 Mesika emes...@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

Re: [Users] drac5 power management test

2013-05-17 Thread Itamar Heim

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@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 ih...@redhat.com wrote:


From: Itamar Heim ih...@redhat.com
Subject: Re: [Users] drac5 power management test
To: Peter Reilly preill...@yahoo.com
Cc: Thomas Scofield tscofi...@gmail.com, users users@ovirt.org, Eli Mesika 
emes...@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

Re: [Users] drac5 power management test

2013-05-15 Thread Thomas Scofield
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 ih...@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 /ih...@redhat.com/* wrote:


 From: Itamar Heim ih...@redhat.com
 Subject: Re: [Users] drac5 power management test
 To: Peter Reilly preill...@yahoo.com
 Cc: users@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@ovirt.org /mc/compose?to=Users@ovirt.**orgUsers@ovirt.org
 
   
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users
  

 engine log for this?


 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] drac5 power management test

2013-05-13 Thread Itamar Heim

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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



engine log for this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] drac5 power management test

2013-05-13 Thread Itamar Heim

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 /ih...@redhat.com/* wrote:


From: Itamar Heim ih...@redhat.com
Subject: Re: [Users] drac5 power management test
To: Peter Reilly preill...@yahoo.com
Cc: users@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@ovirt.org /mc/compose?to=Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 

engine log for this?



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users