Permission Denied While Starting instance in Openstack
(: August 12, 2018)
As I was building Openstack Lab, I happen to encounter error message as it was seen on a log file from.
tail -f /var/log/nova/nova-compute.log
This error came up when tried to start an instance that has been created earlier.
nova start 0b79cc65-c530-4e55-99b8-157524033d14
Apparently, I had had some issues manually starting kvm machines so I had played around with this file /etc/libvirt/qemu.conf
user="qemu" group="qemu" dynamic_ownership =0
To prevent this error revert the changes to:
systemctl stop libvirtd
Edit qemu.conf file:
sudo vim /etc/libvirt/qemu.conf
Set the following
user="nova" group="nova" dynamic_ownership =1
Save the file then restart the libvirt daemon
systemctl restart libvirtd
You should now be able to start Openstack Instance on your compute nodes.