Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Running "crm_resource --resource <bundle resource> --cleanup" may
result in the crmd process on the DC node taking 100 % of a CPU.
Version-Release number of selected component (if applicable):
pacemaker-1.1.16-8.el7.x86_64
How reproducible:
easily, most of the time
Steps to Reproduce:
1. create a bundle
2. run "crm_resource --resource <bundle resource> --cleanup"
3. it may be neede to run the command several
Actual results:
# crm_resource --resource http-bundle --cleanup
Cleaning up http-bundle-docker-0 on rh73-node1, removing fail-count-http-bundle-docker-0
Cleaning up http-bundle-docker-0 on rh73-node2, removing fail-count-http-bundle-docker-0
Cleaning up http-bundle-ip-192.168.122.250 on rh73-node1, removing fail-count-http-bundle-ip-192.168.122.250
Cleaning up http-bundle-ip-192.168.122.250 on rh73-node2, removing fail-count-http-bundle-ip-192.168.122.250
Cleaning up http-bundle-0 on rh73-node1, removing fail-count-http-bundle-0
Cleaning up http-bundle-0 on rh73-node2, removing fail-count-http-bundle-0
Cleaning up http-bundle-docker-1 on rh73-node1, removing fail-count-http-bundle-docker-1
Cleaning up http-bundle-docker-1 on rh73-node2, removing fail-count-http-bundle-docker-1
Cleaning up http-bundle-ip-192.168.122.251 on rh73-node1, removing fail-count-http-bundle-ip-192.168.122.251
Cleaning up http-bundle-ip-192.168.122.251 on rh73-node2, removing fail-count-http-bundle-ip-192.168.122.251
Cleaning up http-bundle-1 on rh73-node1, removing fail-count-http-bundle-1
Cleaning up http-bundle-1 on rh73-node2, removing fail-count-http-bundle-1
Cleaning up dummy1:0 on rh73-node1, removing fail-count-dummy1
Cleaning up dummy1:0 on rh73-node2, removing fail-count-dummy1
Waiting for 14 replies from the CRMd.............. OK
Then crmd takes 100 % of a CPU. Sometimes the "OK" at the last line is missing.
Expected results:
crmd does not take 100 % of a CPU.
Additional info:
Bundle configuration:
<bundle id="http-bundle">
<docker image="pcmktest:http" options="--log-driver=journald" replicas="2"/>
<network host-netmask="24" host-interface="ens3" ip-range-start="192.168.122.250">
<port-mapping port="80" id="http-bundle-port-map-80"/>
</network>
<storage>
<storage-mapping source-dir-root="/root/docker/www" target-dir="/var/www/html" options="rw" id="http-bundle-storage-map"/>
<storage-mapping source-dir-root="/root/docker/logs" target-dir="/etc/httpd/logs" options="rw" id="http-bundle-storage-map-1"/>
</storage>
<primitive class="ocf" id="dummy1" provider="pacemaker" type="Stateful">
<operations>
<op id="dummy1-monitor-interval-10" interval="10" name="monitor" role="Master" timeout="20"/>
<op id="dummy1-monitor-interval-11" interval="11" name="monitor" role="Slave" timeout="20"/>
<op id="dummy1-start-interval-0s" interval="0s" name="start" timeout="20"/>
<op id="dummy1-stop-interval-0s" interval="0s" name="stop" timeout="20"/>
</operations>
</primitive>
</bundle>
I was talking to klaus about this yesterday, its something to do with the remote connection resource.
If you 'killall -TRAP crmd' a few times you see thousands of copies of:
trace May 04 03:58:04 mainloop_gio_callback(673):0: New message from
remote-lrmd-pcmk-2:1111[0x7f9def161c60] 1
trace May 04 03:58:04 lrmd_tls_dispatch(366):0: tls dispatch
triggered after disconnect
And if you think I'm exaggerating:
[root@pcmk-2 /]# qb-blackbox /var/lib/pacemaker/blackbox/crmd-349.2 |
grep "trace May 04 03:58:04 mainloop_gio_callback" | wc -l
4317
The message in particular suggests we're not correctly cleaning up dead connections.
Comment 10RHEL Program Management
2020-12-01 07:28:38 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.
Description of problem: Running "crm_resource --resource <bundle resource> --cleanup" may result in the crmd process on the DC node taking 100 % of a CPU. Version-Release number of selected component (if applicable): pacemaker-1.1.16-8.el7.x86_64 How reproducible: easily, most of the time Steps to Reproduce: 1. create a bundle 2. run "crm_resource --resource <bundle resource> --cleanup" 3. it may be neede to run the command several Actual results: # crm_resource --resource http-bundle --cleanup Cleaning up http-bundle-docker-0 on rh73-node1, removing fail-count-http-bundle-docker-0 Cleaning up http-bundle-docker-0 on rh73-node2, removing fail-count-http-bundle-docker-0 Cleaning up http-bundle-ip-192.168.122.250 on rh73-node1, removing fail-count-http-bundle-ip-192.168.122.250 Cleaning up http-bundle-ip-192.168.122.250 on rh73-node2, removing fail-count-http-bundle-ip-192.168.122.250 Cleaning up http-bundle-0 on rh73-node1, removing fail-count-http-bundle-0 Cleaning up http-bundle-0 on rh73-node2, removing fail-count-http-bundle-0 Cleaning up http-bundle-docker-1 on rh73-node1, removing fail-count-http-bundle-docker-1 Cleaning up http-bundle-docker-1 on rh73-node2, removing fail-count-http-bundle-docker-1 Cleaning up http-bundle-ip-192.168.122.251 on rh73-node1, removing fail-count-http-bundle-ip-192.168.122.251 Cleaning up http-bundle-ip-192.168.122.251 on rh73-node2, removing fail-count-http-bundle-ip-192.168.122.251 Cleaning up http-bundle-1 on rh73-node1, removing fail-count-http-bundle-1 Cleaning up http-bundle-1 on rh73-node2, removing fail-count-http-bundle-1 Cleaning up dummy1:0 on rh73-node1, removing fail-count-dummy1 Cleaning up dummy1:0 on rh73-node2, removing fail-count-dummy1 Waiting for 14 replies from the CRMd.............. OK Then crmd takes 100 % of a CPU. Sometimes the "OK" at the last line is missing. Expected results: crmd does not take 100 % of a CPU. Additional info: Bundle configuration: <bundle id="http-bundle"> <docker image="pcmktest:http" options="--log-driver=journald" replicas="2"/> <network host-netmask="24" host-interface="ens3" ip-range-start="192.168.122.250"> <port-mapping port="80" id="http-bundle-port-map-80"/> </network> <storage> <storage-mapping source-dir-root="/root/docker/www" target-dir="/var/www/html" options="rw" id="http-bundle-storage-map"/> <storage-mapping source-dir-root="/root/docker/logs" target-dir="/etc/httpd/logs" options="rw" id="http-bundle-storage-map-1"/> </storage> <primitive class="ocf" id="dummy1" provider="pacemaker" type="Stateful"> <operations> <op id="dummy1-monitor-interval-10" interval="10" name="monitor" role="Master" timeout="20"/> <op id="dummy1-monitor-interval-11" interval="11" name="monitor" role="Slave" timeout="20"/> <op id="dummy1-start-interval-0s" interval="0s" name="start" timeout="20"/> <op id="dummy1-stop-interval-0s" interval="0s" name="stop" timeout="20"/> </operations> </primitive> </bundle>