2021/06/14 09:59:44 Starting Kubernetes Multicloud API 2021/06/14 09:59:44 Error Getting TLS Configuration. Starting without TLS... 10.233.70.216 - - [14/Jun/2021:11:49:05 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [14/Jun/2021:11:50:56 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [14/Jun/2021:11:51:15 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.70.216 - - [14/Jun/2021:11:51:25 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:11:53:03 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:11:54:39 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:11:56:23 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:11:57:40 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:11:59:45 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74 10.233.70.216 - - [14/Jun/2021:11:59:45 +0000] "POST /v1/connectivity-info HTTP/1.1" 201 7569 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "POST /v1/rb/definition HTTP/1.1" 201 125 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "GET /v1/rb/definition/pnf-cnf-rb-f3dfa953-c599-4c6b-9bb2-8d8b7fd6bd96/v1 HTTP/1.1" 200 125 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "POST /v1/rb/definition/pnf-cnf-rb-f3dfa953-c599-4c6b-9bb2-8d8b7fd6bd96/v1/content HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "GET /v1/rb/definition/pnf-cnf-rb-f3dfa953-c599-4c6b-9bb2-8d8b7fd6bd96/v1 HTTP/1.1" 200 138 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "POST /v1/rb/definition/pnf-cnf-rb-f3dfa953-c599-4c6b-9bb2-8d8b7fd6bd96/v1/profile HTTP/1.1" 201 280 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "GET /v1/rb/definition/pnf-cnf-rb-f3dfa953-c599-4c6b-9bb2-8d8b7fd6bd96/v1/profile/pnf-cnf-profile-43c584ff-84d8-4812-9b9c-aea3ba4daf6b HTTP/1.1" 200 280 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "POST /v1/rb/definition/pnf-cnf-rb-f3dfa953-c599-4c6b-9bb2-8d8b7fd6bd96/v1/profile/pnf-cnf-profile-43c584ff-84d8-4812-9b9c-aea3ba4daf6b/content HTTP/1.1" 200 0 2021/06/14 11:59:46 Error reading name cache from Database: Error finding master table: mongo: no documents in result 2021/06/14 11:59:46 Error Reading from DB: Reading cache from DB: Error finding master table: mongo: no documents in result {"filepath":"/tmp/helm-tmpl-733043091/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-14T11:59:48Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-simulator-mongo","time":"2021-06-14T11:59:48Z"} {"filepath":"/tmp/helm-tmpl-733043091/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-14T11:59:48Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-simulator","time":"2021-06-14T11:59:48Z"} {"filepath":"/tmp/helm-tmpl-733043091/manifest-2","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-14T11:59:48Z"} 2021/06/14 11:59:48 No plugin for kind Pod found. Using generic Plugin 2021/06/14 11:59:48 Error converting template to map {"gvk":{"Group":"","Version":"v1","Kind":"Pod"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-simulator","time":"2021-06-14T11:59:49Z"} {"filepath":"/tmp/helm-tmpl-733043091/manifest-3","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-14T11:59:49Z"} 2021/06/14 11:59:49 No plugin for kind Deployment found. Using generic Plugin {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-simulator-mongo","time":"2021-06-14T11:59:49Z"} 10.233.70.216 - - [14/Jun/2021:11:59:46 +0000] "POST /v1/instance HTTP/1.1" 201 681 10.233.70.216 - - [14/Jun/2021:12:01:39 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [14/Jun/2021:12:03:15 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [14/Jun/2021:12:03:34 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.70.216 - - [14/Jun/2021:12:03:36 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 127.0.0.1 - - [14/Jun/2021:12:03:54 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [14/Jun/2021:12:04:15 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [14/Jun/2021:12:04:15 +0000] "POST /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/content HTTP/1.1" 200 0 10.233.70.216 - - [14/Jun/2021:12:11:36 +0000] "GET /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd HTTP/1.1" 200 216 10.233.70.216 - - [14/Jun/2021:12:11:37 +0000] "GET /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/profile/cnftest HTTP/1.1" 404 87 10.233.70.216 - - [14/Jun/2021:12:11:37 +0000] "POST /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/profile HTTP/1.1" 201 212 10.233.70.216 - - [14/Jun/2021:12:11:37 +0000] "GET /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/profile/cnftest HTTP/1.1" 200 212 10.233.70.216 - - [14/Jun/2021:12:11:37 +0000] "POST /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/profile/cnftest/content HTTP/1.1" 200 0 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 Did not find tag: instance 2021/06/14 12:11:57 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-14T12:11:57Z"} 10.233.70.216 - - [14/Jun/2021:12:11:57 +0000] "GET /basicnf-owner/k8sregion/infra_workload?name=basic_cnf-62c810e4-c346-4eb6-a46f-faca94100917 HTTP/1.1" 200 114 {"Body":{},"Payload":{"generic-vnf-id":"6126d468-edd4-4425-8ddd-cd735657d5a1","vf-module-id":"a5bf5972-e2bb-49f9-9100-6d540b26c233","vf-module-model-invariant-id":"77f34651-89ea-4bbd-96f6-e69b2fa21d48","vf-module-model-version-id":"fe96071f-99dd-4032-ac9e-4c017598cacd","vf-module-model-customization-id":"5a78d104-2732-4584-bd8d-ded38628458e","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-62c810e4-c346-4eb6-a46f-faca94100917"}},"level":"info","msg":"Broker API Payload","time":"2021-06-14T12:11:57Z"} {"level":"info","msg":"Instance API Payload","payload":{"rb-name":"77f34651-89ea-4bbd-96f6-e69b2fa21d48","rb-version":"fe96071f-99dd-4032-ac9e-4c017598cacd","profile-name":"cnftest","release-name":"a5bf5972-e2bb-49f9-9100-6d540b26c233","cloud-region":"k8sregion","labels":{"stack-name":"basic_cnf-62c810e4-c346-4eb6-a46f-faca94100917"},"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-14T12:11:57Z"} {"level":"info","msg":"Creating Namespace","namespace":"k8s","time":"2021-06-14T12:11:57Z"} 2021/06/14 12:11:57 Namespace (k8s) created {"filepath":"/tmp/helm-tmpl-432322478/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-14T12:11:57Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2021-06-14T12:11:57Z"} {"filepath":"/tmp/helm-tmpl-432322478/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-06-14T12:11:57Z"} 2021/06/14 12:11:57 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-14T12:11:58Z"} {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_sanderson","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-14T12:11:58Z"} 10.233.70.216 - - [14/Jun/2021:12:11:57 +0000] "POST /basicnf-owner/k8sregion/infra_workload HTTP/1.1" 201 306 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_sanderson","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-06-14T12:11:58Z"} 10.233.70.216 - - [14/Jun/2021:12:11:58 +0000] "GET /basicnf-owner/k8sregion/infra_workload/elegant_sanderson HTTP/1.1" 200 125 10.233.70.216 - - [14/Jun/2021:12:11:58 +0000] "POST /basicnf-owner/k8sregion/infra_workload/elegant_sanderson HTTP/1.1" 405 0 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_sanderson","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-06-14T12:12:34Z"} 10.233.70.216 - - [14/Jun/2021:12:12:34 +0000] "GET /basicnf-owner/k8sregion/infra_workload/elegant_sanderson HTTP/1.1" 200 125 {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-06-14T12:12:34Z"} 2021/06/14 12:12:34 Deleting service: cnftest-nginx {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-06-14T12:12:34Z"} 2021/06/14 12:12:34 No plugin for kind Deployment found. Using generic Plugin 2021/06/14 12:12:34 Deleted Obj with ID ObjectID("60c7478ef908266502752bd2") 10.233.70.216 - - [14/Jun/2021:12:12:34 +0000] "DELETE /basicnf-owner/k8sregion/infra_workload/elegant_sanderson HTTP/1.1" 202 125 2021/06/14 12:12:34 Deleted Obj with ID ObjectID("60c7478e9c6e55f35fd5aca0") {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"elegant_sanderson","workload_status":"DELETE_COMPLETE","workload_status_reason":null},"time":"2021-06-14T12:12:34Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"pnf-simulator-mongo","time":"2021-06-14T12:12:36Z"} 2021/06/14 12:12:36 Deleting service: pnf-simulator-mongo {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"pnf-simulator","time":"2021-06-14T12:12:36Z"} 2021/06/14 12:12:36 Deleting service: pnf-simulator {"gvk":{"Group":"","Version":"v1","Kind":"Pod"},"level":"warning","msg":"Deleting Resource","resource":"pnf-simulator","time":"2021-06-14T12:12:36Z"} 2021/06/14 12:12:36 No plugin for kind Pod found. Using generic Plugin {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"pnf-simulator-mongo","time":"2021-06-14T12:12:36Z"} 2021/06/14 12:12:36 No plugin for kind Deployment found. Using generic Plugin 2021/06/14 12:12:36 Deleted Obj with ID ObjectID("60c744b5f908266502752bc1") 2021/06/14 12:12:36 Deleted Obj with ID ObjectID("60c744b59c6e55f35fd5aa7e") 10.233.70.216 - - [14/Jun/2021:12:12:36 +0000] "DELETE /v1/instance/cranky_bohr HTTP/1.1" 202 0 10.233.70.216 - - [14/Jun/2021:12:12:36 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 2021/06/14 12:12:36 Deleted Obj with ID ObjectID("60c744b1f908266502752bb8") 10.233.70.216 - - [14/Jun/2021:12:12:36 +0000] "DELETE /v1/connectivity-info/k8sregion HTTP/1.1" 204 0 2021/06/14 12:12:36 Deleted Obj with ID ObjectID("60c744b29c6e55f35fd5aa3b") 10.233.70.216 - - [14/Jun/2021:12:12:56 +0000] "GET /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd HTTP/1.1" 200 216 10.233.70.216 - - [14/Jun/2021:12:12:56 +0000] "GET /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/profile/cnftest HTTP/1.1" 200 212 2021/06/14 12:12:56 Deleted Obj with ID ObjectID("60c74779f908266502752bd0") 2021/06/14 12:12:56 Deleted Obj with ID ObjectID("60c74779f908266502752bd1") 10.233.70.216 - - [14/Jun/2021:12:12:56 +0000] "DELETE /v1/rb/definition/77f34651-89ea-4bbd-96f6-e69b2fa21d48/fe96071f-99dd-4032-ac9e-4c017598cacd/profile/cnftest HTTP/1.1" 204 0 2021/06/14 12:12:56 Deleted Obj with ID ObjectID("60c747799c6e55f35fd5ac72") 10.233.70.216 - - [14/Jun/2021:12:13:30 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74