Bug 2036967 - [4.8.z] vsphere-problem-detector: session leak
Summary: [4.8.z] vsphere-problem-detector: session leak
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.z
Assignee: Robert Bost
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On: 2033733
Blocks: 2039333 2039341
TreeView+ depends on / blocked
 
Reported: 2022-01-04 14:23 UTC by OpenShift BugZilla Robot
Modified: 2022-01-26 22:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-18 06:33:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift vsphere-problem-detector pull 68 0 None open [release-4.8] Bug 2036967: Deferred logout after checks are run 2022-01-04 14:23:46 UTC
Red Hat Product Errata RHBA-2022:0113 0 None None None 2022-01-18 06:33:17 UTC

Comment 4 Wei Duan 2022-01-12 08:31:45 UTC
Verified with 4.8.0-0.nightly-2022-01-11-214336 pass

Using following command to monitor the session and restart the vsphere-problem-detector-operator pod, we see new session launched and released immediately
$ while true; do date; govc session.ls; done
$ oc -n openshift-cluster-storage-operator delete pod vsphere-problem-detector-operator-5cfcfc76f7-c6mc7 (restart vsphere-problem-detector-operator pod)  
We could observer a new session created and released in a short time as below: 

$ grep "52fb5d6d-be05-8804-c867-f4b097493b72" /tmp/session.log
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  0s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1   
52fb5d6d-be05-8804-c867-f4b097493b72  VSPHERE.LOCAL\Administrator                                        2022-01-12 07:59  1s      10.8.33.116  Go-http-client/1.1

Comment 6 errata-xmlrpc 2022-01-18 06:33:08 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 (OpenShift Container Platform 4.8.27 bug fix 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/RHBA-2022:0113


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