4.4. Pacemaker 失败操作
如果有任何资源失败,它们会在 pcs status 输出的 Failed 操作 标题下列出。下面是一个示例,httpd 服务停止在 controller-0 上工作:
Failed actions: httpd_monitor_60000 on overcloud-controller-0 'not running' (7): call= openstack-cinder-volume (systemd:openstack-cinder-volume): Started overcloud-controller-0 190, status=complete, exit-reason='none', last-rc-change='Thu Oct 8 10:12:32 2015', queued=0ms, exec=0ms
Failed actions:
httpd_monitor_60000 on overcloud-controller-0 'not running' (7): call= openstack-cinder-volume (systemd:openstack-cinder-volume): Started overcloud-controller-0
190, status=complete, exit-reason='none', last-rc-change='Thu Oct 8 10:12:32 2015', queued=0ms, exec=0ms
在这种情况下,只需要重启 systemd 服务 httpd。在其他情况下,您需要跟踪并修复问题,然后清理资源。详情请查看 第 7.1 节 “更正控制器上的资源问题”。