cinder-volumeサービスとcinder-backupサービス
以下のコマンドを実行します。
pcs status resources
openstack-cinder-volumeリソースとopenstack-cinder-backupリソースがStartedになっていることを確認します。
例
# pcs status resources (略) * Container bundle: openstack-cinder-backup [cluster.common.tag/openstack-cinder-backup:pcmklatest]: * openstack-cinder-backup-podman-0 (ocf::heartbeat:podman): Started <host> * Container bundle: openstack-cinder-volume [cluster.common.tag/openstack-cinder-volume:pcmklatest]: * openstack-cinder-volume-podman-0 (ocf::heartbeat:podman): Started <host> (略)
<host>は環境によって異なります。
openstack-cinder-volumeリソースとopenstack-cinder-backupリソースがStoppedになっていることを確認します。
例
# pcs status resources (略) * Container bundle: openstack-cinder-backup [cluster.common.tag/openstack-cinder-backup:pcmklatest]: * openstack-cinder-backup-podman-0 (ocf::heartbeat:podman): Stopped (disabled) * Container bundle: openstack-cinder-volume [cluster.common.tag/openstack-cinder-volume:pcmklatest]: * openstack-cinder-volume-podman-0 (ocf::heartbeat:podman): Stopped (disabled) (略)
cinder-volumeサービスとcinder-backupサービス以外のOpenStackサービス
以下のコマンドを実行し、確認対象のOpenStackサービスを確認します。
systemctl list-unit-files tripleo_*.service | awk '$2=="enabled"{print $1}'
以下のコマンドを実行します。NAMEには上記で確認したサービスを入れてください。
systemctl list-units --all NAME...
ACTIVEの列がactiveになっていることを確認します。表示されるサービスはインストールされているOpenStackのコンポーネントによって増減します。
例
# systemctl list-units --all tripleo_cinder_api.service tripleo_cinder_api_cron.service (略) UNIT LOAD ACTIVE SUB DESCRIPTION tripleo_cinder_api.service loaded active running cinder_api container tripleo_cinder_api_cron.service loaded active running cinder_api_cron container LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 17 loaded units listed. To show all installed unit files use 'systemctl list-unit-files'.
ACTIVEの列がinactiveになっていることを確認します。表示されるサービスはインストールされているOpenStackのコンポーネントによって増減します。
例
# systemctl list-units --all tripleo_cinder_api.service tripleo_cinder_api_cron.service (略) UNIT LOAD ACTIVE SUB DESCRIPTION tripleo_cinder_api.service loaded inactive dead cinder_api container tripleo_cinder_api_cron.service loaded inactive dead cinder_api_cron container LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 17 loaded units listed. To show all installed unit files use 'systemctl list-unit-files'.
注意
ACTIVEの項目がfailedになることがありますが問題ない場合があります。「D.5.3 ACTIVEの列がfailedになっている場合のサービスの停止確認」の確認を実施してください。