2021/05/27 23:36:42 Starting Kubernetes Multicloud API 2021/05/27 23:36:42 Error Getting TLS Configuration. Starting without TLS... 10.233.71.200 - - [28/May/2021:01:12:27 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:14:40 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [28/May/2021:01:15:20 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.71.200 - - [28/May/2021:01:15:58 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [28/May/2021:01:16:02 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.71.200 - - [28/May/2021:01:17:20 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:19:11 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:20:32 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:23:11 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:26:35 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74 10.233.71.200 - - [28/May/2021:01:26:35 +0000] "POST /v1/connectivity-info HTTP/1.1" 201 7569 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "POST /v1/rb/definition HTTP/1.1" 201 125 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "GET /v1/rb/definition/pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761/v1 HTTP/1.1" 200 125 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "POST /v1/rb/definition/pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761/v1/content HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "GET /v1/rb/definition/pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761/v1 HTTP/1.1" 200 138 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "POST /v1/rb/definition/pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761/v1/profile HTTP/1.1" 201 280 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "GET /v1/rb/definition/pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761/v1/profile/pnf-cnf-profile-7bf6f565-f72e-41c7-b8b8-81126f516afe HTTP/1.1" 200 280 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "POST /v1/rb/definition/pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761/v1/profile/pnf-cnf-profile-7bf6f565-f72e-41c7-b8b8-81126f516afe/content HTTP/1.1" 200 0 2021/05/28 01:26:36 Error reading name cache from Database: Error finding master table: mongo: no documents in result 2021/05/28 01:26:36 Error Reading from DB: Reading cache from DB: Error finding master table: mongo: no documents in result {"filepath":"/tmp/helm-tmpl-229271754/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-28T01:26:36Z"} {"error":"Create Service error: services \"mongo\" already exists","filepath":"/tmp/helm-tmpl-229271754/manifest-0","gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"error","msg":"Error Creating Resource","time":"2021-05-28T01:26:36Z"} {"error":"Create Kubernetes Resources: Error creating kind: /v1, Kind=Service: Error in plugin Service plugin: Create Service error: services \"mongo\" already exists","level":"error","msg":"Error Creating Resource","resource":{"rb-name":"pnf-cnf-rb-d14e16a9-08fd-4ccc-b1fc-3545bd0a6761","rb-version":"v1","profile-name":"pnf-cnf-profile-7bf6f565-f72e-41c7-b8b8-81126f516afe","release-name":"","cloud-region":"k8sregion","labels":{},"override-values":{}},"time":"2021-05-28T01:26:36Z"} 10.233.71.200 - - [28/May/2021:01:26:36 +0000] "POST /v1/instance HTTP/1.1" 500 155 127.0.0.1 - - [28/May/2021:01:29:00 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [28/May/2021:01:29:17 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [28/May/2021:01:29:42 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.71.200 - - [28/May/2021:01:32:52 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 127.0.0.1 - - [28/May/2021:01:33:01 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [28/May/2021:01:33:01 +0000] "POST /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/content HTTP/1.1" 200 0 10.233.71.200 - - [28/May/2021:01:37:13 +0000] "GET /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5 HTTP/1.1" 200 216 10.233.71.200 - - [28/May/2021:01:37:13 +0000] "GET /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/profile/cnftest HTTP/1.1" 404 87 10.233.71.200 - - [28/May/2021:01:37:13 +0000] "POST /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/profile HTTP/1.1" 201 212 10.233.71.200 - - [28/May/2021:01:37:13 +0000] "GET /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/profile/cnftest HTTP/1.1" 200 212 10.233.71.200 - - [28/May/2021:01:37:13 +0000] "POST /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/profile/cnftest/content HTTP/1.1" 200 0 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance 2021/05/28 01:37:36 Did not find tag: instance {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"","workload_status":"GET_COMPLETE","workload_status_reason":{"stacks":[]}},"time":"2021-05-28T01:37:36Z"} 10.233.71.200 - - [28/May/2021:01:37:36 +0000] "GET /basicnf-owner/k8sregion/infra_workload?name=basic_cnf-0866a27b-228a-445b-8db6-cd24587c0f90 HTTP/1.1" 200 114 {"Body":{},"Payload":{"generic-vnf-id":"64d48981-2bbc-4c82-b005-45f87aabf806","vf-module-id":"79873e6c-fa10-4232-89b6-4bc2ce378f96","vf-module-model-invariant-id":"cbae034f-f976-4285-b9a2-ed76fbf9acff","vf-module-model-version-id":"86507aba-1a0b-4e9d-bc46-e604aed9e0c5","vf-module-model-customization-id":"1303b87a-fcea-4007-972e-c3f1bfe96578","oof_directives":{"attributes":null},"sdnc_directives":{"attributes":[{"attribute_name":"k8s-rb-profile-name","attribute_value":"cnftest"},{"attribute_name":"k8s-rb-profile-namespace","attribute_value":"k8s"},{"attribute_name":"availability_zone_0","attribute_value":"basicnf-availability-zone"},{"attribute_name":"dummy_name_0","attribute_value":"dummy_name"}]},"user_directives":{"attributes":null},"template_type":"","template_data":{"stack_name":"basic_cnf-0866a27b-228a-445b-8db6-cd24587c0f90"}},"level":"info","msg":"Broker API Payload","time":"2021-05-28T01:37:36Z"} {"level":"info","msg":"Instance API Payload","payload":{"rb-name":"cbae034f-f976-4285-b9a2-ed76fbf9acff","rb-version":"86507aba-1a0b-4e9d-bc46-e604aed9e0c5","profile-name":"cnftest","release-name":"79873e6c-fa10-4232-89b6-4bc2ce378f96","cloud-region":"k8sregion","labels":{"stack-name":"basic_cnf-0866a27b-228a-445b-8db6-cd24587c0f90"},"override-values":{"availability_zone_0":"basicnf-availability-zone","dummy_name_0":"dummy_name","k8s-rb-profile-name":"cnftest","k8s-rb-profile-namespace":"k8s"}},"time":"2021-05-28T01:37:36Z"} {"level":"info","msg":"Creating Namespace","namespace":"k8s","time":"2021-05-28T01:37:36Z"} 2021/05/28 01:37:36 Namespace (k8s) created {"filepath":"/tmp/helm-tmpl-523556965/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-28T01:37:36Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2021-05-28T01:37:36Z"} {"filepath":"/tmp/helm-tmpl-523556965/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-28T01:37:36Z"} 2021/05/28 01:37:36 No plugin for kind Deployment found. Using generic Plugin {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2021-05-28T01:37:36Z"} {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"eager_curie","template_response":[{"GVK":{"Group":"","Version":"v1","Kind":"Service"},"Name":"cnftest-nginx"},{"GVK":{"Group":"apps","Version":"v1","Kind":"Deployment"},"Name":"cnftest-nginx"}],"workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-05-28T01:37:36Z"} 10.233.71.200 - - [28/May/2021:01:37:36 +0000] "POST /basicnf-owner/k8sregion/infra_workload HTTP/1.1" 201 300 10.233.71.200 - - [28/May/2021:01:37:36 +0000] "GET /basicnf-owner/k8sregion/infra_workload/eager_curie HTTP/1.1" 200 119 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"eager_curie","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-05-28T01:37:37Z"} 10.233.71.200 - - [28/May/2021:01:37:37 +0000] "POST /basicnf-owner/k8sregion/infra_workload/eager_curie HTTP/1.1" 405 0 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"eager_curie","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-05-28T01:38:11Z"} 10.233.71.200 - - [28/May/2021:01:38:11 +0000] "GET /basicnf-owner/k8sregion/infra_workload/eager_curie HTTP/1.1" 200 119 {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-05-28T01:38:11Z"} 2021/05/28 01:38:11 Deleting service: cnftest-nginx {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-05-28T01:38:11Z"} 2021/05/28 01:38:11 No plugin for kind Deployment found. Using generic Plugin 2021/05/28 01:38:11 Deleted Obj with ID ObjectID("60b0496081b48f3a0a886686") 2021/05/28 01:38:11 Deleted Obj with ID ObjectID("60b049602a7e246996149551") {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"eager_curie","workload_status":"DELETE_COMPLETE","workload_status_reason":null},"time":"2021-05-28T01:38:11Z"} 10.233.71.200 - - [28/May/2021:01:38:11 +0000] "DELETE /basicnf-owner/k8sregion/infra_workload/eager_curie HTTP/1.1" 202 119 10.233.71.200 - - [28/May/2021:01:38:30 +0000] "GET /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5 HTTP/1.1" 200 216 10.233.71.200 - - [28/May/2021:01:38:30 +0000] "GET /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/profile/cnftest HTTP/1.1" 200 212 2021/05/28 01:38:30 Deleted Obj with ID ObjectID("60b0494981b48f3a0a886684") 2021/05/28 01:38:30 Deleted Obj with ID ObjectID("60b0494981b48f3a0a886685") 2021/05/28 01:38:30 Deleted Obj with ID ObjectID("60b049492a7e246996149524") 10.233.71.200 - - [28/May/2021:01:38:30 +0000] "DELETE /v1/rb/definition/cbae034f-f976-4285-b9a2-ed76fbf9acff/86507aba-1a0b-4e9d-bc46-e604aed9e0c5/profile/cnftest HTTP/1.1" 204 0 10.233.71.200 - - [28/May/2021:01:39:12 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 2021/05/28 01:39:12 Deleted Obj with ID ObjectID("60b046cb81b48f3a0a88666d") 10.233.71.200 - - [28/May/2021:01:39:12 +0000] "DELETE /v1/connectivity-info/k8sregion HTTP/1.1" 204 0 2021/05/28 01:39:12 Deleted Obj with ID ObjectID("60b046cb2a7e24699614931f")