Bug 782707 - [ovirt] [engine-cli] unable to add new cluster
Summary: [ovirt] [engine-cli] unable to add new cluster
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 08:27 UTC by Haim
Modified: 2014-01-13 00:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-17 07:49:35 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Haim 2012-01-18 08:27:07 UTC
Description of problem:

- unable to add new cluster to newly created data-center, tried the following:

oVirt-shell:connected]# create cluster
unknown error:
status: 400
reason: Bad Request
detail: Cluster [name, dataCenter.name|id] required for add

[oVirt-shell:connected]# create cluster --name "TEST" --datacenter "TEST"
unknown error:
status: 400
reason: Bad Request
detail: Cluster [dataCenter.name|id] required for add

[oVirt-shell:connected]# create cluster --name "TEST" --datacenter.name "TEST"
error: syntax error


[oVirt-shell:connected]# create cluster --name "TEST" --datacenter_name "TEST"   
unknown error: 
status: 400
reason: Bad Request
detail: Cluster [dataCenter.name|id] required for add

Comment 1 Michael Pasternak 2012-01-19 14:34:45 UTC
create cluster --name "" --datacenter "" --cpu ""

note: this fix depends on: ovirt-engine-sdk-1.2-1

Comment 2 Haim 2012-01-22 15:43:12 UTC
fixed on ovirt-engine-sdk-1.2-1


Note You need to log in before you can comment on or make changes to this bug.