This feature is in 2.0.x releases, so SRU for bionic would be out of question:
pacemaker | 1.1.18-0ubuntu1 | bionic | source pacemaker | 1.1.18-0ubuntu1.1 | bionic-security | source pacemaker | 1.1.18-0ubuntu1.2 | bionic-updates | source pacemaker | 2.0.1-4ubuntu2 | eoan | source pacemaker | 2.0.3-3ubuntu3 | focal | source pacemaker | 2.0.4-2ubuntu1 | groovy | source
and Eoan is not LTS so the effort is not worth.
That would make the need for:
To backport
(1)
874f75e0f - Feature: scheduler: new on-fail="demote" recovery policy for promoted resources 2f1e2df1f - Feature: xml: add on-fail="demote" option to resources schema
and all related patches to Focal.
(2)
To make sure Groovy catches up with the feature or to backport similar patches to Groovy.
This feature is in 2.0.x releases, so SRU for bionic would be out of question:
pacemaker | 1.1.18-0ubuntu1 | bionic | source
pacemaker | 1.1.18-0ubuntu1.1 | bionic-security | source
pacemaker | 1.1.18-0ubuntu1.2 | bionic-updates | source
pacemaker | 2.0.1-4ubuntu2 | eoan | source
pacemaker | 2.0.3-3ubuntu3 | focal | source
pacemaker | 2.0.4-2ubuntu1 | groovy | source
and Eoan is not LTS so the effort is not worth.
That would make the need for:
To backport
(1)
874f75e0f - Feature: scheduler: new on-fail="demote" recovery policy for promoted resources
2f1e2df1f - Feature: xml: add on-fail="demote" option to resources schema
and all related patches to Focal.
(2)
To make sure Groovy catches up with the feature or to backport similar patches to Groovy.