Bug 1854705

Summary: [RHOSP16] - "corosync_token_timeout: 10000" is not applied and corosync runtime totem.token is 1650ms after deployment
Product: Red Hat OpenStack Reporter: Meiyan Zheng <mzheng>
Component: puppet-pacemakerAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: Julia Marciano <jmarcian>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: alink, jjoyce, jmarcian, jschluet, lmiccini, mburns, michele, ravsingh, slinaber, tvignaud
Target Milestone: z8Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: puppet-pacemaker-1.0.1-1.20220112144821.b3596d1.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1993107 (view as bug list) Environment:
Last Closed: 2022-03-24 10:59:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1993107    

Comment 12 Luca Miccini 2021-08-12 06:13:40 UTC
failed qa, back on dev.

Comment 13 Luca Miccini 2021-08-12 08:20:04 UTC
diff --git a/manifests/corosync.pp b/manifests/corosync.pp
index 7f8dd32..1fa9160 100644
--- a/manifests/corosync.pp
+++ b/manifests/corosync.pp
@@ -247,7 +247,7 @@ class pacemaker::corosync(

     # pcs-0.10.x has different commands to set up the cluster
     if $::pacemaker::pcs_010 {
-      $cluster_setup_cmd = "${::pacemaker::pcs_bin} cluster setup ${cluster_name} ${cluster_members_rrp_real}"
+      $cluster_setup_cmd = "${::pacemaker::pcs_bin} cluster setup ${cluster_name} ${cluster_members_rrp_real}  ${cluster_setup_extras_real}"       
       $cluster_reauthenticate_cmd = "${::pacemaker::pcs_bin} host auth ${cluster_members} -u hacluster -p ${::pacemaker::hacluster_pwd}"       
       $cluster_authenticate_cmd = "${::pacemaker::pcs_bin} host auth ${cluster_members} -u hacluster -p ${::pacemaker::hacluster_pwd}"  
       $cluster_authenticate_unless = "${::pacemaker::pcs_bin} host auth ${cluster_members} -u hacluster -p ${::pacemaker::hacluster_pwd} | grep 'Already authorized'"



[root@controller-0 ~]# corosync-cmapctl |grep totem.token
runtime.config.totem.token (u32) = 10650
runtime.config.totem.token_retransmit (u32) = 2535
runtime.config.totem.token_retransmits_before_loss_const (u32) = 4
runtime.config.totem.token_warning (u32) = 75
totem.token (u32) = 10000

Comment 28 errata-xmlrpc 2022-03-24 10:59:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.8 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:0986