2021/06/09 10:09:34 Starting Kubernetes Multicloud API 2021/06/09 10:09:34 Error Getting TLS Configuration. Starting without TLS... 10.233.70.7 - - [09/Jun/2021:11:43:56 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.7 - - [09/Jun/2021:11:46:32 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [09/Jun/2021:11:47:24 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.70.7 - - [09/Jun/2021:11:48:03 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [09/Jun/2021:11:48:27 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.70.7 - - [09/Jun/2021:11:49:59 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.7 - - [09/Jun/2021:11:51:19 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.7 - - [09/Jun/2021:11:53:59 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.7 - - [09/Jun/2021:11:58:58 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74 10.233.70.7 - - [09/Jun/2021:11:58:58 +0000] "POST /v1/connectivity-info HTTP/1.1" 201 7565 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7565 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "POST /v1/rb/definition HTTP/1.1" 201 125 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "GET /v1/rb/definition/pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98/v1 HTTP/1.1" 200 125 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "POST /v1/rb/definition/pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98/v1/content HTTP/1.1" 200 0 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "GET /v1/rb/definition/pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98/v1 HTTP/1.1" 200 138 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "POST /v1/rb/definition/pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98/v1/profile HTTP/1.1" 201 280 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "GET /v1/rb/definition/pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98/v1/profile/pnf-cnf-profile-54877e92-284b-418b-806c-e97e9787deb6 HTTP/1.1" 200 280 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "POST /v1/rb/definition/pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98/v1/profile/pnf-cnf-profile-54877e92-284b-418b-806c-e97e9787deb6/content HTTP/1.1" 200 0 2021/06/09 11:58:59 Error reading name cache from Database: Error finding master table: mongo: no documents in result 2021/06/09 11:58:59 Error Reading from DB: Reading cache from DB: Error finding master table: mongo: no documents in result {"filepath":"/tmp/helm-tmpl-875980043/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-09T11:58:59Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-simulator-mongo","time":"2021-06-09T11:58:59Z"} {"filepath":"/tmp/helm-tmpl-875980043/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-09T11:58:59Z"} 10.233.70.7 - - [09/Jun/2021:11:58:59 +0000] "POST /v1/instance HTTP/1.1" 500 163 {"error":"Create Service error: services \"pnf-simulator\" already exists","filepath":"/tmp/helm-tmpl-875980043/manifest-1","gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"error","msg":"Error Creating Resource","time":"2021-06-09T11:58:59Z"} {"error":"Create Kubernetes Resources: Error creating kind: /v1, Kind=Service: Error in plugin Service plugin: Create Service error: services \"pnf-simulator\" already exists","level":"error","msg":"Error Creating Resource","resource":{"rb-name":"pnf-cnf-rb-8f0d39d6-5a2f-4604-ac99-382d4e170b98","rb-version":"v1","profile-name":"pnf-cnf-profile-54877e92-284b-418b-806c-e97e9787deb6","release-name":"","cloud-region":"k8sregion","labels":{},"override-values":{}},"time":"2021-06-09T11:58:59Z"} 127.0.0.1 - - [09/Jun/2021:12:01:10 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [09/Jun/2021:12:01:25 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [09/Jun/2021:12:01:45 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.70.7 - - [09/Jun/2021:12:05:03 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7565 127.0.0.1 - - [09/Jun/2021:12:05:12 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [09/Jun/2021:12:05:12 +0000] "POST /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/content HTTP/1.1" 200 0 10.233.70.7 - - [09/Jun/2021:12:10:20 +0000] "GET /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff HTTP/1.1" 200 216 10.233.70.7 - - [09/Jun/2021:12:10:20 +0000] "GET /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/profile/cnftest HTTP/1.1" 404 87 10.233.70.7 - - [09/Jun/2021:12:10:21 +0000] "POST /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/profile HTTP/1.1" 201 212 10.233.70.7 - - [09/Jun/2021:12:10:21 +0000] "GET /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/profile/cnftest HTTP/1.1" 200 212 10.233.70.7 - - [09/Jun/2021:12:10:21 +0000] "POST /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/profile/cnftest/content HTTP/1.1" 200 0 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 Did not find tag: instance 2021/06/09 12:10:44 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-06-09T12:10:44Z"} 10.233.70.7 - - [09/Jun/2021:12:10:44 +0000] "GET /basicnf-owner/k8sregion/infra_workload?name=basic_cnf-6d707394-508d-4f44-a70c-709d45c99c16 HTTP/1.1" 200 114 {"Body":{},"Payload":{"generic-vnf-id":"fc6d9319-1d65-4928-a793-2fc05f634bed","vf-module-id":"18984370-23e6-48d5-95d5-081180ea70f8","vf-module-model-invariant-id":"8e3feb29-63d9-4afc-b968-42a970fa01b0","vf-module-model-version-id":"9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff","vf-module-model-customization-id":"42144215-0d37-4dcc-b685-380424544c73","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-6d707394-508d-4f44-a70c-709d45c99c16"}},"level":"info","msg":"Broker API Payload","time":"2021-06-09T12:10:44Z"} {"level":"info","msg":"Instance API Payload","payload":{"rb-name":"8e3feb29-63d9-4afc-b968-42a970fa01b0","rb-version":"9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff","profile-name":"cnftest","release-name":"18984370-23e6-48d5-95d5-081180ea70f8","cloud-region":"k8sregion","labels":{"stack-name":"basic_cnf-6d707394-508d-4f44-a70c-709d45c99c16"},"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-06-09T12:10:44Z"} {"level":"info","msg":"Creating Namespace","namespace":"k8s","time":"2021-06-09T12:10:45Z"} 2021/06/09 12:10:45 Namespace (k8s) created {"filepath":"/tmp/helm-tmpl-242420226/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-09T12:10:45Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2021-06-09T12:10:45Z"} {"filepath":"/tmp/helm-tmpl-242420226/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-09T12:10:45Z"} 2021/06/09 12:10:45 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-06-09T12:10:45Z"} {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_borg","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-06-09T12:10:45Z"} 10.233.70.7 - - [09/Jun/2021:12:10:44 +0000] "POST /basicnf-owner/k8sregion/infra_workload HTTP/1.1" 201 301 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_borg","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-06-09T12:10:46Z"} 10.233.70.7 - - [09/Jun/2021:12:10:46 +0000] "GET /basicnf-owner/k8sregion/infra_workload/elegant_borg HTTP/1.1" 200 120 10.233.70.7 - - [09/Jun/2021:12:10:46 +0000] "POST /basicnf-owner/k8sregion/infra_workload/elegant_borg HTTP/1.1" 405 0 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_borg","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-06-09T12:11:17Z"} 10.233.70.7 - - [09/Jun/2021:12:11:17 +0000] "GET /basicnf-owner/k8sregion/infra_workload/elegant_borg HTTP/1.1" 200 120 {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-06-09T12:11:18Z"} 2021/06/09 12:11:18 Deleting service: cnftest-nginx {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-06-09T12:11:18Z"} 2021/06/09 12:11:18 No plugin for kind Deployment found. Using generic Plugin 2021/06/09 12:11:18 Deleted Obj with ID ObjectID("60c0afc5ab823ea717efa89a") 10.233.70.7 - - [09/Jun/2021:12:11:18 +0000] "DELETE /basicnf-owner/k8sregion/infra_workload/elegant_borg HTTP/1.1" 202 120 2021/06/09 12:11:18 Deleted Obj with ID ObjectID("60c0afc5dc13c6784a839b74") {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_borg","workload_status":"DELETE_COMPLETE","workload_status_reason":null},"time":"2021-06-09T12:11:18Z"} 10.233.70.7 - - [09/Jun/2021:12:11:27 +0000] "GET /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff HTTP/1.1" 200 216 10.233.70.7 - - [09/Jun/2021:12:11:27 +0000] "GET /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/profile/cnftest HTTP/1.1" 200 212 2021/06/09 12:11:27 Deleted Obj with ID ObjectID("60c0afadab823ea717efa898") 2021/06/09 12:11:27 Deleted Obj with ID ObjectID("60c0afadab823ea717efa899") 2021/06/09 12:11:27 Deleted Obj with ID ObjectID("60c0afaddc13c6784a839b46") 10.233.70.7 - - [09/Jun/2021:12:11:27 +0000] "DELETE /v1/rb/definition/8e3feb29-63d9-4afc-b968-42a970fa01b0/9be8b3f2-0e06-4d3e-99a6-db7b0eea43ff/profile/cnftest HTTP/1.1" 204 0 10.233.70.7 - - [09/Jun/2021:12:12:20 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7565 2021/06/09 12:12:20 Deleted Obj with ID ObjectID("60c0ad02ab823ea717efa881") 2021/06/09 12:12:20 Deleted Obj with ID ObjectID("60c0ad02dc13c6784a839921") 10.233.70.7 - - [09/Jun/2021:12:12:20 +0000] "DELETE /v1/connectivity-info/k8sregion HTTP/1.1" 204 0