2022/02/04 13:47:51 Starting Kubernetes Multicloud API 2022/02/04 13:47:51 Error Getting TLS Configuration. Starting without TLS... 127.0.0.1 - - [04/Feb/2022:15:37:47 +0000] "POST /v1/rb/definition HTTP/1.1" 201 278 127.0.0.1 - - [04/Feb/2022:15:44:08 +0000] "POST /v1/rb/definition HTTP/1.1" 201 270 127.0.0.1 - - [04/Feb/2022:15:44:21 +0000] "POST /v1/rb/definition HTTP/1.1" 201 267 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "POST /v1/connectivity-info HTTP/1.1" 201 7569 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "POST /v1/rb/definition HTTP/1.1" 201 125 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "GET /v1/rb/definition/pnf-cnf-rb-394d1955-61db-4c6d-a2cb-63880099436e/v1 HTTP/1.1" 200 125 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "POST /v1/rb/definition/pnf-cnf-rb-394d1955-61db-4c6d-a2cb-63880099436e/v1/content HTTP/1.1" 200 0 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "GET /v1/rb/definition/pnf-cnf-rb-394d1955-61db-4c6d-a2cb-63880099436e/v1 HTTP/1.1" 200 138 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "POST /v1/rb/definition/pnf-cnf-rb-394d1955-61db-4c6d-a2cb-63880099436e/v1/profile HTTP/1.1" 201 308 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "GET /v1/rb/definition/pnf-cnf-rb-394d1955-61db-4c6d-a2cb-63880099436e/v1/profile/pnf-cnf-profile-1cfce2ce-edd7-4ac8-824e-5992265b59cb HTTP/1.1" 200 308 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "POST /v1/rb/definition/pnf-cnf-rb-394d1955-61db-4c6d-a2cb-63880099436e/v1/profile/pnf-cnf-profile-1cfce2ce-edd7-4ac8-824e-5992265b59cb/content HTTP/1.1" 200 0 2022/02/04 15:46:59 Error reading name cache from Database: Error finding master table: mongo: no documents in result 2022/02/04 15:46:59 Error Reading from DB: Reading cache from DB: Error finding master table: mongo: no documents in result 2022/02/04 15:46:59 Main rss info 2022/02/04 15:46:59 Path: /tmp/helm-tmpl-287160620/manifest-0 2022/02/04 15:46:59 Kind: Service 2022/02/04 15:46:59 Path: /tmp/helm-tmpl-287160620/manifest-1 2022/02/04 15:46:59 Kind: Service 2022/02/04 15:46:59 Path: /tmp/helm-tmpl-287160620/manifest-2 2022/02/04 15:46:59 Kind: Pod 2022/02/04 15:46:59 Path: /tmp/helm-tmpl-287160620/manifest-3 2022/02/04 15:46:59 Kind: Deployment 2022/02/04 15:46:59 Crd rss info 2022/02/04 15:46:59 Hook info {"filepath":"/tmp/helm-tmpl-287160620/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2022-02-04T15:46:59Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator-mongo","time":"2022-02-04T15:46:59Z"} {"filepath":"/tmp/helm-tmpl-287160620/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2022-02-04T15:46:59Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator","time":"2022-02-04T15:47:00Z"} {"filepath":"/tmp/helm-tmpl-287160620/manifest-2","level":"info","msg":"Processing Kubernetes Resource","time":"2022-02-04T15:47:00Z"} 2022/02/04 15:47:00 No plugin for kind Pod found. Using generic Plugin 2022/02/04 15:47:00 Error converting template to map {"gvk":{"Group":"","Version":"v1","Kind":"Pod"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator","time":"2022-02-04T15:47:00Z"} {"filepath":"/tmp/helm-tmpl-287160620/manifest-3","level":"info","msg":"Processing Kubernetes Resource","time":"2022-02-04T15:47:00Z"} 2022/02/04 15:47:00 No plugin for kind Deployment found. Using generic Plugin {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator-mongo","time":"2022-02-04T15:47:00Z"} 10.233.75.226 - - [04/Feb/2022:15:46:59 +0000] "POST /v1/instance HTTP/1.1" 201 728 10.233.75.226 - - [04/Feb/2022:15:47:44 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 127.0.0.1 - - [04/Feb/2022:15:47:56 +0000] "POST /v1/rb/definition HTTP/1.1" 201 265 127.0.0.1 - - [04/Feb/2022:15:47:56 +0000] "POST /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/content HTTP/1.1" 200 0 10.233.75.226 - - [04/Feb/2022:15:52:15 +0000] "GET /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8 HTTP/1.1" 200 270 10.233.75.226 - - [04/Feb/2022:15:52:15 +0000] "GET /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/profile/cnftest HTTP/1.1" 404 87 10.233.75.226 - - [04/Feb/2022:15:52:15 +0000] "POST /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/profile HTTP/1.1" 201 240 10.233.75.226 - - [04/Feb/2022:15:52:15 +0000] "GET /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/profile/cnftest HTTP/1.1" 200 240 10.233.75.226 - - [04/Feb/2022:15:52:15 +0000] "POST /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/profile/cnftest/content HTTP/1.1" 200 0 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"","workload_status":"GET_COMPLETE","workload_status_reason":{"stacks":[]}},"time":"2022-02-04T15:52:24Z"} 10.233.75.226 - - [04/Feb/2022:15:52:24 +0000] "GET /basicnf-owner/k8sregion/infra_workload?name=basic_cnf-0e43ca8c-0a45-43a1-8217-957fa7ec8582 HTTP/1.1" 200 114 {"Body":{},"Payload":{"generic-vnf-id":"ff881547-fc89-4494-8bf4-c0b9cf6172f0","vf-module-id":"1708dcfa-e7d4-4fee-a05c-faa5c3a89a8f","vf-module-model-invariant-id":"05d68a8e-9b75-47a4-b32f-e0ef0500866c","vf-module-model-version-id":"24053efe-7968-43d4-b60a-a8a7afdc886a","vf-module-model-customization-id":"a65418d1-1425-4cde-acaf-ba319f1ef1c8","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-0e43ca8c-0a45-43a1-8217-957fa7ec8582"}},"level":"info","msg":"Broker API Payload","time":"2022-02-04T15:52:25Z"} {"level":"info","msg":"Instance API Payload","payload":{"rb-name":"05d68a8e-9b75-47a4-b32f-e0ef0500866c","rb-version":"a65418d1-1425-4cde-acaf-ba319f1ef1c8","profile-name":"cnftest","release-name":"1708dcfa-e7d4-4fee-a05c-faa5c3a89a8f","cloud-region":"k8sregion","labels":{"stack-name":"basic_cnf-0e43ca8c-0a45-43a1-8217-957fa7ec8582"},"override-values":{"availability_zone_0":"basicnf-availability-zone","dummy_name_0":"dummy_name","k8s-rb-profile-name":"cnftest","k8s-rb-profile-namespace":"k8s"}},"time":"2022-02-04T15:52:25Z"} 2022/02/04 15:52:25 Main rss info 2022/02/04 15:52:25 Path: /tmp/helm-tmpl-075544523/manifest-0 2022/02/04 15:52:25 Kind: Service 2022/02/04 15:52:25 Path: /tmp/helm-tmpl-075544523/manifest-1 2022/02/04 15:52:25 Kind: Deployment 2022/02/04 15:52:25 Crd rss info 2022/02/04 15:52:25 Hook info {"level":"info","msg":"Creating Namespace","namespace":"k8s","time":"2022-02-04T15:52:25Z"} 2022/02/04 15:52:25 Namespace (k8s) created {"filepath":"/tmp/helm-tmpl-075544523/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2022-02-04T15:52:25Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2022-02-04T15:52:25Z"} {"filepath":"/tmp/helm-tmpl-075544523/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2022-02-04T15:52:25Z"} 2022/02/04 15:52:25 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":"2022-02-04T15:52:25Z"} 10.233.75.226 - - [04/Feb/2022:15:52:25 +0000] "POST /basicnf-owner/k8sregion/infra_workload HTTP/1.1" 201 301 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_banzai","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":"2022-02-04T15:52:25Z"} {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_banzai","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2022-02-04T15:52:25Z"} 10.233.75.226 - - [04/Feb/2022:15:52:25 +0000] "GET /basicnf-owner/k8sregion/infra_workload/brave_banzai HTTP/1.1" 200 120 10.233.75.226 - - [04/Feb/2022:15:52:26 +0000] "POST /basicnf-owner/k8sregion/infra_workload/brave_banzai HTTP/1.1" 405 0 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_banzai","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2022-02-04T15:52:56Z"} 10.233.75.226 - - [04/Feb/2022:15:52:56 +0000] "GET /basicnf-owner/k8sregion/infra_workload/brave_banzai HTTP/1.1" 200 120 2022/02/04 15:52:56 [Config Cleanup] Instance brave_banzai 2022/02/04 15:52:56 [scheduleResources]: START thread 2022/02/04 15:53:02 Stop config thread for brave_banzai {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2022-02-04T15:53:02Z"} 2022/02/04 15:53:02 No plugin for kind Deployment found. Using generic Plugin 2022/02/04 15:53:02 [scheduleResources]: STOP thread {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2022-02-04T15:53:02Z"} 2022/02/04 15:53:02 Deleting service: cnftest-nginx 2022/02/04 15:53:02 Deleted Obj with ID ObjectID("61fd4bb99b02e7da97ce5605") 2022/02/04 15:53:02 Deleted Obj with ID ObjectID("61fd4bb99b4a92a61c89a2a6") 10.233.75.226 - - [04/Feb/2022:15:52:56 +0000] "DELETE /basicnf-owner/k8sregion/infra_workload/brave_banzai HTTP/1.1" 202 120 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_banzai","workload_status":"DELETE_COMPLETE","workload_status_reason":null},"time":"2022-02-04T15:53:02Z"} 10.233.75.226 - - [04/Feb/2022:15:53:14 +0000] "GET /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8 HTTP/1.1" 200 270 10.233.75.226 - - [04/Feb/2022:15:53:14 +0000] "GET /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/profile/cnftest HTTP/1.1" 200 240 2022/02/04 15:53:14 Deleted Obj with ID ObjectID("61fd4baf9b02e7da97ce5603") 2022/02/04 15:53:14 Deleted Obj with ID ObjectID("61fd4baf9b02e7da97ce5604") 2022/02/04 15:53:14 Deleted Obj with ID ObjectID("61fd4baf9b4a92a61c89a283") 10.233.75.226 - - [04/Feb/2022:15:53:14 +0000] "DELETE /v1/rb/definition/05d68a8e-9b75-47a4-b32f-e0ef0500866c/a65418d1-1425-4cde-acaf-ba319f1ef1c8/profile/cnftest HTTP/1.1" 204 0 10.233.75.226 - - [04/Feb/2022:15:53:42 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7569 2022/02/04 15:53:42 Deleted Obj with ID ObjectID("61fd4a739b02e7da97ce55f4") 2022/02/04 15:53:42 Deleted Obj with ID ObjectID("61fd4a739b4a92a61c89a162") 10.233.75.226 - - [04/Feb/2022:15:53:42 +0000] "DELETE /v1/connectivity-info/k8sregion HTTP/1.1" 204 0 {"error":"Getting CloudRegion Information: Get kubeconfig file: Downloading kubeconfig: Getting Connection info: Get Connection: Error finding master table: mongo: no documents in result","level":"error","msg":"Error Deleting Instance","time":"2022-02-04T15:54:52Z"} 10.233.75.226 - - [04/Feb/2022:15:54:52 +0000] "DELETE /v1/instance/cranky_goodall HTTP/1.1" 500 177