8.3. 删除 Block Storage (cinder)服务
从服务中删除时,您必须从 DistributedComputeHCI 节点中删除 cinder-volume
和 etcd
服务。
流程
在您要删除的节点上识别并禁用
cinder-volume
服务:(central) [stack@site-undercloud-0 ~]$ openstack volume service list --service cinder-volume | cinder-volume | dcn2-computehci2-1@tripleo_ceph | az-dcn2 | enabled | up | 2022-03-23T17:41:43.000000 | (central) [stack@site-undercloud-0 ~]$ openstack volume service set --disable dcn2-computehci2-1@tripleo_ceph cinder-volume
登录到堆栈中的不同 DistributedComputeHCI 节点:
$ ssh tripleo-admin@dcn2-computehci2-0
删除与您要删除的节点关联的
cinder-volume
服务:[root@dcn2-computehci2-0 ~]# podman exec -it cinder_volume cinder-manage service remove cinder-volume dcn2-computehci2-1@tripleo_ceph Service cinder-volume on host dcn2-computehci2-1@tripleo_ceph removed.
在您要删除的节点上停止并禁用
tripleo_cinder_volume
服务:[root@dcn2-computehci2-1 ~]# systemctl stop tripleo_cinder_volume.service [root@dcn2-computehci2-1 ~]# systemctl disable tripleo_cinder_volume.service Removed /etc/systemd/system/multi-user.target.wants/tripleo_cinder_volume.service