Bug 782734

Summary: [ovirt] [engine-cli] unable to add host
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-17 07:49:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim 2012-01-18 10:03:56 UTC
Description of problem:

- trying to add new host with no success:

[oVirt-shell:connected]# create host --name "myHost" --address "10.16.144.166" --rootPassword "password"
unknown error: 
status: 400
reason: Bad Request
detail: Host [address, rootPassword] required for add

[oVirt-shell:connected]# create host --name "myHost" --address "10.16.144.166" --password "password"
unknown error: 
status: 400
reason: Bad Request
detail: Host [address, rootPassword] required for add

[oVirt-shell:connected]# create host --name "myHost" "10.16.144.166" "password"    
error: syntax error

Comment 1 Michael Pasternak 2012-01-19 11:04:43 UTC
create host --name "" --address "" --root_password ""

Comment 2 Haim 2012-01-22 15:46:10 UTC
verified on ovirt-engine-sdk-1.2-1.fc16.x86_64