RHEV 3.2 rhevm-shell action host fence doesn't indicate req'd '--fence_type' opt
Issue
RHEV 3.2 rhevm-shell 'action host
[RHEVM shell (connected)]# info
backend version: 3.2
sdk version : 3.2.1.1
cli version : 3.2.0.9
python version : 2.6.6.final.0
entry point : https://abc.somewhere.com/api
[RHEVM shell (connected)]# action host abc fence ?
error: wrong number of arguments, try 'help action' for help.
[RHEVM shell (connected)]# action host abc
activate approve commitnetconfig deactivate fence install iscsidiscover iscsilogin
[RHEVM shell (connected)]# action host abc fence ?
error: wrong number of arguments, try 'help action' for help.
[RHEVM shell (connected)]# action host abc fence --correlation_id --correlation_id --correlation_id --correlation_id
error:
status: 400
reason: Bad Request
detail: Action [fenceType] required for fence
[RHEVM shell (connected)]# action host abc fence
error:
status: 400
reason: Bad Request
detail: Action [fenceType] required for fence
[RHEVM shell (connected)]# action host abc fence --fence_type status
fence_type : status
power_management-status-state: on
status-state : complete
Environment
Red Hat Enterprise Virtualization
3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
