Versions of the related components and OS (frontend, hypervisors, VMsa):
almaLinux-9.5
OpenNebula 6.10.0.1
Steps to reproduce:
Logged as oneadmin
[oneadmin@host root]$ onetemplate instantiate 2
Error:
Fri Mar 28 15:38:05 2025 [Z0][ONE][E]: User 0 does not own a network with name: nic_br0 . Set NETWORK_UNAME or NETWORK_UID of owner in NIC.
Fri Mar 28 15:38:05 2025 [Z0][ReM][E]: Req:624 UID:0 one.template.instantiate result FAILURE [one.template.instantiate] Error allocating a new virtual machine template. User 0 does not own a network with name: nic_br0 . Set NETWORK_UNAME or NETWORK_UID of owner in NIC.
Checked permissions and everything belong to oneadmin:
[oneadmin@host root]$ onevnet show 0
VIRTUAL NETWORK 0 INFORMATION
ID : 0
NAME : nic br0
USER : oneadmin
GROUP : oneadmin
LOCK : None
CLUSTERS : 0
BRIDGE : br0
STATE : READY
VN_MAD : bridge
AUTOMATIC VLAN ID : NO
AUTOMATIC OUTER VLAN ID : NO
USED LEASES : 1
Correct Owner is set using NETWORK_UNAME inside the template:
NIC = [
NETWORK = "nic_br0",
NETWORK_UNAME = "oneadmin",
SECURITY_GROUPS = "0" ]
NIC_DEFAULT = [
MODEL = "virtio" ]