ClusterLabs / resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
GNU General Public License v2.0
489 stars 577 forks source link

"ocf : heartbeat : docker" does not exists in resource-agent v4.10 #1896

Open shinigami35 opened 9 months ago

shinigami35 commented 9 months ago

Hello,

I used to use CentOs 7.9 before, and I just passed to Almalinux 9.2.

In Almalinux 9.2, pacemaker was upgraded to the version 2.1 and resource-agent to 4.10 and pcsd in 0.11.X In my configuration I use pcs command to set my cluster and I also use "ocf : heartbeat : docker" on my containers. In my case, I use pacemaker + corosync + pcsd and I set a VIP with IPaddr2 that still works but my pacemaker resource docker has stop working.

I just discoverd that resource-agent in version 4.10 does not have the heartbeat docker and I do not know why (I installed the rpm resource-agent from the Almalinux 9.2 repo).

My question is : Docker Heartbeat are not supported in Pacemaker 2.1 ? Does a tuto exist and explain how to set a cluster of container docker in Pacemaker 2.1 ?

Best regards, Adrien

oalbrigt commented 8 months ago

docker has been replaced with podman in RHEL8 and 9, so you can run yum install podman, and use it with the podman resource agent.