Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package habootstrap-formula for openSUSE:Factory checked in at 2021-07-02 13:28:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/habootstrap-formula (Old) and /work/SRC/openSUSE:Factory/.habootstrap-formula.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "habootstrap-formula" Fri Jul 2 13:28:01 2021 rev:25 rq:903629 version:0.4.3+git.1625210910.7b0645d Changes: -------- --- /work/SRC/openSUSE:Factory/habootstrap-formula/habootstrap-formula.changes 2021-06-29 22:43:58.234929931 +0200 +++ /work/SRC/openSUSE:Factory/.habootstrap-formula.new.2625/habootstrap-formula.changes 2021-07-02 13:29:06.843993856 +0200 @@ -5,0 +6 @@ + * Documentation on how to enable native fencing Old: ---- habootstrap-formula-0.4.3+git.1624949151.2d42096.tar.gz New: ---- habootstrap-formula-0.4.3+git.1625210910.7b0645d.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ habootstrap-formula.spec ++++++ --- /var/tmp/diff_new_pack.ZPLwJk/_old 2021-07-02 13:29:07.275990504 +0200 +++ /var/tmp/diff_new_pack.ZPLwJk/_new 2021-07-02 13:29:07.279990473 +0200 @@ -20,7 +20,7 @@ Name: habootstrap-formula Group: System/Packages -Version: 0.4.3+git.1624949151.2d42096 +Version: 0.4.3+git.1625210910.7b0645d Release: 0 Summary: HA cluster (crmsh) deployment salt formula ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ZPLwJk/_old 2021-07-02 13:29:07.303990287 +0200 +++ /var/tmp/diff_new_pack.ZPLwJk/_new 2021-07-02 13:29:07.307990256 +0200 @@ -5,7 +5,7 @@ <param name="exclude">.git</param> <param name="filename">habootstrap-formula</param> <param name="versionformat">0.4.3+git.%ct.%h</param> - <param name="revision">2d4209669b64c0943029ff9c2c5e7f85e014d8c9</param> + <param name="revision">7b0645d58e7c8a25d64279ae285f645be3930eeb</param> </service> <service name="recompress" mode="disabled"> ++++++ habootstrap-formula-0.4.3+git.1624949151.2d42096.tar.gz -> habootstrap-formula-0.4.3+git.1625210910.7b0645d.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/habootstrap-formula-0.4.3+git.1624949151.2d42096/README.md new/habootstrap-formula-0.4.3+git.1625210910.7b0645d/README.md --- old/habootstrap-formula-0.4.3+git.1624949151.2d42096/README.md 2021-06-29 08:45:51.000000000 +0200 +++ new/habootstrap-formula-0.4.3+git.1625210910.7b0645d/README.md 2021-07-02 09:28:30.000000000 +0200 @@ -106,6 +106,36 @@ - If a masterless approach is used (as in the current automated deployment) the gpg private key must be imported in all the nodes. This might require the copy/paste of the keys. +## Advanced usage + +### Native Fencing + +If running in the cloud, some cloud providers provide a native way (e.g. through an API) to fence nodes. + +#### AWS + +SUSE's recommendation is to use the native method to fence cluster nodes in AWS. + +The AWS specific implementation is the "AWS STONITH Agent" called `stonith:external/ec2`. + +No additional configuration is needed to enable this. + +#### Azure + +SUSE's recommendation is to use SBD (e.g. via iSCSI) to fence cluster nodes in azure. + +The alternative azure specific implementation is the "Azure Fence Agent" called `stonith:fence_azure_arm`. + +Please read the Microsoft Azure documentation [Create Azure Fence agent STONITH device](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/high-availability-guide-suse-pacemaker#create-azure-fence-agent-stonith-device) for the detailed steps that are needed in azure. + +Look into `pillar.example` for examples on how to configure this in salt. + +The pillars will be used by other formulas, e.g. <https://github.com/SUSE/sapnwbootstrap-formula> to configure the needed cluster resources. + +#### GCP + +TBD + ## OBS Packaging The CI automatically publishes new releases to SUSE's Open Build Service every time a pull request is merged into `master` branch. For that, update the new package version in [_service](https://github.com/SUSE/habootstrap-formula/blob/master/_service) and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/habootstrap-formula-0.4.3+git.1624949151.2d42096/habootstrap-formula.changes new/habootstrap-formula-0.4.3+git.1625210910.7b0645d/habootstrap-formula.changes --- old/habootstrap-formula-0.4.3+git.1624949151.2d42096/habootstrap-formula.changes 2021-06-29 08:45:51.000000000 +0200 +++ new/habootstrap-formula-0.4.3+git.1625210910.7b0645d/habootstrap-formula.changes 2021-07-02 09:28:30.000000000 +0200 @@ -3,6 +3,7 @@ - Version bump 0.4.3 * Add packages to enable native fencing for microsoft-azure + * Documentation on how to enable native fencing ------------------------------------------------------------------- Thu Mar 11 15:03:24 UTC 2021 - C??dric Bosdonnat <cbosdon...@suse.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/habootstrap-formula-0.4.3+git.1624949151.2d42096/pillar.example new/habootstrap-formula-0.4.3+git.1625210910.7b0645d/pillar.example --- old/habootstrap-formula-0.4.3+git.1624949151.2d42096/pillar.example 2021-06-29 08:45:51.000000000 +0200 +++ new/habootstrap-formula-0.4.3+git.1625210910.7b0645d/pillar.example 2021-07-02 09:28:30.000000000 +0200 @@ -131,6 +131,13 @@ # parameters: # param1: value1 # param2: value2 + # # examples to use native fencing + # ## on azure + # azure_subscription_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + # azure_resource_group_name: my-resource-group + # azure_tenant_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + # azure_fence_agent_app_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + # azure_fence_agent_client_secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # -*- mode: yaml -*-