Comment 13 for bug 1894323

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

fence-agents (4.0.25-2ubuntu1.2) bionic; urgency=medium

  * fence_aws backport from Focal (LP: #1894323):
    + d/p/lp1894323-01-fence_aws-new-agent.patch

 -- 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
upload/4.0.25-2ubuntu1.2

[rafaeldtinoco@bionic fence-agents]$ git push pkg 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.launchpad.net/ubuntu/+source/fence-agents
 * [new tag] upload/4.0.25-2ubuntu1.2 -> upload/4.0.25-2ubuntu1.2

[rafaeldtinoco@bionic ubuntu]$ debdiff fence-agents_4.0.25-2ubuntu1.1.dsc fence-agents_4.0.25-2ubuntu1.2.dsc | diffstat
 changelog | 7 +
 control | 5 -
 patches/lp1894323-01-fence_aws-new-agent.patch | 286 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 patches/series | 1
 4 files changed, 298 insertions(+), 1 deletion(-)

[rafaeldtinoco@bionic ubuntu]$ dput ubuntu fence-agents_4.0.25-2ubuntu1.2_source.changes
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading fence-agents_4.0.25-2ubuntu1.2.dsc: done.
  Uploading fence-agents_4.0.25-2ubuntu1.2.debian.tar.xz: done.
  Uploading fence-agents_4.0.25-2ubuntu1.2_source.buildinfo: done.
  Uploading fence-agents_4.0.25-2ubuntu1.2_source.changes: done.
Successfully uploaded packages.

----

Note: the fence_aws agent primitive should be declared as:

primitive fence-bionic stonith:fence_aws \
 params access_key=yyyy secret_key="xxxx" region=us-east-1 pcmk_host_map="bionic01:i-068e134de1beddc7f;bionic02:i-0136eddd045ceb7e2;bionic03:i-0de279ab4e6d642c8"

and cluster properties as:

have-watchdog=false \
dc-version=1.1.18-2b07d5c5a9 \
cluster-infrastructure=corosync \
stonith-enabled=on \
stonith-action=reboot \
no-quorum-policy=stop \
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).