Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-36156

[vSphere] unexpected log traceback in terminal when installing cluster

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, unexpected output would appear in the terminal when creating an installer-provisioned infrastructure (IPI) cluster. With this release, the issue has been resolved and the unexpected output no longer appears. (link:https://issues.redhat.com/browse/OCPBUGS-36156[*OCPBUGS-36156*])
      ______
      Fix to installer to prevent error output related to logging not being initialized
      Show
      * Previously, unexpected output would appear in the terminal when creating an installer-provisioned infrastructure (IPI) cluster. With this release, the issue has been resolved and the unexpected output no longer appears. (link: https://issues.redhat.com/browse/OCPBUGS-36156 [* OCPBUGS-36156 *]) ______ Fix to installer to prevent error output related to logging not being initialized
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-35547. The following is the description of the original issue:

      Description of problem:

      When creating IPI cluster, following unexpected traceback appears in terminal occasionally, it won't cause any failure and install succeed finally.
      
      # ./openshift-install create cluster --dir cluster --log-level debug
      ...
      INFO Importing OVA sgao-nest-ktqck-rhcos-generated-region-generated-zone into failure domain generated-failure-domain.
      [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed.
      Detected at:
      	>  goroutine 131 [running]:
      	>  runtime/debug.Stack()
      	>  	/usr/lib/golang/src/runtime/debug/stack.go:24 +0x5e
      	>  sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot()
      	>  	/go/src/github.com/openshift/installer/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:60 +0xcd
      	>  sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).Error(0xc000e37200, {0x26fd23c0, 0xc0016b4270}, {0x77d22d3, 0x3d}, {0x0, 0x0, 0x0})
      	>  	/go/src/github.com/openshift/installer/vendor/sigs.k8s.io/controller-runtime/pkg/log/deleg.go:139 +0x5d
      	>  github.com/go-logr/logr.Logger.Error({{0x270398d8?, 0xc000e37200?}, 0x0?}, {0x26fd23c0, 0xc0016b4270}, {0x77d22d3, 0x3d}, {0x0, 0x0, 0x0})
      	>  	/go/src/github.com/openshift/installer/vendor/github.com/go-logr/logr/logr.go:301 +0xda
      	>  sigs.k8s.io/cluster-api-provider-vsphere/pkg/session.newClient.func1({0x26fd6c40?, 0xc0021f0160?})
      	>  	/go/src/github.com/openshift/installer/vendor/sigs.k8s.io/cluster-api-provider-vsphere/pkg/session/session.go:265 +0xda
      	>  sigs.k8s.io/cluster-api-provider-vsphere/pkg/session.newClient.KeepAliveHandler.func2()
      	>  	/go/src/github.com/openshift/installer/vendor/github.com/vmware/govmomi/session/keep_alive.go:36 +0x22
      	>  github.com/vmware/govmomi/session/keepalive.(*handler).Start.func1()
      	>  	/go/src/github.com/openshift/installer/vendor/github.com/vmware/govmomi/session/keepalive/handler.go:124 +0x98
      	>  created by github.com/vmware/govmomi/session/keepalive.(*handler).Start in goroutine 1
      	>  	/go/src/github.com/openshift/installer/vendor/github.com/vmware/govmomi/session/keepalive/handler.go:116 +0x116
      
       

      Version-Release number of selected component (if applicable):

      4.16.0-0.nightly-2024-06-13-213831
      

      How reproducible:

      sometimes

      Steps to Reproduce:

      1. Create IPI cluster on vSphere multiple times
      2, Check output in terminal 

      Actual results:

      unexpected log traceback appears in terminal

      Expected results:

      unexpected log traceback should not appear in terminal

      Additional info:

       

              rhn-support-ngirard Neil Girard
              openshift-crt-jira-prow OpenShift Prow Bot
              Shang Gao Shang Gao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: