Bug 859684
Summary: | ovirt-engine-cli: collection-based-options could be passed in 2 ways | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilia Meerovich <iliam> |
Component: | ovirt-engine-cli | Assignee: | Ravi Nori <rnori> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 3.1.0 | CC: | acathrow, bazulay, ecohen, iheim, jkt, oramraz, Rhev-m-bugs |
Target Milestone: | --- | ||
Target Release: | 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | is3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 845235 | Environment: | |
Last Closed: | 2014-01-21 22:15:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ilia Meerovich
2012-09-23 08:35:34 UTC
(In reply to comment #0) > It can work in both ways: > 1) --os-boot boot.dev=hd > 2) --os-boot dev=hd > only #1 is valid if only #1 is valid, being able to use #2 is a bug, not an RFE, IMO. Or am I missing something? (In reply to comment #2) > if only #1 is valid, being able to use #2 is a bug, not an RFE, IMO. Or am I > missing something? indeed. [root@ilia-rhevm ~]# rpm -q rhevm-cli rhevm-cli-3.3.0.3-1.el6ev.noarch [root@ilia-rhevm ~]# [root@ilia-rhevm ~]# /usr/bin/rhevm-shell -c --url=https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I Password: ========================================== >>> connected to RHEVM manager 3.3.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# create vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 *** Unknown syntax: create vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 [RHEVM shell (connected)]# add vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 id : 13bf5b70-c90d-4fd3-80b9-aaf50cc26463 name : restvm_LOCAL description : Test VM LOCA cluster-id : 99408929-82cf-4dc7-a532-9d998063fa95 cpu-topology-cores : 1 cpu-topology-sockets : 1 creation_time : 2013-07-03 11:43:43.186000+03:00 delete_protected : False display-allow_override : False display-monitors : 1 display-smartcard_enabled : False display-type : spice high_availability-enabled : False high_availability-priority: 0 memory : 1073741824 memory_policy-ballooning : True memory_policy-guaranteed : 1073741824 origin : ovirt os-boot-dev : hd os-type : unassigned placement_policy-affinity : migratable quota-id : 00000000-0000-0000-0000-000000000000 stateless : False status-state : down template-id : 00000000-0000-0000-0000-000000000000 type : desktop usb-enabled : False [RHEVM shell (connected)]# add vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL1' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 error: "dev=hd" is invalid segment at option "--os-boot". [RHEVM shell (connected)]# Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |