(how to get fence_aws working with focal and aws <- keywords for google)
# Focal fence_aws tests without any backport (current version): node 1: focal01 node 2: focal02 node 3: focal03 primitive fence-focal stonith:fence_aws \ params access_key=xxxxxxxx secret_key="xxxxxxxx" region=us-east-1 pcmk_host_map="focal01:i-034dc89cca431xxxx;focal02:i-0a160b14b40f1xxxx;focal03:i-03b6976ab0a7fxxxx" power_timeout=240 pcmk_reboot_timeout=480 pcmk_reboot_retries=4 property cib-bootstrap-options: \ have-watchdog=false \ dc-version=2.0.3-4b1f869f0f \ cluster-infrastructure=corosync \ stonith-enabled=on \ stonith-action=reboot \ no-quorum-policy=stop \ cluster-name=focal Fencing worked as expected: [rafaeldtinoco@focal01 ~]$ crm status Cluster Summary: * Stack: corosync * Current DC: focal01 (version 2.0.3-4b1f869f0f) - partition with quorum * Last updated: Wed Oct 14 04:29:34 2020 * Last change: Wed Oct 14 04:28:57 2020 by root via cibadmin on focal01 * 3 nodes configured * 1 resource instance configured Node List: * Online: [ focal01 focal02 focal03 ] Full List of Resources: * fence-focal (stonith:fence_aws): Started focal01 ---- [rafaeldtinoco@focal01 ~]$ crm status Cluster Summary: * Stack: corosync * Current DC: focal01 (version 2.0.3-4b1f869f0f) - partition with quorum * Last updated: Wed Oct 14 04:31:16 2020 * Last change: Wed Oct 14 04:28:57 2020 by root via cibadmin on focal01 * 3 nodes configured * 1 resource instance configured Node List: * Node focal03: UNCLEAN (offline) * Online: [ focal01 focal02 ] Full List of Resources: * fence-focal (stonith:fence_aws): Started focal01 Pending Fencing Actions: * reboot of focal03 pending: client=pacemaker-controld.3585, origin=focal01 ---- [rafaeldtinoco@focal01 ~]$ crm status Cluster Summary: * Stack: corosync * Current DC: focal01 (version 2.0.3-4b1f869f0f) - partition with quorum * Last updated: Wed Oct 14 04:32:14 2020 * Last change: Wed Oct 14 04:28:57 2020 by root via cibadmin on focal01 * 3 nodes configured * 1 resource instance configured Node List: * Online: [ focal01 focal02 focal03 ] Full List of Resources: * fence-focal (stonith:fence_aws): Started focal01 ---- And EC2 AWS console showed instance being shutdown and restarting appropriately. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1894323 Title: Add fence_aws fencing from v4.6.0 agent to Bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fence-agents/+bug/1894323/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs