intuit / katlas

A distributed graph-based platform to automatically collect, discover, explore and relate multi-cluster Kubernetes resources and metadata.
https://katlas.io
Apache License 2.0
209 stars 28 forks source link

Mismatch of API #169

Open chetangehlot opened 4 years ago

chetangehlot commented 4 years ago

Hi all,

When I run

$ kubectl create -f deploy/katlas-service.yaml

I got a error

$ kubectl logs -f katlas-service-58b8bcf9c4-h9bvd
time="2019-11-27T06:47:21Z" level=info msg="EnvNamespace="
time="2019-11-27T06:47:21Z" level=info msg="ServerType=http"
time="2019-11-27T06:47:21Z" level=info msg="DgraphHost=dgraph-public:9080"
time="2019-11-27T06:47:21Z" level=info msg="Connecting to dgraph [dgraph-public:9080]"
time="2019-11-27T06:47:21Z" level=info msg="LRU cache created with given size"
time="2019-11-27T06:47:21Z" level=info msg="Starting initialize schema and metadata... "
time="2019-11-27T06:47:21Z" level=error msg="Query[{objects (func:eq(name,\"application\")) @filter(eq(objtype,\"metadata\")) {count(uid)}}] Error [rpc error: code = Internal desc = grpc: error unmarshalling request: proto: wrong wireType = 2 for field StartTs]\n"
time="2019-11-27T06:47:21Z" level=debug msg="rpc error: code = Internal desc = grpc: error unmarshalling request: proto: wrong wireType = 2 for field StartTs"
panic: interface conversion: interface {} is nil, not []interface {}

goroutine 1 [running]:
main.serve()
    /home/travis/gopath/src/github.com/intuit/katlas/service/.gopath~/src/github.com/intuit/katlas/service/server.go:115 +0x2ee3
main.main()
    /home/travis/gopath/src/github.com/intuit/katlas/service/.gopath~/src/github.com/intuit/katlas/service/server.go:141 +0x18b