OpenNebulaNic.rb - can't get deploy_id & domid
|Assignee:||Jaime Melis||% Done:|
|Category:||Core & System||Estimated time:||0.00 hour|
|Target version:||Release 3.2|
|Affected Versions:||OpenNebula 3.2|
I've found a bug that causes NicXen to not report domid (needed for VLAN support, it won't boot otherwise if VLAN is enabled.) The problem is a missing deploy_id. By simply copying working code from NicKVM to NicXen it starts working. I think this fix has to be inserted into the tree.
Tested with 3.1.90:
def get_info(vm) if vm.deploy_id deploy_id = vm.deploy_id else deploy_id = vm['DEPLOY_ID'] end