ceph.conf_설정_오류

ceph.conf 설정 오류

TASK [glance : Copy over multiple ceph configs for Glance] ***************************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: oslo_config.iniparser.ParseError: at line 3, Unexpected continuation line: '\tfsid = dcf12b60-0e96-11f0-a98b-525400648153'
fatal: [osp-control1]: FAILED! => {"msg": "Unexpected failure during module execution: at line 3, Unexpected continuation line: '\\tfsid = dcf12b60-0e96-11f0-a98b-525400648153'", "stdout": ""}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: oslo_config.iniparser.ParseError: at line 3, Unexpected continuation line: '\tfsid = dcf12b60-0e96-11f0-a98b-525400648153'
fatal: [osp-control2]: FAILED! => {"msg": "Unexpected failure during module execution: at line 3, Unexpected continuation line: '\\tfsid = dcf12b60-0e96-11f0-a98b-525400648153'", "stdout": ""}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: oslo_config.iniparser.ParseError: at line 3, Unexpected continuation line: '\tfsid = dcf12b60-0e96-11f0-a98b-525400648153'
fatal: [osp-control3]: FAILED! => {"msg": "Unexpected failure during module execution: at line 3, Unexpected continuation line: '\\tfsid = dcf12b60-0e96-11f0-a98b-525400648153'", "stdout": ""}

위와같은 오류가 발생하는 이유는 /etc/kolla/config/cinder/ceph.conf 파일 내의 내용이 아래처럼 되어있을경우

[global]
    fsid = dcf12b60-0e96-11f0-a98b-525400648153
    mon_host = [v2:172.16.31.31:3300/0,v1:172.16.31.31:6789/0] [v2:172.16.31.32:3300/0,v1:172.16.31.32:6789/0] [v2:172.16.31.33:3300/0,v1:172.16.31.33:6789/0]

앞부분의 공백이 으로 구성되어있는경우 문제가 발생한다.
oslo_configINI parser 가 엄격해서, 공백은 허용하는데 탭은 continuation line 으로 인식 하고 파싱 실패한다.

따라서 탭을 공백으로 바꾸거나 제거하면 해결된다.

로그인하면 댓글을 남길 수 있습니다.
  • ceph.conf_설정_오류.txt
  • 마지막으로 수정됨: 2025/04/04 05:16
  • 저자 koov