Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Kolla: Nova-compute: Permission denied: /var/lib/nova/instances

I am experimenting with Ubuntu/all-in-one/source based kolla. When I try to start a VM I get an error:

2016-01-11 01:17:00.470 1 ERROR nova.compute.manager [req-6740b638-11d6-4936-a5bf-29c91b90e0da ec90ac7c3844461db90e3998fa5fc6f2 d50b64c423284f3e840c88285ce1852e - - -] [instance: 39150e05-9c0d-4325-9ecf-c4a0d5558994] Instance failed to spawn ... OSError: [Errno 13] Permission denied: '/var/lib/nova/instances/39150e05-9c0d-4325-9ecf-c4a0d5558994'

According to my understanding the problem is that in nova_compute container the directory /var/lib/nova/instances is owned by root (and not the user nova):

nova@kolla-157:/var/lib/nova$ ls -l total 4 drwxr-xr-x 2 root root 4096 Jan 11 01:04 instances

What would be the best way to fix this?