Bug #3822
onevm show -x $VMID does not show <HOST>, <CLUSTER>, < CLUSTER ID> elements in XML
Status: | Closed | Start date: | 05/29/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: | worksforme | Pull request: | ||
Affected Versions: | OpenNebula 4.12 |
Description
onevm show -x $VMID does not show <HOST>, <CLUSTER>, < CLUSTER ID> information in the XML. If you want to determine for example where $VM is currently running on you can't get this information from the VM XML itself, while this information is available in onevm show $VMID. I would call this an inconsistency between cli-tools and API (XML) and hence a bug.
History
#1 Updated by Ruben S. Montero about 6 years ago
- Status changed from Pending to Closed
- Resolution set to worksforme
CLI tools and XML-API are not meant to be the same, CLI is built upon the API but is not a direct translation. It does more things (just as Sunstone) like resolving IDs, and other information. We prefer to keep object XML at a "reasonable" minimum and let the applications control other logic (like getting information of associated objects)