Bug 856164
Summary: | rhevm-cli : --storagedomain appears as an option in all vm actions | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Oded Ramraz <oramraz> |
Component: | ovirt-engine-cli | Assignee: | Michael Pasternak <mpastern> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | acathrow, bazulay, dyasny, ecohen, iheim, mkenneth, mpastern, oramraz, Rhev-m-bugs, ykaul |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | si20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 19:56:57 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: | |||
Bug Depends On: | |||
Bug Blocks: | 915537 |
Description
Oded Ramraz
2012-09-11 11:09:47 UTC
you should not see pool-id parameter, as vm can be attached only to one vm-pool, only bug here is that you see not relevant --storagedomain option, correct syntax (as suggested by cli) is: 'action vm xxx detach' the reason for this is that actions for vm exist in two dimensions: 1. None 2. storagedomain e.g vm has actions when it in context of storagedomain (like import) and without any context (like start, stop, etc.), auto-completion refactored to be action context-aware and exclude not relevant options for the given context. [RHEVM shell (connected)]# action vm boo cancelmigration detach export import_vm migrate move shutdown start stop suspend ticket [RHEVM shell (connected)]# action vm boo detach --correlation_id --correlation_id only --correlation_id left as it should be |