6.5. 클러스터를 업그레이드한 후 radosgw-admin 명령 문제 해결
클러스터를 업그레이드한 후 cephadm 쉘 내부에서 radosgw-admin 명령을 사용하여 문제를 해결합니다.
다음은 클러스터를 업그레이드한 후 cephadm 쉘 내에서 radosgw-admin 명령을 실행한 후 출력할 수 있는 오류의 예입니다.
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 ERROR: failed to decode obj from .rgw.root:periods.91d2a42c-735b-492a-bcf3-05235ce888aa.3
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 failed reading current period info: (5) Input/output error
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 ERROR: failed to start notify service ((5) Input/output error
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 ERROR: failed to init services (ret=(5) Input/output error)
couldn't init storage provider
예
[ceph: root@host01 /]# date;radosgw-admin bucket list
Mon May 13 09:05:30 UTC 2024
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 ERROR: failed to decode obj from .rgw.root:periods.91d2a42c-735b-492a-bcf3-05235ce888aa.3
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 failed reading current period info: (5) Input/output error
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 ERROR: failed to start notify service ((5) Input/output error
2024-05-13T09:05:30.607+0000 7f4e7c4ea500 0 ERROR: failed to init services (ret=(5) Input/output error)
couldn't init storage provider
사전 요구 사항
- 실행 중인 Red Hat Ceph Storage 클러스터.
- 노드에 대한 루트 수준 액세스.
프로세스
radosgw-admin구문을 사용하여 명령을 다시 실행하여 연결을 복구합니다.구문
cephadm shell --radosgw-admin COMMAND예
[root@host01 /]# cephadm shell -- radosgw-admin bucket list