nova-compute can not run when use ceph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-kubernetes |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
when I use ceph as back_end for nova,nova-computer can not run,the log as follow:
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
ERROR:_
Traceback (most recent call last):
File "/usr/local/
exit_code = main()
File "/usr/local/
execute_
File "/usr/local/
copy_
File "/usr/local/
copy_
File "/usr/local/
shutil.
File "/usr/lib64/
onerror(
File "/usr/lib64/
os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/etc/ceph/'
I find the file: rbdmap in the directory /etc/ceph,and I use command rm -f rbdmap to delete rbdmap,but i can't delete the file as "cannot remove 'rbdmap': Permission denied".
Anyone can help me to resolve this problem? thanks!
Changed in kolla-kubernetes: | |
status: | New → Confirmed |
I check the file rbdmap, it's owner is root,but the current user is nova,so shutil.rmtree() could not execute as Permission denied.