在centos7.3上安装newton,起openstack-nova-api.service 时报错
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", line151, 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", line115, 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", line37, 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 novaOSError: [Errno 13] Permission denied: '/var/lib/nova/tmp' 2017-07-12 15:45:03.062 3609 ERROR nova
chomd -R 777 /var/lib/nova/
chown -R nova.nova /var/lib/nova/
报错还是一样。。
|