Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2874

Multiple LDAP tests are failing in 2.4.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.0
    • None
    • None
    • None
    • 5 - Kraken Bug Fixes/Docs
    • 1

    Description

      The error:

       

      {"level":"info","ts":1667386543.8157108,"logger":"main","msg":"couchbase-operator-admission-controller","version":"2.4.0 (build 152)","revision":"cad05d7f1dde4794750ae8bfd327a12aa9923a6f"}
      {"level":"info","ts":1667386545.3155272,"logger":"main","msg":"Validating resource","operation":"CREATE","kind":"couchbase.com/v2, Kind=CouchbaseBucket","namespace":"default","name":"dry-run"}
      {"level":"info","ts":1667386572.9782398,"logger":"main","msg":"Validating resource","operation":"CREATE","kind":"couchbase.com/v2, Kind=CouchbaseCluster","namespace":"test-46tpc","name":"test-couchbase-p42cx"}
      2022/11/02 10:56:12 http: panic serving 10.244.0.1:46364: runtime error: invalid memory address or nil pointer dereference
      goroutine 38 [running]:
      net/http.(*conn).serve.func1()
      	net/http/server.go:1825 +0xb8
      panic({0xffcfa0, 0x1e34ca0})
      	runtime/panic.go:844 +0x260
      github.com/couchbase/couchbase-operator/pkg/validator/v2.isTLSSecretRequired(0x4000260580)
      	github.com/couchbase/couchbase-operator/pkg/validator/v2/validator.go:1078 +0x1b8
      github.com/couchbase/couchbase-operator/pkg/validator/v2.checkConstraintLDAPConnectionTLS(0x4000336798, 0x4000260580)
      	github.com/couchbase/couchbase-operator/pkg/validator/v2/validator.go:1100 +0xc8
      github.com/couchbase/couchbase-operator/pkg/validator/v2.CheckConstraints(0x4000537601?, 0xe76320?)
      	github.com/couchbase/couchbase-operator/pkg/validator/v2/validator.go:86 +0x298
      github.com/couchbase/couchbase-operator/pkg/validator.CheckConstraints(0x4000170570?, {0x13c6fc8?, 0x4000260580?})
      	github.com/couchbase/couchbase-operator/pkg/validator/validator.go:20 +0x2d0
      github.com/couchbase/couchbase-operator/pkg/admission.couchbaseClustersValidate(0x4000482820, {{{0x4000170570, 0xf}, {0x4000174090, 0x13}}, 0x40001d6d00, 0x0})
      	github.com/couchbase/couchbase-operator/pkg/admission/admission.go:231 +0x910
      github.com/couchbase/couchbase-operator/pkg/admission.serve(0x800?, {0x13d6e50, 0x40004622a0}, 0x4000438b00?, 0x129a5a8)
      	github.com/couchbase/couchbase-operator/pkg/admission/admission.go:274 +0x334
      github.com/couchbase/couchbase-operator/pkg/admission.Serve.func1({0x13d6e50?, 0x40004622a0?}, 0x3b?)
      	github.com/couchbase/couchbase-operator/pkg/admission/admission.go:316 +0x44
      net/http.HandlerFunc.ServeHTTP(0x4000537ab8?, {0x13d6e50?, 0x40004622a0?}, 0x40001bec40?)
      	net/http/server.go:2084 +0x3c
      net/http.(*ServeMux).ServeHTTP(0x4000172ea1?, {0x13d6e50, 0x40004622a0}, 0x4000438b00)
      	net/http/server.go:2462 +0x144
      net/http.serverHandler.ServeHTTP({0x13cb1e0?}, {0x13d6e50, 0x40004622a0}, 0x4000438b00)
      	net/http/server.go:2916 +0x408
      net/http.(*conn).serve(0x400049fb80, {0x13d77c8, 0x40004de900})
      	net/http/server.go:1966 +0x550
      created by net/http.(*Server).Serve
      	net/http/server.go:3071 +0x448 

      Attachments

        For Gerrit Dashboard: K8S-2874
        # Subject Branch Project Status CR V

        Activity

          People

            Alex.emery Alex Emery (Inactive)
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty