{"level":"info","ts":"2024-02-01T10:55:11.084Z","logger":"watchdog","caller":"gateway/main.go:433","msg":"starting sub-process"} {"level":"info","ts":"2024-02-01T10:55:11.092Z","caller":"gateway/main.go:191","msg":"starting stellar-gateway","version":"0.2.1-134"} {"level":"info","ts":"2024-02-01T10:55:11.092Z","caller":"gateway/main.go:193","msg":"parsed launch configuration","config":"","watch-config":false,"daemon":true} {"level":"info","ts":"2024-02-01T10:55:11.092Z","caller":"gateway/main.go:222","msg":"parsed gateway configuration","logLevelStr":"info","cbHost":"127.0.0.1","cbUser":"Administrator","bindAddress":"0.0.0.0","dataPort":18098,"sdPort":18099,"webPort":9091,"selfSign":false,"certPath":"/var/run/secrets/couchbase.com/couchbase-cng-tls/tls.crt","keyPath":"/var/run/secrets/couchbase.com/couchbase-cng-tls/tls.key","cacertPath":"","otlpEndpoint":"","debug":false,"cpuprofile":""} {"level":"warn","ts":"2024-02-01T10:55:11.092Z","caller":"gateway/main.go:117","msg":"failed to setup some part of opentelemetry resource","error":"1 errors occurred detecting resource:\n\t* user: Current requires cgo or $USER set in environment"} {"level":"info","ts":"2024-02-01T10:55:11.092Z","caller":"webapi/webapi.go:88","msg":"starting health/metrics server","listenAddress":"0.0.0.0:9091"} {"level":"info","ts":"2024-02-01T10:55:11.092Z","logger":"gateway","caller":"gateway/gateway.go:176","msg":"linking to couchbase cluster","connectionString":"127.0.0.1","User":"Administrator"} {"level":"error","ts":"2024-02-01T10:55:11.092Z","caller":"webapi/webapi.go:109","msg":"Failed to listen and serve web server","error":"listen tcp 0.0.0.0:9091: bind: address already in use","stacktrace":"github.com/couchbase/stellar-gateway/pkg/webapi.InitializeWebServer.func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/pkg/webapi/webapi.go:109"} {"level":"info","ts":"2024-02-01T10:55:11.092Z","logger":"gateway","caller":"gateway/gateway.go:184","msg":"identified couchbase server address","address":"127.0.0.1:8091"} {"level":"info","ts":"2024-02-01T10:55:11.092Z","logger":"gateway","caller":"gateway/gateway.go:187","msg":"waiting for couchbase server to become available","address":"127.0.0.1:8091"} {"level":"warn","ts":"2024-02-01T10:55:11.093Z","logger":"gateway","caller":"gateway/gateway.go:193","msg":"failed to ping cluster","error":"failed to get cluster config: Get \"http://127.0.0.1:8091/pools/default\": dial tcp 127.0.0.1:8091: connect: connection refused","errorVerbose":"Get \"http://127.0.0.1:8091/pools/default\": dial tcp 127.0.0.1:8091: connect: connection refused\nfailed to get cluster config\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:138\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:191\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:396\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:52\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:460\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2024-02-01T10:55:11.093Z","logger":"gateway","caller":"gateway/gateway.go:202","msg":"sleeping before trying to ping cluster again","period":5} {"level":"warn","ts":"2024-02-01T10:55:16.097Z","logger":"gateway","caller":"gateway/gateway.go:193","msg":"failed to ping cluster","error":"failed to get cluster config: Get \"http://127.0.0.1:8091/pools/default\": dial tcp 127.0.0.1:8091: connect: connection refused","errorVerbose":"Get \"http://127.0.0.1:8091/pools/default\": dial tcp 127.0.0.1:8091: connect: connection refused\nfailed to get cluster config\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:138\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:191\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:396\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:52\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:460\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2024-02-01T10:55:16.097Z","logger":"gateway","caller":"gateway/gateway.go:202","msg":"sleeping before trying to ping cluster again","period":5} {"level":"warn","ts":"2024-02-01T10:55:21.102Z","logger":"gateway","caller":"gateway/gateway.go:193","msg":"failed to ping cluster","error":"failed to get cluster config: server error: unsupported feature (status: 404, body: `\"unknown pool\"`)","errorVerbose":"server error: unsupported feature (status: 404, body: `\"unknown pool\"`)\nfailed to get cluster config\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:138\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:191\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:396\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:52\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:460\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2024-02-01T10:55:21.102Z","logger":"gateway","caller":"gateway/gateway.go:202","msg":"sleeping before trying to ping cluster again","period":5} {"level":"warn","ts":"2024-02-01T10:55:26.103Z","logger":"gateway","caller":"gateway/gateway.go:193","msg":"failed to ping cluster","error":"failed to get cluster config: Get \"http://127.0.0.1:8091/pools/default\": dial tcp 127.0.0.1:8091: connect: connection refused","errorVerbose":"Get \"http://127.0.0.1:8091/pools/default\": dial tcp 127.0.0.1:8091: connect: connection refused\nfailed to get cluster config\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:138\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:191\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:396\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:52\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:460\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszK8ti/go1.21.6/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2024-02-01T10:55:26.103Z","logger":"gateway","caller":"gateway/gateway.go:202","msg":"sleeping before trying to ping cluster again","period":5} {"level":"info","ts":"2024-02-01T10:55:31.116Z","logger":"gateway","caller":"gateway/gateway.go:254","msg":"connected agent manager","agent":{}} {"level":"info","ts":"2024-02-01T10:55:31.117Z","logger":"gateway","caller":"gateway/gateway.go:257","msg":"connected to couchbase cluster"} {"level":"info","ts":"2024-02-01T10:55:31.117Z","logger":"gateway","caller":"gateway/gateway.go:341","msg":"initializing protostellar system"} {"level":"info","ts":"2024-02-01T10:55:31.117Z","logger":"gateway","caller":"gateway/gateway.go:416","msg":"starting to run protostellar system","advertisedPortPS":18098,"advertisedPortSD":18099} {"level":"info","ts":"2024-02-01T10:55:31.118Z","caller":"webapi/webapi.go:65","msg":"system health marked as healthy"}