RHEV 3.2 rhevm-shell action host fence doesn't indicate req'd '--fence_type' opt

Solution Unverified - Updated -

Issue

RHEV 3.2 rhevm-shell 'action host fence' tab-complete, help, ... does not indicate mandatory '--fence_type' argument.

[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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content