this bug regenerates the sdk according the #970237 change.
[imeerovi@imeerovi ~]$ rpm -qa | grep rhevm-cli rhevm-cli-3.2.1.1-1.el6ev.noarch [RHEVM shell (connected)]# update host address correlation_id port power_management-enabled power_management-pm_proxy root_password cluster-id display-address power_management-address power_management-options-option power_management-type storage_manager-priority cluster-name name power_management-agents-agent power_management-password power_management-username value [RHEVM shell (connected)]# update cdrom cluster datacenter disk host network nic role storagedomain tag template vm vmpool [RHEVM shell (connected)]# update host address correlation_id port power_management-enabled power_management-pm_proxy root_password cluster-id display-address power_management-address power_management-options-option power_management-type storage_manager-priority cluster-name name power_management-agents-agent power_management-password power_management-username value [RHEVM shell (connected)]# update host error: wrong number of arguments, try 'help update' for help. [RHEVM shell (connected)]# update host address correlation_id port power_management-enabled power_management-pm_proxy root_password cluster-id display-address power_management-address power_management-options-option power_management-type storage_manager-priority cluster-name name power_management-agents-agent power_management-password power_management-username value [RHEVM shell (connected)]# update host po port power_management-agents-agent power_management-options-option power_management-pm_proxy power_management-username power_management-address power_management-enabled power_management-password power_management-type [RHEVM shell (connected)]# update host power_management- power_management-address power_management-enabled power_management-password power_management-type power_management-agents-agent power_management-options-option power_management-pm_proxy power_management-username [RHEVM shell (connected)]# update host --power_management-username [imeerovi@imeerovi ~]$ /usr/bin/rhevm-shell -c --url=https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I ========================================== >>> connected to RHEVM manager 3.2.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# help add host USAGE add <type> [parent identifiers] [command options] DESCRIPTION Creates a new object or adds existent with type host. See 'help add' for generic help on creating objects. ATTRIBUTE OPTIONS The following options are available for objects with type host: * --name: string * --address: string * --root_password: string * --cluster-id|name: string * [--port: int] * [--display-address: string] * [--storage_manager-priority: int] * [--power_management-type: string] * [--power_management-enabled: boolean] * [--power_management-address: string] * [--power_management-username: string] * [--power_management-password: string] * [--power_management-options-option: collection] { [option.name: string] [option.value: string] } * [--power_management-pm_proxy: collection] { [propietary: string] } * [--power_management-agents-agent: collection] { [type: string] [address: string] [user_name: string] [password: string] [options.option: collection] { * [--name: string] * [--value: string] } } * [--reboot_after_installation: boolean] * [--expect: 201-created] * [--correlation_id: anystring] COLLECTION BASED OPTION FORMAT * [--x-y: collection] [RHEVM shell (connected)]#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1078.html