Mon Mar 15 01:18:22 2021: DEPLOY: Could not create domain from /var/lib/one//datastores/0/1/deployment.0

I try to use a verification image to test my new opennebula. But it fails. Please help me.


oneadmin@ubuntu:~$ onedatastore list
  ID USER     GROUP    NAME                                                                                                                                                      SIZE AVA CLUSTERS IMAGES TYPE DS      TM      STAT
   2 oneadmin oneadmin files                                                                                                                                                    19.1G 47% 0             0 fil  fs      ssh     on  
   1 oneadmin oneadmin default                                                                                                                                                  19.1G 47% 0             1 img  fs      ssh     on  
   0 oneadmin oneadmin system                                                                                                                                                       - -   0             0 sys  -       ssh     on  
oneadmin@ubuntu:~$ cat /var/log/one/1.log 
Mon Mar 15 01:18:18 2021 [Z0][VM][I]: New state is ACTIVE
Mon Mar 15 01:18:18 2021 [Z0][VM][I]: New LCM state is PROLOG
Mon Mar 15 01:18:20 2021 [Z0][VM][I]: New LCM state is BOOT
Mon Mar 15 01:18:20 2021 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/1/deployment.0
Mon Mar 15 01:18:22 2021 [Z0][VMM][E]: DEPLOY: Could not create domain from /var/lib/one//datastores/0/1/deployment.0
Mon Mar 15 01:18:22 2021 [Z0][VM][I]: New LCM state is BOOT_FAILURE

front-end (ubuntu 20.04 with opennebula 5.13.8)
node (ubuntu 20.04 with opennebula 5.13.8)

Did you already change the libvirt user to oneadmin?
in /etc/libvirt/libvirt.conf:

unix_sock_group = "oneadmin"
unix_sock_rw_perms = "0777"

And /etc/libvirt/qemu.conf

# Some examples of valid values are:
#
#       user = "qemu"   # A user named "qemu"
#       user = "+0"     # Super user (uid=0)
#       user = "100"    # A user named "100" or a user with uid=100
#
user = "oneadmin"

# The group for QEMU processes run by the system instance. It can be
# specified in a similar way to user.
group = "oneadmin"

Thank you. I check these 2 places and edit /etc/libvirt/libvirt.conf as your mention.

But it still fails. The error message is the same with previous one.