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 クラスターがある。
- ノードへの root レベルのアクセス。
手順
--radosgw-admin構文を使用してコマンドを再度実行し、接続を修復します。構文
cephadm shell --radosgw-admin COMMAND例
[root@host01 /]# cephadm shell -- radosgw-admin bucket list