6.2. Ceph Manager プラグイン
ceph-mgr
モジュールが一時的に利用できなくなり、そのコマンドが失敗する場合がある
ceph-mgr
の再起動後、バランサーモジュールのロードに時間がかかる場合があります。その結果、他の ceph-mgr
モジュールは一時的に利用できなくなり、そのコマンドが失敗します。
以下に例を示します。
[ceph: root@host01 /]# ceph crash ls Error ENOTSUP: Warning: due to ceph-mgr restart, some PG states may not be up to date Module 'crash' is not enabled/loaded (required by command 'crash ls'): use `ceph mgr module enable crash` to enable it
回避策として、ceph-mgr
の再起動後、特定の ceph-mgr
モジュールからのコマンドが失敗する場合は、ceph balancer status
コマンドを使用してバランサーのステータスを確認します。これは、たとえばアップグレード中に発生する可能性があります。* バランサーは以前はアクティブ "active": true
であったが、現在は “active": false
とマークされている場合は、再度アクティブになるまでステータスを確認し、その後他の ceph-mgr モジュールコマンドを再実行します。* その他の場合は、バランサー ceph-mgr
モジュールをオフにするようにしてください。ceph balancer off
バランサーをオフにした後、他の ceph-mgr
モジュールコマンドを再度実行します。