I have a fresh installation of OpenNebula 6.4 on CentOS 7 installation from packages.
To create virtual machines vCenter 7 is used.
All the basic settings are done, there is a Cluster and Storages.
The default settings (AR Type: ETHER) were applied when importing the Virtual Network.
After importing the VM template and configuration, the template contains:
…
NIC = [
NETWORK = "VLAN66",
NETWORK_UNAME = "test",
OPENNEBULA_MANAGED = "NO",
SECURITY_GROUP = "0" ]
...
VCENTER_CUSTOMIZATION_SPEC="Linux"
...
When a new VM is created from this VM Template, vCenter assigns a MAC address to the network interface and OpenNebula removes this network interface and adds a new network interface with the MAC address from AR.
On the host of this new VM, I get an error in the /var/log/cloud-init.log:
ValueError: No known device has MACADDR: aa:bb:cc:dd:ee:ff
aa:bb:cc:dd:ee:ff – the MAC address of the interface that was assigned to vCenter and OpenNebula removed this network interface.
“vCenter customizations” does not apply.
Is there any way to solve this problem?