OSError: [Errno 13] Permission denied: '/var/lib/nova/tmp'

asked 2017-07-12 20:53:40 -0600

alaludan gravatar image

updated 2017-07-12 20:57:44 -0600

I'm installing newton on centos7.3 and when i try to start openstack-nova-api.service return as below error: i try to execute as below command

chmod -R 777 /var/lib/nova chown -R nova.nova /var/lib/nova

but the issue still exists.

2017-07-12 15:45:03.062 3609 ERROR nova do_log=False, semaphores=semaphores, delay=delay): 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ 2017-07-12 15:45:03.062 3609 ERROR nova return self.gen.next() 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 216, in lock 2017-07-12 15:45:03.062 3609 ERROR nova ext_lock.acquire(delay=delay) 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 151, in acquire 2017-07-12 15:45:03.062 3609 ERROR nova self._do_open() 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 115, in _do_open 2017-07-12 15:45:03.062 3609 ERROR nova made_basedir = _ensure_tree(basedir) 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 37, in _ensure_tree 2017-07-12 15:45:03.062 3609 ERROR nova os.makedirs(path) 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib64/python2.7/os.py", line 157, in makedirs 2017-07-12 15:45:03.062 3609 ERROR nova mkdir(name, mode) 2017-07-12 15:45:03.062 3609 ERROR nova OSError: [Errno 13] Permission denied: '/var/lib/nova/tmp' 2017-07-12 15:45:03.062 3609 ERROR nova

edit retag flag offensive close merge delete

Comments

SELinux problem perhaps? Did you install the openstack-selinux package?

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-13 00:44:43 -0600 )edit