nova Permission denied instances on NFS

asked 2018-04-10 16:29:23 -0500

opensunny gravatar image

My environment is on OpenStack Kilo and nova is configured to work with NFS.

  • Shown here is the just the error message:

2018-04-10 13:16:31.208 10098 ERROR nova.compute.manager [req-4e40c7aa-5322-4d5a-9878-dd5f1a0ca40e eb045f512b3541d099fd01e82e0699f3 79de04fee65d4ba8ad61a52429084180 - - -] [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] Instance failed to spawn 2018-04-10 13:16:31.208 10098 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] OSError: [Errno 13] *Permission denied: '/var/lib/nova/instances/149c95ed-667c-4875-9aa9-9d9abeb196af'*

Steps followed to configure NFS: https://www.mirantis.com/blog/tutorial-openstack-live-migration-with-kvm-hypervisor-and-nfs-shared-storage/ (https://www.mirantis.com/blog/tutoria...)

--Thanks, Sunil

edit retag flag offensive close merge delete

Comments

Looks like you should investigate the permissions on the NFS filesystem. In particular, does the nova user have write permission. This includes file/directory permissions, export options and things like SELinux if applicable.

Bernd Bausch gravatar imageBernd Bausch ( 2018-04-10 17:55:17 -0500 )edit