crm configure might complain about you not specifying the "plug" argument, you can safely ignore that as this fence_agent does not require the plug argument (and this pacemaker version has an issue when plug is given, see comment #11 for more information).
fence-agents (4.0.25-2ubuntu1.2) bionic; urgency=medium
* fence_aws backport from Focal (LP: #1894323): 01-fence_ aws-new- agent.patch
+ d/p/lp1894323-
-- Rafael David Tinoco <email address hidden> Thu, 22 Oct 2020 04:47:00 +0000
----
[rafaeldtinoco@ bionic fence-agents]$ git ubuntu tag --upload
[rafaeldtinoco@ bionic fence-agents]$ git describe 4.0.25- 2ubuntu1. 2
upload/
[rafaeldtinoco@ bionic fence-agents]$ git push pkg upload/ 4.0.25- 2ubuntu1. 2 launchpad. net/ubuntu/ +source/ fence-agents 4.0.25- 2ubuntu1. 2 -> upload/ 4.0.25- 2ubuntu1. 2
Counting objects: 15, done.
Delta compression using up to 24 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 4.49 KiB | 460.00 KiB/s, done.
Total 15 (delta 10), reused 0 (delta 0)
To ssh://git.
* [new tag] upload/
[rafaeldtinoco@ bionic ubuntu]$ debdiff fence-agents_ 4.0.25- 2ubuntu1. 1.dsc fence-agents_ 4.0.25- 2ubuntu1. 2.dsc | diffstat lp1894323- 01-fence_ aws-new- agent.patch | 286 +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ ++++++
changelog | 7 +
control | 5 -
patches/
patches/series | 1
4 files changed, 298 insertions(+), 1 deletion(-)
[rafaeldtinoco@ bionic ubuntu]$ dput ubuntu fence-agents_ 4.0.25- 2ubuntu1. 2_source. changes 4.0.25- 2ubuntu1. 2.dsc: done. 4.0.25- 2ubuntu1. 2.debian. tar.xz: done. 4.0.25- 2ubuntu1. 2_source. buildinfo: done. 4.0.25- 2ubuntu1. 2_source. changes: done.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading fence-agents_
Uploading fence-agents_
Uploading fence-agents_
Uploading fence-agents_
Successfully uploaded packages.
----
Note: the fence_aws agent primitive should be declared as:
primitive fence-bionic stonith:fence_aws \ map="bionic01: i-068e134de1bed dc7f;bionic02: i-0136eddd045ce b7e2;bionic03: i-0de279ab4e6d6 42c8"
params access_key=yyyy secret_key="xxxx" region=us-east-1 pcmk_host_
and cluster properties as:
have-watchdog=false \ 1.1.18- 2b07d5c5a9 \ infrastructure= corosync \ action= reboot \ policy= stop \
dc-version=
cluster-
stonith-enabled=on \
stonith-
no-quorum-
cluster-name=bionic
crm configure might complain about you not specifying the "plug" argument, you can safely ignore that as this fence_agent does not require the plug argument (and this pacemaker version has an issue when plug is given, see comment #11 for more information).