Description of problem: Run command via cli: update host aqua-vds8.qa.lab.tlv.redhat.com --power_management-agents-agent "agent.type=ipmilan, agent.username=qa,agent.order=1,agent.concurrent=false,agent.address=10.10.10.10,agent.password=111,agent.username=qa2,agent.order=2,agent.concurrent=false,agent.address=11.11.11.11,agent.password=222" --power_management-enabled true Return error message error: "type" is invalid segment at option "--agent.type=ipmilan". Version-Release number of selected component (if applicable): is13 How reproducible: always Steps to Reproduce: 1. Add host with two power managements and try to update power management types of agents 2. 3. Actual results: error message Expected results: change type of first agent to ipmilan Additional info: When run command: update host aqua-vds8.qa.lab.tlv.redhat.com --power_management-agents-agent "agent.username=qa,agent.order=1,agent.concurrent=false,agent.address=10.10.10.10,agent.password=111" --power_management-agents-agent "agent.type=ipmilan,agent.username=qa2,agent.order=2,agent.concurrent=false,agent.address=11.11.11.11,agent.password=222" --power_management-enabled true Update success, with apc type for two agents
assigned back. tested on rhevm-cli-3.3.0.8-1.el6ev.noarch rhevm-3.3.0-0.30.beta1.el6ev.noarch update host rose01 --power_management-agents-agent "agent.type=ipmilan, agent.user_name=qa,agent.order=1,agent.concurrent=false,agent.address=10.10.10.10,agent.password=111,agent.user_name=qa2,agent.order=2,agent.concurrent=false,agent.address=11.11.11.11,agent.password=222" --power_management-enabled true error: " agent.user_name=qa" is invalid segment at option "--power_management-agents-agent".
Please replace agent.user_name with agent.username I was able to successfully update host using command update host host1 --power_management-agents-agent "agent.type=ipmilan,agent.username=qa,agent.order=1,agent.concurrent=false,agent.address=10.10.10.10,agent.password=111,agent.username=qa2,agent.order=2,agent.concurrent=false,agent.address=11.11.11.11,agent.password=222" --power_management-enabled true
Submitting patch to fix option name in rsdl
verified on rhevm-sdk-python-3.3.0.19-1.el6ev.noarch
Closing - RHEV 3.3 Released