Bug 1885841
Summary: | pcsd leaves stalled connections in CLOSE_WAIT state | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ondrej Mular <omular> |
Component: | pcs | Assignee: | Ondrej Mular <omular> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | unspecified | Docs Contact: | Steven J. Levine <slevine> |
Priority: | medium | ||
Version: | 8.3 | CC: | cfeist, cluster-maint, cluster-qe, idevat, mlisik, mmazoure, mpospisi, nwahl, omular, pzimek, slevine, tojeline |
Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.10.7-1.el8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1870551 | Environment: | |
Last Closed: | 2021-05-18 15:12:08 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: |
Description
Ondrej Mular
2020-10-07 07:03:04 UTC
Test: [root@r8-node-01 ~]# rpm -q pcs pcs-0.10.7-1.el8.x86_64 Start pcsd and after a while check connections: [root@r8-node-01 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 23719 1109/platform-pytho tcp6 0 0 :::2224 :::* LISTEN 0 23720 1109/platform-pytho BEFORE: ======= [root@virt-041 ~]# rpm -q pcs pcs-0.10.6-4.el8.x86_64 ## after cluster setup, pcsd is running [root@virt-041 ~]# systemctl status pcsd ● pcsd.service - PCS GUI and remote configuration interface Loaded: loaded (/usr/lib/systemd/system/pcsd.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2020-10-06 18:16:46 CEST; 3 weeks 5 days ago Docs: man:pcsd(8) man:pcs(8) Main PID: 48979 (pcsd) Tasks: 1 (limit: 12666) Memory: 39.7M CGroup: /system.slice/pcsd.service └─48979 /usr/libexec/platform-python -Es /usr/sbin/pcsd {...} ## checking the connections after a while [root@virt-041 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94462 48979/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94463 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:32924 ESTABLISHED 0 12421032 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:44098 2620:52:0:25a4:180:2224 ESTABLISHED 0 12421030 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52704 ESTABLISHED 0 12421033 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:52704 2620:52:0:25a4:180:2224 ESTABLISHED 0 12421031 48976/ruby > several connections in ESTABLISHED state ## waiting another couple of minutes [root@virt-041 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94462 48979/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94463 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:32924 ESTABLISHED 0 12421032 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:44098 2620:52:0:25a4:180:2224 ESTABLISHED 0 12421030 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52704 ESTABLISHED 0 12421033 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:52778 2620:52:0:25a4:180:2224 ESTABLISHED 0 12424618 48976/ruby tcp6 0 0 2620:52:0:25a4:18:44176 2620:52:0:25a4:180:2224 ESTABLISHED 0 12424621 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52778 ESTABLISHED 0 12424619 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:33000 ESTABLISHED 0 12424608 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:52704 2620:52:0:25a4:180:2224 ESTABLISHED 0 12421031 48976/ruby > connections are starting to pile up ## after longer time [root@virt-041 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94462 48979/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94463 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:33072 ESTABLISHED 0 12427451 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:32924 ESTABLISHED 0 12421032 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:44098 2620:52:0:25a4:180:2224 ESTABLISHED 0 12421030 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52704 ESTABLISHED 0 12421033 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:52778 2620:52:0:25a4:180:2224 ESTABLISHED 0 12424618 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52850 ESTABLISHED 0 12427450 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:33150 ESTABLISHED 0 12430034 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:44176 2620:52:0:25a4:180:2224 ESTABLISHED 0 12424621 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52778 ESTABLISHED 0 12424619 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:33000 ESTABLISHED 0 12424608 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:52850 2620:52:0:25a4:180:2224 ESTABLISHED 0 12427449 48976/ruby tcp6 0 0 2620:52:0:25a4:18:44248 2620:52:0:25a4:180:2224 ESTABLISHED 0 12427453 48976/ruby tcp6 0 0 2620:52:0:25a4:18:52704 2620:52:0:25a4:180:2224 ESTABLISHED 0 12421031 48976/ruby tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52928 ESTABLISHED 0 12430033 48979/platform-pyth tcp6 0 0 2620:52:0:25a4:18:44322 2620:52:0:25a4:180:2224 ESTABLISHED 0 12430031 48976/ruby tcp6 0 0 2620:52:0:25a4:18:52928 2620:52:0:25a4:180:2224 ESTABLISHED 0 12430032 48976/ruby > connections keep piling up AFTER: ====== [root@virt-134 ~]# rpm -q pcs pcs-0.10.7-1.el8.x86_64 ## after cluster setup, pcsd is running [root@virt-134 ~]# systemctl status pcsd ● pcsd.service - PCS GUI and remote configuration interface Loaded: loaded (/usr/lib/systemd/system/pcsd.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-10-19 10:28:53 CEST; 1 weeks 6 days ago Docs: man:pcsd(8) man:pcs(8) Main PID: 49061 (pcsd) Tasks: 1 (limit: 12666) Memory: 39.8M CGroup: /system.slice/pcsd.service └─49061 /usr/libexec/platform-python -Es /usr/sbin/pcsd {...} ## checking the connections after a while [root@virt-134 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94465 49061/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94466 49061/platform-pyth > no connections in ESTABLISHED state ## waiting another couple of minutes [root@virt-134 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94465 49061/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94466 49061/platform-pyth > OK: connections are not piling up ## for a brief moment, there were connections in TIME_WAIT state, but they were closed almost immediately [root@virt-134 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94465 49061/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94466 49061/platform-pyth tcp6 0 0 2620:52:0:25a4:180:2224 2620:52:0:25a4:18:52958 TIME_WAIT 0 0 - tcp6 0 0 2620:52:0:25a4:18:41924 2620:52:0:25a4:180:2224 TIME_WAIT 0 0 - [root@virt-134 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94465 49061/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94466 49061/platform-pyth ## after longer time [root@virt-134 ~]# netstat -laputen | grep 2224 tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN 0 94465 49061/platform-pyth tcp6 0 0 :::2224 :::* LISTEN 0 94466 49061/platform-pyth > OK: connections are not piling up Marking as VERIFIED for pcs-0.10.7-1.el8 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 (pcs bug fix and enhancement update), 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/RHEA-2021:1737 |