Re: [ClusterLabs Developers] New resource agents
Hi Oyvind, thanks for the infos. I've completely miss the docs :) I have for sure to fork both fence-agents and resource-agent. I'll try to read out everything and I'll integrate some missing info in my python scripts (better comments, debug messages...) See you soon Damiano On 09/07/20 15:48, Oyvind Albrigtsen wrote: > Hi Damiano, > > You can follow the fork instructions for resource-agents: > https://github.com/ClusterLabs/resource-agents/blob/master/doc/dev-guides/ra-dev-guide.asc#submitting-resource-agents > and fork https://github.com/ClusterLabs/fence-agents instead. > > I suggest calling it fence_ovh_rest or similar, so the old fence_ovh > can still be used/improved for those who use it. > > There's no need to update Makefile's in fence-agents, so you just put > the agent as e.g. agents/ovh_rest/fence_ovh_rest.py and update the > hashbang to use @PYTHON@ and sys.path's @ equivalent so > they get generated based on paths detected during ./configure. > > > Oyvind > > > On 09/07/20 15:16 +0200, Damiano Scaramuzza wrote: >> Hi all, >> for my OVH clusters I've developed two new resource agents >> One fence/stonith for physical servers (calls ovh reboot service) >> One Floating Ip agent (calls the moveIP ovh service) >> >> Both are using the new REST ovh protocol . I know that agents for SOAP >> protocol >> already exist but , as far as I know, the SOAP protocol was deprecated >> and will probably be >> removed from OVH in the near future. >> >> My agents uses the ovh plugin and are in production from january 2020 >> and seem to work >> correctly. >> >> How to submit the agents to clusterlab for review/release as free >> software ? >> >> >> Thanks >> >> Damiano >> >> ___ >> Manage your subscription: >> https://lists.clusterlabs.org/mailman/listinfo/developers >> >> ClusterLabs home: https://www.clusterlabs.org/ > > ___ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/developers > > ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/developers ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs Developers] New resource agents
Hi Damiano, You can follow the fork instructions for resource-agents: https://github.com/ClusterLabs/resource-agents/blob/master/doc/dev-guides/ra-dev-guide.asc#submitting-resource-agents and fork https://github.com/ClusterLabs/fence-agents instead. I suggest calling it fence_ovh_rest or similar, so the old fence_ovh can still be used/improved for those who use it. There's no need to update Makefile's in fence-agents, so you just put the agent as e.g. agents/ovh_rest/fence_ovh_rest.py and update the hashbang to use @PYTHON@ and sys.path's @ equivalent so they get generated based on paths detected during ./configure. Oyvind On 09/07/20 15:16 +0200, Damiano Scaramuzza wrote: Hi all, for my OVH clusters I've developed two new resource agents One fence/stonith for physical servers (calls ovh reboot service) One Floating Ip agent (calls the moveIP ovh service) Both are using the new REST ovh protocol . I know that agents for SOAP protocol already exist but , as far as I know, the SOAP protocol was deprecated and will probably be removed from OVH in the near future. My agents uses the ovh plugin and are in production from january 2020 and seem to work correctly. How to submit the agents to clusterlab for review/release as free software ? Thanks Damiano ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/developers ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/developers ClusterLabs home: https://www.clusterlabs.org/
[ClusterLabs Developers] New resource agents
Hi all, for my OVH clusters I've developed two new resource agents One fence/stonith for physical servers (calls ovh reboot service) One Floating Ip agent (calls the moveIP ovh service) Both are using the new REST ovh protocol . I know that agents for SOAP protocol already exist but , as far as I know, the SOAP protocol was deprecated and will probably be removed from OVH in the near future. My agents uses the ovh plugin and are in production from january 2020 and seem to work correctly. How to submit the agents to clusterlab for review/release as free software ? Thanks Damiano ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/developers ClusterLabs home: https://www.clusterlabs.org/