Uploaded image for project: 'OpenShift Specialist Platform Team'
  1. OpenShift Specialist Platform Team
  2. SPLAT-1672

cleanup controller logout failure

    • OpenShift SPLAT - Sprint 256

      2024-06-25T21:00:02Z	INFO	Logout the REST session because it is inactive	{"controller": "lease", "controllerGroup": "vspherecapacitymanager.splat.io", "controllerKind": "Lease", "Lease": {"name":"vsphere-elastic-79-dltjk","namespace":"vsphere-infra-helpers"}, "namespace": "vsphere-infra-helpers", "name": "vsphere-elastic-79-dltjk", "reconcileID": "f95dd56c-60fa-48f0-adac-40f2109a7a60", "server": "vcenter.ci.ibmc.devcluster.openshift.com", "datacenter": "", "username": "ci-user-0@ci.ibmc.devcluster.openshift.com"}
      2024-06-25T21:00:02Z	ERROR	Failed to logout REST session	{"controller": "lease", "controllerGroup": "vspherecapacitymanager.splat.io", "controllerKind": "Lease", "Lease": {"name":"vsphere-elastic-79-dltjk","namespace":"vsphere-infra-helpers"}, "namespace": "vsphere-infra-helpers", "name": "vsphere-elastic-79-dltjk", "reconcileID": "f95dd56c-60fa-48f0-adac-40f2109a7a60", "server": "vcenter.ci.ibmc.devcluster.openshift.com", "datacenter": "", "username": "ci-user-0@ci.ibmc.devcluster.openshift.com", "error": "DELETE https://vcenter.ci.ibmc.devcluster.openshift.com/rest/com/vmware/cis/session: 401 Unauthorized"}
      sigs.k8s.io/cluster-api-provider-vsphere/pkg/session.GetOrCreate
      	/go/pkg/mod/sigs.k8s.io/cluster-api-provider-vsphere@v1.10.1/pkg/session/session.go:163
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/pkg/vsphere.(*Metadata).unlockedSession
      	/workspace/pkg/vsphere/session.go:91
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/pkg/vsphere.(*Metadata).Session
      	/workspace/pkg/vsphere/session.go:70
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/internal/controller.checkLeasedNetworkForLeakedVirtualMachines
      	/workspace/internal/controller/lease_controller.go:120
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/internal/controller.(*LeaseReconciler).Reconcile
      	/workspace/internal/controller/lease_controller.go:87
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:119
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:316
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:266
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:227
      2024-06-25T21:00:02Z	INFO	Logout the session because it is inactive	{"controller": "lease", "controllerGroup": "vspherecapacitymanager.splat.io", "controllerKind": "Lease", "Lease": {"name":"vsphere-elastic-79-dltjk","namespace":"vsphere-infra-helpers"}, "namespace": "vsphere-infra-helpers", "name": "vsphere-elastic-79-dltjk", "reconcileID": "f95dd56c-60fa-48f0-adac-40f2109a7a60", "server": "vcenter.ci.ibmc.devcluster.openshift.com", "datacenter": "", "username": "ci-user-0@ci.ibmc.devcluster.openshift.com"}
      2024-06-25T21:00:02Z	ERROR	Failed to logout session	{"controller": "lease", "controllerGroup": "vspherecapacitymanager.splat.io", "controllerKind": "Lease", "Lease": {"name":"vsphere-elastic-79-dltjk","namespace":"vsphere-infra-helpers"}, "namespace": "vsphere-infra-helpers", "name": "vsphere-elastic-79-dltjk", "reconcileID": "f95dd56c-60fa-48f0-adac-40f2109a7a60", "server": "vcenter.ci.ibmc.devcluster.openshift.com", "datacenter": "", "username": "ci-user-0@ci.ibmc.devcluster.openshift.com", "error": "ServerFaultCode: The session is not authenticated."}
      sigs.k8s.io/cluster-api-provider-vsphere/pkg/session.GetOrCreate
      	/go/pkg/mod/sigs.k8s.io/cluster-api-provider-vsphere@v1.10.1/pkg/session/session.go:170
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/pkg/vsphere.(*Metadata).unlockedSession
      	/workspace/pkg/vsphere/session.go:91
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/pkg/vsphere.(*Metadata).Session
      	/workspace/pkg/vsphere/session.go:70
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/internal/controller.checkLeasedNetworkForLeakedVirtualMachines
      	/workspace/internal/controller/lease_controller.go:120
      github.com/openshift-splat-team/vsphere-capacity-manager-vcenter-ctrl/internal/controller.(*LeaseReconciler).Reconcile
      	/workspace/internal/controller/lease_controller.go:87
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:119
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:316
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:266
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:227
      2024-06-25T21:00:02Z	INFO	Created and cached vSphere client session	{"controller": "lease", "controllerGroup": "vspherecapacitymanager.splat.io", "controllerKind": "Lease", "Lease": {"name":"vsphere-elastic-79-dltjk","namespace":"vsphere-infra-helpers"}, "namespace": "vsphere-infra-helpers", "name": "vsphere-elastic-79-dltjk", "reconcileID": "f95dd56c-60fa-48f0-adac-40f2109a7a60", "server": "vcenter.ci.ibmc.devcluster.openshift.com", "datacenter": "", "username": "ci-user-0@ci.ibmc.devcluster.openshift.com"} 

              jcallen@redhat.com Joseph Callen
              jcallen@redhat.com Joseph Callen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: