Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-10725

octavia-operator displays backtraces on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhos-18.0.3
    • None
    • octavia-operator
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • octavia-operator-container-1.0.4-4
    • ?
    • ?
    • None
    • Important

      When starting the octavia-operator it shows multiple backtraces/error messages:

      2024-10-16T11:31:48.152Z        ERROR   Controllers.Amphora     listing  for field: .spec.tls.api.internal.secretName - openshift-openstack-infra       {"error": "Index with name field:.spec.tls.api.internal.secretName does not exist"}
      github.com/openstack-k8s-operators/octavia-operator/controllers.(*OctaviaAmphoraControllerReconciler).findObjectsForSrc
              /home/zuul/octavia-operator/controllers/amphoracontroller_controller.go:740
      sigs.k8s.io/controller-runtime/pkg/handler.(*enqueueRequestsFromMapFunc).mapAndEnqueue
              /home/zuul/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/handler/enqueue_mapped.go:81
      sigs.k8s.io/controller-runtime/pkg/handler.(*enqueueRequestsFromMapFunc).Create
              /home/zuul/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/handler/enqueue_mapped.go:58
      sigs.k8s.io/controller-runtime/pkg/internal/source.(*EventHandler).OnAdd
              /home/zuul/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/source/event_handler.go:88
      k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnAdd
              /home/zuul/go/pkg/mod/k8s.io/client-go@v0.29.9/tools/cache/controller.go:239
      k8s.io/client-go/tools/cache.(*processorListener).run.func1
              /home/zuul/go/pkg/mod/k8s.io/client-go@v0.29.9/tools/cache/shared_informer.go:972
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
              /home/zuul/go/pkg/mod/k8s.io/apimachinery@v0.29.9/pkg/util/wait/backoff.go:226
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
              /home/zuul/go/pkg/mod/k8s.io/apimachinery@v0.29.9/pkg/util/wait/backoff.go:227
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
              /home/zuul/go/pkg/mod/k8s.io/apimachinery@v0.29.9/pkg/util/wait/backoff.go:204
      k8s.io/apimachinery/pkg/util/wait.Until
              /home/zuul/go/pkg/mod/k8s.io/apimachinery@v0.29.9/pkg/util/wait/backoff.go:161
      k8s.io/client-go/tools/cache.(*processorListener).run
              /home/zuul/go/pkg/mod/k8s.io/client-go@v0.29.9/tools/cache/shared_informer.go:966
      k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1
              /home/zuul/go/pkg/mod/k8s.io/apimachinery@v0.29.9/pkg/util/wait/wait.go:72
       

      .spec.tls.api.internal.secretName doesn't exist in the amphora controller

      this error was hidden before https://github.com/openstack-k8s-operators/octavia-operator/commit/d489bf6f01898c0c4af391cb957471f401511262 merged 

      the behavior of the code changes with this patch but there's no bug, only annoying backtraces

              rhn-support-gthiemon Gregory Thiemonge
              rhn-support-gthiemon Gregory Thiemonge
              rhos-dfg-networking-squad-vans
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: