Hi,
As someone that suggested above here is my answer:
The simple solution to have access to the VM info in OpenNebula you must query needed info locally on the front-end. In the common configuration there are disks managed and provided by OpenNebula. In this case there are TM_MAD scripts executed on the front-end before deploying the VM. You said that you have no such disks - everything is over NFS. So I agree that this is not a solution in your case.
IMO @cmartin already pointed you to the proper solution.
Following the mentioned documentation you must configure the one_vmm_exec
script in your VM_MAD
configuration for xen to run local deploy
via the -l
argument. Something like:
VM_MAD = [
...
argumets = " ... -l deploy=local_deploy_script"
...
]
Then in your local_deploy_script
you will have access to the entire VM (onevm show $2) info but you must take care to do all needed remote commands to the ZFS and XEN host to deploy the VM.
I hope this helps.
Kind Regards,
Anton Todorov