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

panic while deploying cluster with tls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.0
    • 1.0.0
    • kubernetes
    • None
    • aks k8s version 1.11.2

    Description

       

      From Operator logs

      time="2018-10-03T04:26:02Z" level=info msg="Creating NodePort UI service (cb-op-aks-cluster-mini-ui) for data nodes" cluster-name=cb-op-aks-cluster-mini module=cluster
      time="2018-10-03T04:26:02Z" level=info msg="Creating a pod (cb-op-aks-cluster-mini-0000) running Couchbase enterprise-5.5.1" cluster-name=cb-op-aks-cluster-mini module=cluster
      E1003 04:27:55.100566 1 streamwatcher.go:109] Unable to decode an event from the watch stream: stream error: stream ID 21; INTERNAL_ERROR
      E1003 04:27:55.100583 1 streamwatcher.go:109] Unable to decode an event from the watch stream: stream error: stream ID 25; INTERNAL_ERROR
      E1003 04:27:55.100600 1 streamwatcher.go:109] Unable to decode an event from the watch stream: stream error: stream ID 11; INTERNAL_ERROR

      panic: interface conversion: runtime.Object is nil, not *v1.Pod

      goroutine 53699 [running]:
      github.com/couchbase/couchbase-operator/pkg/util/k8sutil.WaitForPod(0x1b6f220, 0xc4201469c0, 0x1b7b8a0, 0xc420
      378000, 0xc420842289, 0x7, 0xc42074b920, 0x1b, 0xc42013d950, 0x43, ...)
      /home/couchbase/jenkins/workspace/couchbase-operator-platform-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/util/k8sutil/k8sutil.go:963 +0x976
      github.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).createMember(0xc420558000, 0x3, 0xc420943660, 0x4, 0xc4204828e0, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
      /home/couchbase/jenkins/workspace/couchbase-operator-platform-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:155 +0x350
      github.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).create(0xc420558000, 0x0, 0x0)
      /home/couchbase/jenkins/workspace/couchbase-operator-platform-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:245 +0x361
      github.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).setup(0xc420558000, 0xc42045c7d0, 0x811ef2)
      /home/couchbase/jenkins/workspace/couchbase-operator-platform-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:204 +0xb4
      github.com/couchbase/couchbase-operator/pkg/cluster.New.func1(0xc420558000)
      /home/couchbase/jenkins/workspace/couchbase-operator-platform-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:138 +0x35
      created by github.com/couchbase/couchbase-operator/pkg/cluster.New
      /home/couchbase/jenkins/workspace/couchbase-operator-platform-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:137 +0x86a

      $ kubectl get secrets
      NAME TYPE DATA AGE
      cb-example-auth Opaque 2 30m
      couchbase-operator-tls Opaque 1 31m
      couchbase-operator-token-l8mlp kubernetes.io/service-account-token 3 5h
      couchbase-server-tls Opaque 2 6m
      default-token-mx94b kubernetes.io/service-account-token 3 7h

       

       

      Attachments

        1. ca.crt
          2 kB
        2. chain.pem
          5 kB
        3. pkey.key
          2 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tommie Tommie McAfee (Inactive)
              ram.dhakne Ram Dhakne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty