Bug #3822

onevm show -x $VMID does not show <HOST>, <CLUSTER>, < CLUSTER ID> elements in XML

Added by Stefan Kooman about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:05/29/2015
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:worksforme Pull request:
Affected Versions:OpenNebula 4.12


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.


#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)

Also available in: Atom PDF