Bug 1838084

Summary: pcs cluster stop --all throws errors and doesn't seem to honor the request-timeout option [rhel-8.2.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.2CC: aschultz, cfeist, cluster-maint, dciabrin, idevat, jbadiapa, jschluet, lmiccini, mjuricek, mlisik, mpospisi, nhostako, omular, tojeline
Target Milestone: rcKeywords: Regression, ZStream
Target Release: 8.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pcs-0.10.4-6.el8_2.1 Doc Type: Bug Fix
Doc Text:
Cause: Communication between pcsd components times out if there is no response in 30 seconds. Consequence: Actions performed by pcsd taking longer than 30 seconds never succeed. Fix: Remove the timeout for internal pcsd communication. Result: Actions taking a long time work properly.
Story Points: ---
Clone Of: 1833506 Environment:
Last Closed: 2020-06-10 14:35:03 UTC Type: ---
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: 1833506    
Bug Blocks:    
Attachments:
Description Flags
proposed fix none

Comment 1 Miroslav Lisik 2020-05-28 08:52:45 UTC
Created attachment 1692979 [details]
proposed fix

Comment 2 Miroslav Lisik 2020-05-28 08:54:57 UTC
Test:

[root@r8-node-01 ~]# rpm -q pcs
pcs-0.10.4-6.el8.x86_64

[root@virt-123 ~]# pcs resource create test ocf:heartbeat:Delay startdelay=1 stopdelay=35 op stop timeout=40
[root@virt-123 ~]# pcs resource
  * test        (ocf::heartbeat:Delay): Started virt-123
[root@virt-123 ~]# time pcs cluster stop --all
virt-124: Stopping Cluster (pacemaker)...
virt-123: Stopping Cluster (pacemaker)...
virt-123: Stopping Cluster (corosync)...
virt-124: Stopping Cluster (corosync)...

real    0m39.457s
user    0m0.825s
sys     0m0.112s

Comment 3 Miroslav Lisik 2020-05-28 10:26:43 UTC
Version on virt-123 is:

[root@virt-123 ~]# rpm -q pcs
pcs-0.10.4-6.el8_2.1.x86_64

Comment 9 errata-xmlrpc 2020-06-10 14:35:03 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, 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/RHSA-2020:2462