[openstack-dev] [nova-compute][libvirt] permission problems

Joseph Park etlars at gmail.com
Mon Oct 5 07:23:36 UTC 2015

Hi all,

I have permission-related errors when creating instances.

In Kilo,

since my local disk is  small, newly attaching a new disk, /data1 as

root at cn2:/var/lib/nova# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 23G 1.7G 20G 8% /
/dev/mapper/vg_data-lv_data1 356G 703M 338G 1% /data1

and add a setting 'instances_path=/data1/instances' in nova.conf at compute

root at cn2:/data1# ls -la
total 28
drwxr-xr-x 4 nova nova 4096 16:51 .
drwxr-xr-x 25 root root 4096 10:07 ..
drwxr-xr-x 2 nova nova 4096 16:50 instances drwx------ 2 nova nova 16384
13:51 lost+found root at cn2:/data1# pwd
root at cn2:/data1# ls -la instances/
total 8
drwxr-xr-x 2 nova nova 4096 16:50 .
drwxr-xr-x 4 nova nova 4096 16:51 .. root at cn2:/data1#

but whenever creating an instance, nova-compute.log shows libvirt error as

libvirtError: internal error: process exited while connecting to monitor:
2015-10-02T07:02:25.031125Z qemu-system-x86_64: -drive
could not open disk image
/data1/instances/03e58fd3-b555-4aa3-91fa-5e6fcc15978a/disk: Could not open
backing file: Could not open
Permission denied

instead of a setting 'instances_path=/data1/instances' in nova.conf at
compute node,

symbolic link 'ln -s /data1/instances /var/lib/nova/' also shows the same

no changes in /etc/libvirt/qemu.conf libvirt-bin.conf ...

what's the matter in this situation? plz help me...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151005/5278a64a/attachment.html>

More information about the OpenStack-dev mailing list