Bug 1985735 - [IPI baremetal] 'Failed to get the sockets from the old process' error is reported in haproxy logs following haproxy reload
Summary: [IPI baremetal] 'Failed to get the sockets from the old process' error is rep...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.z
Assignee: MCO Team
QA Contact: Rio Liu
URL:
Whiteboard:
Depends On: 1981090
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-25 10:42 UTC by OpenShift BugZilla Robot
Modified: 2021-10-25 20:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-25 20:21:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 2691 0 None open [release-4.8] Bug 1985735: [ON-PREM] HAProxy - enable listening sockets retrieval from old processes 2021-07-29 10:07:31 UTC

Comment 3 Aleksandra Malykhin 2021-09-12 16:50:14 UTC
Verified on 4.8.0-0.nightly-2021-09-11-023014

[kni@provisionhost-0-0 ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-09-11-023014   True        False         172m    Cluster version is 4.8.0-0.nightly-2021-09-11-023014


[kni@provisionhost-0-0 ~]$ ssh core@master-0-0
[core@master-0-0 ~]$ date
Sun Sep 12 16:47:02 UTC 2021
[core@master-0-0 ~]$ sudo crictl ps | grep haproxy
6b2037d4559c9       7e3b6237532dd883023e16c4d0c65ffafb5635498c0c6e933947d8cab334b2be                                                         4 hours ago         Running             haproxy-monitor                               0                   7ef548f7323ad
371319e57109f       quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c17581091fe49d1c9c136b6c303951cfa9ca20b2d130f9cc6c4403603d4038a5   4 hours ago         Running             haproxy                                       0                   7ef548f7323ad
[core@master-0-0 ~]$ sudo rm -rf /etc/haproxy/haproxy.cfg
[core@master-0-0 ~]$ sudo crictl rm -f 6b2037d4559c9
6b2037d4559c9
[core@master-0-0 ~]$ sudo crictl ps | grep haproxy
fd1c8b2d3bf68       7e3b6237532dd883023e16c4d0c65ffafb5635498c0c6e933947d8cab334b2be                                                         5 seconds ago       Running             haproxy-monitor                               1                   7ef548f7323ad
371319e57109f       quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c17581091fe49d1c9c136b6c303951cfa9ca20b2d130f9cc6c4403603d4038a5   4 hours ago         Running             haproxy                                       0                   7ef548f7323ad


[core@master-0-0 ~]$ sudo crictl logs 371319e57109f 2>&1 | grep -B 4 -A 4  reload
+ declare -r haproxy_sock=/var/run/haproxy/haproxy-master.sock
+ declare -r haproxy_log_sock=/var/run/haproxy/haproxy-log.sock
+ export -f msg_handler
+ export -f reload_haproxy
+ export -f verify_old_haproxy_ps_being_deleted
+ rm -f /var/run/haproxy/haproxy-master.sock /var/run/haproxy/haproxy-log.sock
+ '[' -s /etc/haproxy/haproxy.cfg ']'
+ socat UNIX-LISTEN:/var/run/haproxy/haproxy-master.sock,fork 'system:bash -c msg_handler'
+ socat UNIX-RECV:/var/run/haproxy/haproxy-log.sock STDOUT
The client send: reload
<133>Sep 12 13:06:59 haproxy[14]: Proxy main started.
<133>Sep 12 13:06:59 haproxy[14]: Proxy health_check_http_url started.
<133>Sep 12 13:06:59 haproxy[14]: Proxy stats started.
<133>Sep 12 13:06:59 haproxy[14]: Proxy masters started.
--
<134>Sep 12 16:48:03 haproxy[16]: Connect from ::1:41266 to ::1:9445 (main/TCP)
<134>Sep 12 16:48:03 haproxy[16]: Connect from ::1:41270 to ::1:9445 (main/TCP)
<134>Sep 12 16:48:05 haproxy[16]: Connect from ::1:41340 to ::1:9445 (main/TCP)
<134>Sep 12 16:48:05 haproxy[16]: Connect from ::1:41346 to ::1:9445 (main/TCP)
The client send: reload
<134>Sep 12 16:48:05 haproxy[16]: Connect from ::1:41368 to ::1:9445 (main/TCP)
<133>Sep 12 16:48:05 haproxy[37]: Proxy main started.
<133>Sep 12 16:48:05 haproxy[37]: Proxy health_check_http_url started.
<133>Sep 12 16:48:05 haproxy[37]: Proxy stats started.


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