On Tue, Nov 14, 2017 at 10:10 AM, Artem Tambovskiy <artem.tambovskiy@gmail.com> wrote:
Hi,

In the engine.log appears following: 

2017-11-14 12:04:33,081+03 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] (default task-184) [32fe1ce0-2e25-4e2e-a6bf-59f39a65b2f1] Can not run fence action on host 'ovirt.prod.env', no suitable proxy host was found.

​Above is the important message, you don't have any other host which could execute fence action. You need to have at least one other host in status Up to be able to perform fence action.
 
2017-11-14 12:04:36,534+03 INFO  [org.ovirt.engine.core.bll.hostdeploy.UpdateVdsCommand] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Running command: UpdateVdsCommand internal: false. Entities affected :  ID: a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d Type: VDSAction group EDIT_HOST_CONFIGURATION with role type ADMIN
2017-11-14 12:04:36,704+03 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Can not run fence action on host 'ovirt.prod.env', no suitable proxy host was found.
2017-11-14 12:04:36,705+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error: null
2017-11-14 12:04:36,705+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error: null
2017-11-14 12:04:36,705+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error null
2017-11-14 12:04:36,705+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error null
2017-11-14 12:04:36,720+03 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] EVENT_ID: VDS_ALERT_PM_HEALTH_CHECK_START_MIGHT_FAIL(9,010), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Health check on Host <UNKNOWN> indicates that future attempts to Start this host using Power-Management are expected to fail.
2017-11-14 12:04:36,720+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error: null
2017-11-14 12:04:36,720+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error: null
2017-11-14 12:04:36,720+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error null
2017-11-14 12:04:36,720+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] Failed to get vds 'a9bb1c6f-b9c9-4dc3-a24e-b83b2004552d', error null
2017-11-14 12:04:36,731+03 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] EVENT_ID: VDS_ALERT_PM_HEALTH_CHECK_STOP_MIGHT_FAIL(9,011), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Health check on Host <UNKNOWN> indicates that future attempts to Stop this host using Power-Management are expected to fail.
2017-11-14 12:04:36,765+03 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] EVENT_ID: KDUMP_DETECTION_NOT_CONFIGURED_ON_VDS(617), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Kdump integration is enabled for host ovirt.prod.env, but kdump is not configured properly on host.
2017-11-14 12:04:36,781+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-186) [d83ce46d-ce89-4804-aba1-761103e93e8c] EVENT_ID: USER_UPDATE_VDS(43), Correlation ID: d83ce46d-ce89-4804-aba1-761103e93e8c, Call Stack: null, Custom Event ID: -1, Message: Host ovirt.prod.env configuration was updated by arta00@internal-authz.

Just let me know if more logs are needed.

Regards,
Artem

On Tue, Nov 14, 2017 at 11:52 AM, Martin Perina <mperina@redhat.com> wrote:
Hi,

could you please provide engine logs so we can investigate?

Thanks

Martin


On Tue, Nov 14, 2017 at 9:33 AM, Artem Tambovskiy <artem.tambovskiy@gmail.com> wrote:
Trying to configure power management for a certain host and fence agent always fail when I'm pressing Test button. 

 At the same time from command line on the same host all looks good: 

[root@ovirt ~]# fence_ipmilan -a 172.16.22.1 -l user -p pwd -o status -v -P
Executing: /usr/bin/ipmitool -I lanplus -H 172.16.22.1 -p 623 -U user -P pwd -L ADMINISTRATOR chassis power status

0 Chassis Power is on

Status: ON
[root@ovirt ~]# 

What could be the reason?

Regards,
Artem


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




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.




--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.