Needs to modify templates after networks rename

I have renamed a network and got error when instantinate VM:

[one.template.instantiate] Error allocating a new virtual machine template. User 2 does not own a network with name: DC-782-MyPayments . Set NETWORK_UNAME or NETWORK_UID of owner in NIC.

Next I changed templates that uses this network (remove NIC with old-name, and add NIC with new name). All started work fine!

I think it’s a good idea to use ID’s in templates? (for future releases)

Versions of the related components and OS (frontend, hypervisors, VMs): Ubuntu 16.04.3 LTS , Opennebula 5.4.1

1 Like

HI FoxSibirsky!

That’s a good idea, we will think about it for future releases.