Bug 2026385 - [RFE] Add ability to configure sbd on cluster nodes but not remote nodes via TripleO template
Summary: [RFE] Add ability to configure sbd on cluster nodes but not remote nodes via ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Luca Miccini
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-24 14:25 UTC by Luigi Tamagnone
Modified: 2023-08-16 13:40 UTC (History)
10 users (show)

Fixed In Version: puppet-pacemaker-1.5.1-1.20221226003830.7add073.el9ost puppet-tripleo-14.2.3-1.20230106160840.c6d3f8c.el9ost
Doc Type: Enhancement
Doc Text:
With this update, you can configure `fence_watchdog` that uses `sbd`, like other fencing devices via tripleo, by defining the respective fencing resource: + ---- parameter_defaults: EnableFencing: true FencingConfig: devices: - agent: fence_watchdog host_mac: 52:54:00:74:f7:51 ---- + As an operator, you must enable `sbd` and set the watchdog timeout: + ---- parameter_defaults: ExtraConfig: pacemaker::corosync::enable_sbd: true tripleo::fencing::watchdog_timeout: 20 ----
Clone Of:
Environment:
Last Closed: 2023-08-16 13:40:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 863036 0 None MERGED Add fence_watchdog (sbd) stonith agent 2022-12-14 10:36:29 UTC
OpenStack gerrit 866463 0 None MERGED Enable fence_watchdog configuration in stonith topology 2022-12-14 10:36:29 UTC
Red Hat Issue Tracker OSP-11027 0 None None None 2021-11-24 14:26:44 UTC
Red Hat Knowledge Base (Solution) 6350392 0 None None None 2021-11-24 14:25:32 UTC

Description Luigi Tamagnone 2021-11-24 14:25:33 UTC
Description of problem:
From RHEL8.4 it's possible to use sbd on cluster nodes but not remote nodes, Bug 1443666 as reference.
This RFE is to request the ability to configure it via TripleO template. Now it's required to create a post-deploy script

Version-Release number of selected component (if applicable):
Red Hat OpenStack 16.2 (RHOSP16.2)


Steps to Reproduce:
The script for post-deploy should be similar to this:
~~~
pcs property set stonith-watchdog-timeout=10
pcs resource create watchdog stonith:fence_watchdog

pcs stonith level add 2 controller-0 watchdog
pcs stonith level add 2 controller-1 watchdog
pcs stonith level add 2 controller-2 watchdog

pcs resource update watchdog instance pcmk_host_list="controller-0,controller-1,controller-2"
~~~
Enable sbd in template extra config during the deploy/update:
~~~
parameter_defaults:
   ExtraConfig:
     pacemaker::corosync::enable_sbd: true
~~~


Actual results:
After the configuration the pcs output should be similar to this:
~~~
[root@controller-1 ~]# pcs stonith level
Target: compute-0
  Level 1 - stonith-fence_ipmilan-compute-0
Target: controller-0
  Level 1 - stonith-fence_ipmilan-controller-0
  Level 2 - watchdog
Target: controller-1
  Level 1 - stonith-fence_ipmilan-controller-1
  Level 2 - watchdog
Target: controller-2
  Level 1 - stonith-fence_ipmilan-controller-2
  Level 2 - watchdog
~~~

Comment 2 Riccardo Bruzzone 2022-03-17 16:07:12 UTC
Hello,
Customer is asking for a backport of this new feature in red Hat OpenStack 16.2.
Could you evaluate also the impact of this request ?

BR
Riccardo

Comment 3 Luca Miccini 2022-03-18 08:51:26 UTC
(In reply to Riccardo Bruzzone from comment #2)
> Hello,
> Customer is asking for a backport of this new feature in red Hat OpenStack
> 16.2.
> Could you evaluate also the impact of this request ?
> 
> BR
> Riccardo

Hi Riccardo,
this feature unfortunately hasn't been prioritized so I haven't been able to implement it yet.
Once that is done we can vet the feasibility of the backport.

Regards
Luca

Comment 6 spower 2022-10-28 10:55:33 UTC
This will need to go through the exception process to go into 17.1.

Comment 15 Lon Hohberger 2023-08-16 10:34:13 UTC
According to our records, this should be resolved by puppet-pacemaker-1.5.1-1.20221226003830.7add073.el9ost.  This build is available now.

Comment 16 Lon Hohberger 2023-08-16 10:34:16 UTC
According to our records, this should be resolved by puppet-tripleo-14.2.3-1.20230517011019.el9ost.  This build is available now.


Note You need to log in before you can comment on or make changes to this bug.