-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Cannot Reproduce
-
Affects Version/s: VOLTHA v2.1
-
Fix Version/s: VOLTHA v2.1
-
Component/s: api-server
-
Labels:
-
Story Points:3
-
Epic Link:
Voltha being deployed with helm and using Kind Voltha which pulls images from Docker Hub
As Voltha is coming up, the api server continuously fails in its attempt to start
Looks to be a problem with the configuration file
gilles@gilles-VirtualBox:~$ kubectl logs -n voltha voltha-api-server-57b6c98cb8-cx4ct arouter
{"level":"info","ts":"2019-09-23T14:19:09.477Z","msg":"Loading configuration from: /app/config/arouter.voltha.json","caller":"config.LoadConfig:173"} {"level":"error","ts":"2019-09-23T14:19:09.478Z","msg":"*Unmarshaling of the configuratino file failed: invalid afrouter.routeType source"*,"caller":"config.LoadConfig:188","stacktrace":"github.com/opencord/voltha-go/common/log.Errorf\n\t/go/src/github.com/opencord/voltha-go/common/log/log.go:694\ngithub.com/opencord/voltha-go/afrouter/afrouter.(*Configuration).LoadConfig\n\t/go/src/github.com/opencord/voltha-go/afrouter/afrouter/config.go:188\nmain.main\n\t/go/src/github.com/opencord/voltha-go/afrouter/arouter.go:51\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"} {"level":"error","ts":"2019-09-23T14:19:09.479Z","msg":"invalid afrouter.routeType source","caller":"arouter.main:53","stacktrace":"github.com/opencord/voltha-go/common/log.Error\n\t/go/src/github.com/opencord/voltha-go/common/log/log.go:684\nmain.main\n\t/go/src/github.com/opencord/voltha-go/afrouter/arouter.go:53\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m27s default-scheduler Successfully assigned voltha/voltha-api-server-57b6c98cb8-cx4ct to voltha-minimal-worker2
Normal Pulling 2m19s kubelet, voltha-minimal-worker2 Pulling image "voltha/voltha-afrouterd:2.1.1"
Normal Created 106s kubelet, voltha-minimal-worker2 Created container arouterd
Normal Pulled 106s kubelet, voltha-minimal-worker2 Successfully pulled image "voltha/voltha-afrouterd:2.1.1"
Normal Started 105s kubelet, voltha-minimal-worker2 Started container arouterd
Normal Pulling 60s (x4 over 2m26s) kubelet, voltha-minimal-worker2 Pulling image "voltha/voltha-afrouter:2.1.1"
Normal Pulled 60s (x4 over 2m19s) kubelet, voltha-minimal-worker2 Successfully pulled image "voltha/voltha-afrouter:2.1.1"
Normal Created 59s (x4 over 2m19s) kubelet, voltha-minimal-worker2 Created container arouter
Normal Started 59s (x4 over 2m19s) kubelet, voltha-minimal-worker2 Started container arouter
Warning BackOff 58s (x5 over 104s) kubelet, voltha-minimal-worker2 Back-off restarting failed container