Description of problem: When etcd restarts, we check the listen ports to make sure the previous static pod for etcd has exited. For this check, we used `lsof` but it has been determined that `ss` is more reliable with the check for TCP ports: `lsof` doesn't output ports in TIME_WAIT but `ss` does. Version-Release number of selected component (if applicable): How reproducible: Not easily reproducible Steps to Reproduce: 1. Install or upgrade an OCP cluster 2. Make sure etcd comes after the previous etcd has exited. Actual results: If lsof/ss doesn't detect the previous etcd, we could get port conflict, and a crashloop. Expected results: No crashloops of etcd due to port conflicts. Additional info:
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196