Bug 834854
Summary: | Ovirt CLI - Can't create vm disk when specifying storage domain | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elena <edolinin> |
Component: | ovirt-engine-restapi | Assignee: | Ori Liel <oliel> |
Status: | CLOSED NOTABUG | QA Contact: | Oded Ramraz <oramraz> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | acathrow, amureini, dyasny, ecohen, iheim, mpastern, Rhev-m-bugs, srevivo, ykaul |
Target Milestone: | --- | ||
Target Release: | 3.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | storage | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-24 12:41:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Elena
2012-06-24 09:54:58 UTC
Storage domain is required for vm first disk creation error: syntax error at "--storage_domains-storage_domain-id", see help on collection based arguments for more details. this bug caused by incorrect parameter representation in RSDL, storage_domains [1] implemented as collection while RSDL reporting it as Type [1] public List<StorageDomain> getStorageDomains() { if (storageDomains == null) { storageDomains = new ArrayList<StorageDomain>(); } return this.storageDomains; } my bad, - (was on old branch), current RSDL impl is correct (see cli help [1]), usage is not, Elena please always review /help/ to determinate correct option format. [1] Overload 1: * --size: int * --type: string * --interface: string * --format: string * [--sparse: boolean] * [--bootable: boolean] * [--shareable: boolean] * [--allow_snapshot: boolean] * [--propagate_errors: boolean] * [--wipe_after_delete: boolean] * [--storage_domains: collection] { [storage_domain.id|name: string] } |