# vi /var/log/ceph/ceph-osd.log
[2021-01-25 08:11:15,763][ceph_volume][ERROR ] exception caught by decorator
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 59, in newfunc
return f(*a, **kw)
File "/usr/lib/python2.7/site-packages/ceph_volume/main.py", line 150, in main
terminal.dispatch(self.mapper, subcommand_args)
File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 194, in dispatch
instance.main()
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/main.py", line 42, in main
terminal.dispatch(self.mapper, self.argv)
File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 194, in dispatch
instance.main()
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/create.py", line 77, in main
self.create(args)
File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 16, in is_root
return func(*a, **kw)
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/create.py", line 26, in create
prepare_step.safe_prepare(args)
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/prepare.py", line 246, in safe_prepare
self.prepare()
File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 16, in is_root
return func(*a, **kw)
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/prepare.py", line 286, in prepare
self.osd_id = prepare_utils.create_id(osd_fsid, json.dumps(secrets), osd_id=self.args.osd_id)
File "/usr/lib/python2.7/site-packages/ceph_volume/util/prepare.py", line 170, in create_id
raise RuntimeError('Unable to create a new OSD id')
RuntimeError: Unable to create a new OSD id
MGMT 서버에서 auth list 했을 때, 기존 키값이 존재하여 남아있는 현상으로, 기존 키값을 지우고 진행하면 됩니다.
# ceph auth del [OSD명]
EX) ceph auth del osd.3
'BlockStorage(Ceph)' 카테고리의 다른 글
CEPH OSD OS재설치 (0) | 2021.01.31 |
---|---|
[ERROR] ceph application not enabled on 1 pool(s) (0) | 2021.01.30 |
[ERROR] missing required protocol features (0) | 2021.01.15 |
Ceph Nautilus 설치 (0) | 2020.11.13 |
Module 'restful' has failed dependency: No module named 'pecan' (0) | 2020.11.01 |