Created attachment 766060 [details]
Description of problem:
Fence host with power management via other host with rhevh failed
Fencing failed via GUI, via CLI also failed.
Via vdsClient fencing work
Version-Release number of selected component (if applicable):
Host with power management - vdsm-4.10.2-17.0.el6ev
Host with rhevh - vdsm-4.10.2-19.0.el6ev
Install two hosts, that one of them with correct power management and another with rhevh
Fence host with power management(restart via power management)
Steps to Reproduce:
1. See above
Host with power management not restarted and error messages in events:
Failed to restart Host <host_with_pm>, (User: admin@internal).
Failed to stop Host <host_with_pm>, (User: admin@internal).
Host with power management restarted
Not sure this is related to rhevh
Please specify the PM agent/s used
Please redo the test with two RHEL hosts , only if the same test succeeded on 2 RHELs and fails on one RHEL and one RHEVH when RHEVH is the proxy we know that it is connected to RHEVH
Also, please do a oposite test where RHEVH host need to be fenced by a RHEL proxy
Rhel with last vdsm 3.3
I forget that my host was with last vdsm, when I fence host with power management via this host, no errors messages and host really restarted, but vds command seem to be the same as for fence with error message:
Thread-578::DEBUG::2013-06-30 12:45:14,808::API::1079::vds::(fenceNode) fenceNode(addr=10.35.23.24,port=,agent=apc_snmp,user=talayan,passwd=XXXX,action=status,secure=,options=port=4
Thread-578::DEBUG::2013-06-30 12:45:15,184::API::1105::vds::(fenceNode) rc 0 in agent=fence_apc_snmp
secure=no out Status: ON
err Parse error: Ignoring unknown option 'secure=no'
3) When trying to restart via rhel with
One time it restart ok, other return error message and host not restarted
in order to avoid confusion and to make sure this is really an issue we need you to:
check fencing host X (same host in all below tests)
- check fencing through RHEVH (through UI after at least 5 minutes the host is maintenance).
- check fencing through RHEL (through UI after at least 5 minutes the host is in maintenance)
According to the logs above it looks like some of the failures were due to insufficient quite time.
Fencing of host work fine via RHEL when given needed timeouts, also via RHEVH,
but it still question why it different format of command fenceNode via GUI and via vdsClient.
(In reply to Artyom from comment #12)
> Fencing of host work fine via RHEL when given needed timeouts, also via
> but it still question why it different format of command fenceNode via GUI
> and via vdsClient.
Please elaborate on the difference you see in the formats
(In reply to Artyom from comment #14)
> Via vdsClient
Please add the full command syntax to vdsClient
vdsClient fenceNode aqua-vds7-mgmt.qa.lab.tlv.redhat.com 0 ipmilan root calvin reboot
(In reply to Artyom from comment #16)
> vdsClient fenceNode aqua-vds7-mgmt.qa.lab.tlv.redhat.com 0 ipmilan root
> calvin reboot
So, you are giving port=0 in the call to vdsClient and the default for secured is false , so its no matter if you give secure as an empty string or not given it at all , in both 'false' will be used
After consulting with Barak this is CLOSED with NOTABUG