root@staging-node1:~/cb# kubectl logs couchbase-operator-8bfc7f6cd-k4wtl time="2018-07-19T08:36:46Z" level=info msg="Obtaining resource lock" module=main time="2018-07-19T08:36:46Z" level=info msg="Starting event recorder" module=main time="2018-07-19T08:36:46Z" level=info msg="Attempting to be elected the couchbase-operator leader" module=main time="2018-07-19T08:36:46Z" level=info msg="I'm the leader, attempt to start the operator" module=main time="2018-07-19T08:36:46Z" level=info msg="Creating the couchbase-operator controller" module=main time="2018-07-19T08:36:46Z" level=info msg="Event(v1.ObjectReference{Kind:\"Endpoints\", Namespace:\"default\", Name:\"couchbase-operator\", UID:\"b7389414-8b23-11e8-bacc-020000df3209\", APIVersion:\"v1\", ResourceVersion:\"10348\", FieldPath:\"\"}): type: 'Normal' reason: 'LeaderElection' couchbase-operator-8bfc7f6cd-k4wtl became leader" module=event_recorder time="2018-07-19T08:36:46Z" level=info msg="CRD initialized, listening for events..." module=controller time="2018-07-19T08:36:46Z" level=info msg="starting couchbaseclusters controller" E0719 08:36:47.070913 1 runtime.go:66] Observed a panic: &errors.errorString{s:"failed to decode json data with gvk(couchbase.database.couchbase.com/v1beta1, Kind=CouchbaseCluster): v1beta1.CouchbaseCluster: Spec: v1beta1.ClusterSpec: ServerSettings: []v1beta1.ServerConfig: v1beta1.ServerConfig: Pod: v1beta1.PodPolicy: Resources: v1.ResourceRequirements: Limits: unmarshalerDecoder: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', parsing 1223 ...pu\":\"4GHz\"... at {\"apiVersion\":\"couchbase.database.couchbase.com/v1beta1\",\"kind\":\"CouchbaseCluster\",\"metadata\":{\"creationTimestamp\":\"2018-07-19T08:34:58Z\",\"generation\":1,\"name\":\"cb-stage\",\"namespace\":\"default\",\"resourceVersion\":\"10170\",\"selfLink\":\"/apis/couchbase.database.couchbase.com/v1beta1/namespaces/default/couchbaseclusters/cb-stage\",\"uid\":\"9ea4055f-8b2e-11e8-bacc-020000df3209\"},\"spec\":{\"antiAffinity\":false,\"authSecret\":\"cb-stage-auth\",\"baseImage\":\"couchbase/server\",\"buckets\":[{\"conflictResolution\":\"seqno\",\"enableFlush\":true,\"enableIndexReplica\":false,\"eviction-policy\":\"value-eviction\",\"ioPriority\":\"high\",\"memoryQuota\":1024,\"name\":\"default\",\"replicas\":1,\"type\":\"couchbase\"}],\"cluster\":{\"autoFailoverTimeout\":15,\"dataServiceMemoryQuota\":512,\"indexServiceMemoryQuota\":512,\"indexStorageSetting\":\"plasma\",\"searchServiceMemoryQuota\":512},\"exposeAdminConsole\":true,\"paused\":false,\"servers\":[{\"dataPath\":\"/opt/couchbase/var/lib/couchbase/data\",\"indexPath\":\"/opt/couchbase/var/lib/couchbase/data\",\"name\":\"all_services\",\"pod\":{\"automountServiceAccountToken\":false,\"couchabseEnv\":{\"ENV1_test\":\"test_value\"},\"labels\":{\"couchbase_services\":\"all\",\"phase\":\"stage\"},\"nodeSelector\":{\"instanceType\":\"large\"},\"resources\":{\"limits\":{\"cpu\":\"4GHz\",\"memory\":\"1GiB\",\"storage\":\"20GiB\"},\"requests\":{\"cpu\":\"2GHz\",\"memory\":\"1GiB\",\"storage\":\"5GiB\"}},\"tolerations\":[{\"effect\":\"NoSchedule\",\"key\":\"app\",\"operator\":\"Equal\",\"value\":\"cbapp\"}]},\"services\":[\"data\",\"index\",\"query\",\"search\"],\"size\":3}],\"version\":\"enterprise-5.0.1\"}}"} (failed to decode json data with gvk(couchbase.database.couchbase.com/v1beta1, Kind=CouchbaseCluster): v1beta1.CouchbaseCluster: Spec: v1beta1.ClusterSpec: ServerSettings: []v1beta1.ServerConfig: v1beta1.ServerConfig: Pod: v1beta1.PodPolicy: Resources: v1.ResourceRequirements: Limits: unmarshalerDecoder: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', parsing 1223 ...pu":"4GHz"... at {"apiVersion":"couchbase.database.couchbase.com/v1beta1","kind":"CouchbaseCluster","metadata":{"creationTimestamp":"2018-07-19T08:34:58Z","generation":1,"name":"cb-stage","namespace":"default","resourceVersion":"10170","selfLink":"/apis/couchbase.database.couchbase.com/v1beta1/namespaces/default/couchbaseclusters/cb-stage","uid":"9ea4055f-8b2e-11e8-bacc-020000df3209"},"spec":{"antiAffinity":false,"authSecret":"cb-stage-auth","baseImage":"couchbase/server","buckets":[{"conflictResolution":"seqno","enableFlush":true,"enableIndexReplica":false,"eviction-policy":"value-eviction","ioPriority":"high","memoryQuota":1024,"name":"default","replicas":1,"type":"couchbase"}],"cluster":{"autoFailoverTimeout":15,"dataServiceMemoryQuota":512,"indexServiceMemoryQuota":512,"indexStorageSetting":"plasma","searchServiceMemoryQuota":512},"exposeAdminConsole":true,"paused":false,"servers":[{"dataPath":"/opt/couchbase/var/lib/couchbase/data","indexPath":"/opt/couchbase/var/lib/couchbase/data","name":"all_services","pod":{"automountServiceAccountToken":false,"couchabseEnv":{"ENV1_test":"test_value"},"labels":{"couchbase_services":"all","phase":"stage"},"nodeSelector":{"instanceType":"large"},"resources":{"limits":{"cpu":"4GHz","memory":"1GiB","storage":"20GiB"},"requests":{"cpu":"2GHz","memory":"1GiB","storage":"5GiB"}},"tolerations":[{"effect":"NoSchedule","key":"app","operator":"Equal","value":"cbapp"}]},"services":["data","index","query","search"],"size":3}],"version":"enterprise-5.0.1"}}) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 /usr/local/go/1.9/go/src/runtime/asm_amd64.s:509 /usr/local/go/1.9/go/src/runtime/panic.go:491 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/util/k8sutil/k8sutil.go:69 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/sync.go:78 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/sync.go:53 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/sync.go:37 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/informer.go:88 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 /usr/local/go/1.9/go/src/runtime/asm_amd64.s:2337 panic: failed to decode json data with gvk(couchbase.database.couchbase.com/v1beta1, Kind=CouchbaseCluster): v1beta1.CouchbaseCluster: Spec: v1beta1.ClusterSpec: ServerSettings: []v1beta1.ServerConfig: v1beta1.ServerConfig: Pod: v1beta1.PodPolicy: Resources: v1.ResourceRequirements: Limits: unmarshalerDecoder: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', parsing 1223 ...pu":"4GHz"... at {"apiVersion":"couchbase.database.couchbase.com/v1beta1","kind":"CouchbaseCluster","metadata":{"creationTimestamp":"2018-07-19T08:34:58Z","generation":1,"name":"cb-stage","namespace":"default","resourceVersion":"10170","selfLink":"/apis/couchbase.database.couchbase.com/v1beta1/namespaces/default/couchbaseclusters/cb-stage","uid":"9ea4055f-8b2e-11e8-bacc-020000df3209"},"spec":{"antiAffinity":false,"authSecret":"cb-stage-auth","baseImage":"couchbase/server","buckets":[{"conflictResolution":"seqno","enableFlush":true,"enableIndexReplica":false,"eviction-policy":"value-eviction","ioPriority":"high","memoryQuota":1024,"name":"default","replicas":1,"type":"couchbase"}],"cluster":{"autoFailoverTimeout":15,"dataServiceMemoryQuota":512,"indexServiceMemoryQuota":512,"indexStorageSetting":"plasma","searchServiceMemoryQuota":512},"exposeAdminConsole":true,"paused":false,"servers":[{"dataPath":"/opt/couchbase/var/lib/couchbase/data","indexPath":"/opt/couchbase/var/lib/couchbase/data","name":"all_services","pod":{"automountServiceAccountToken":false,"couchabseEnv":{"ENV1_test":"test_value"},"labels":{"couchbase_services":"all","phase":"stage"},"nodeSelector":{"instanceType":"large"},"resources":{"limits":{"cpu":"4GHz","memory":"1GiB","storage":"20GiB"},"requests":{"cpu":"2GHz","memory":"1GiB","storage":"5GiB"}},"tolerations":[{"effect":"NoSchedule","key":"app","operator":"Equal","value":"cbapp"}]},"services":["data","index","query","search"],"size":3}],"version":"enterprise-5.0.1"}} [recovered] panic: failed to decode json data with gvk(couchbase.database.couchbase.com/v1beta1, Kind=CouchbaseCluster): v1beta1.CouchbaseCluster: Spec: v1beta1.ClusterSpec: ServerSettings: []v1beta1.ServerConfig: v1beta1.ServerConfig: Pod: v1beta1.PodPolicy: Resources: v1.ResourceRequirements: Limits: unmarshalerDecoder: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', parsing 1223 ...pu":"4GHz"... at {"apiVersion":"couchbase.database.couchbase.com/v1beta1","kind":"CouchbaseCluster","metadata":{"creationTimestamp":"2018-07-19T08:34:58Z","generation":1,"name":"cb-stage","namespace":"default","resourceVersion":"10170","selfLink":"/apis/couchbase.database.couchbase.com/v1beta1/namespaces/default/couchbaseclusters/cb-stage","uid":"9ea4055f-8b2e-11e8-bacc-020000df3209"},"spec":{"antiAffinity":false,"authSecret":"cb-stage-auth","baseImage":"couchbase/server","buckets":[{"conflictResolution":"seqno","enableFlush":true,"enableIndexReplica":false,"eviction-policy":"value-eviction","ioPriority":"high","memoryQuota":1024,"name":"default","replicas":1,"type":"couchbase"}],"cluster":{"autoFailoverTimeout":15,"dataServiceMemoryQuota":512,"indexServiceMemoryQuota":512,"indexStorageSetting":"plasma","searchServiceMemoryQuota":512},"exposeAdminConsole":true,"paused":false,"servers":[{"dataPath":"/opt/couchbase/var/lib/couchbase/data","indexPath":"/opt/couchbase/var/lib/couchbase/data","name":"all_services","pod":{"automountServiceAccountToken":false,"couchabseEnv":{"ENV1_test":"test_value"},"labels":{"couchbase_services":"all","phase":"stage"},"nodeSelector":{"instanceType":"large"},"resources":{"limits":{"cpu":"4GHz","memory":"1GiB","storage":"20GiB"},"requests":{"cpu":"2GHz","memory":"1GiB","storage":"5GiB"}},"tolerations":[{"effect":"NoSchedule","key":"app","operator":"Equal","value":"cbapp"}]},"services":["data","index","query","search"],"size":3}],"version":"enterprise-5.0.1"}} goroutine 99 [running]: github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x111 panic(0x10747e0, 0xc4202eaf80) /usr/local/go/1.9/go/src/runtime/panic.go:491 +0x283 github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/util/k8sutil.RuntimeObjectFromUnstructured(0xc42000c3b0, 0xc42000c3b0, 0x10) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/util/k8sutil/k8sutil.go:69 +0x3a9 github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer.(*informer).sync(0xc42003ad20, 0xc420361660, 0x10, 0x1035620, 0xc4202eb4f0) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/sync.go:78 +0xcc github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer.(*informer).processNextItem(0xc42003ad20, 0x86e700) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/sync.go:53 +0xd2 github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer.(*informer).runWorker(0xc42003ad20) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/sync.go:37 +0x2b github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer.(*informer).(github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer.runWorker)-fm() /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/informer.go:88 +0x2a github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc4202eb540) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x5e github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc4202eb540, 0x3b9aca00, 0x0, 0x1, 0x0) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xbd github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc4202eb540, 0x3b9aca00, 0x0) /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d created by github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer.(*informer).Run /home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/coreos/operator-sdk/pkg/sdk/informer/informer.go:88 +0x21e