8.7. Shared File Systems サービスのデプロイメントの検証
デプロイ後、または問題のトラブルシューティング実行時に、Shared File Systems サービス (manila) のサービスが実行されており、up 状態であることを確認します。
manila Pod が実行されていることを確認します。Pod の数は、Shared File Systems サービスのさまざまなコンポーネントに対して設定したレプリカの数により異なります。
Pod が実行中であることを確認したら、Shared File Systems サービス API を使用してサービスのステータスを確認できます。
手順
manilaPod をリストして、実行されていることを確認します。$ oc -n openstack get pod -l service=manila出力例:
NAME READY STATUS RESTARTS AGE manila-api-0 2/2 Running 0 43h manila-api-1 2/2 Running 0 43h manila-api-2 2/2 Running 0 43h manila-db-purge-28696321-tkl9g 0/1 Completed 0 41h manila-db-purge-28697761-zxxzc 0/1 Completed 0 17h manila-scheduler-0 2/2 Running 0 43h manila-scheduler-1 2/2 Running 0 43h manila-scheduler-2 2/2 Running 0 43h manila-share-share1-0 2/2 Running 0 43hワークステーションから
openstackclientPod のリモートシェルにアクセスします。$ oc rsh -n openstack openstackclientopenstack share service listコマンドを実行します。$ openstack share service list出力例:
-----------------------------------------------------------------------------------------------| ID | Binary | Host | Zone | Status | State | Updated At |-----------------------------------------------------------------------------------------------| 1 | manila-scheduler | hostgroup | nova | enabled | up | 2024-07-25T17:40:27.323342 | | 4 | manila-share | hostgroup@cephfsnfs | nova | enabled | up | 2024-07-25T17:40:49.115386 |------------------------------------------------------------------------------------------------
すべてのサービスの
Statusエントリーがupであることを確認します。確認できない場合は、関連するログファイルを確認します。 openstackclientPod を終了します。$ exit