2021/08/13 06:26:13 Starting Kubernetes Multicloud API 2021/08/13 06:26:13 Error Getting TLS Configuration. Starting without TLS... 10.233.65.83 - - [13/Aug/2021:09:45:18 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [13/Aug/2021:09:48:47 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [13/Aug/2021:09:53:47 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.65.83 - - [13/Aug/2021:10:10:43 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74 10.233.65.83 - - [13/Aug/2021:10:10:43 +0000] "POST /v1/connectivity-info HTTP/1.1" 201 7561 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7561 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "POST /v1/rb/definition HTTP/1.1" 201 125 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "GET /v1/rb/definition/pnf-cnf-rb-5793475e-7911-4a70-b0c9-66c9644db919/v1 HTTP/1.1" 200 125 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "POST /v1/rb/definition/pnf-cnf-rb-5793475e-7911-4a70-b0c9-66c9644db919/v1/content HTTP/1.1" 200 0 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "GET /v1/rb/definition/pnf-cnf-rb-5793475e-7911-4a70-b0c9-66c9644db919/v1 HTTP/1.1" 200 138 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "POST /v1/rb/definition/pnf-cnf-rb-5793475e-7911-4a70-b0c9-66c9644db919/v1/profile HTTP/1.1" 201 286 10.233.65.83 - - [13/Aug/2021:10:10:44 +0000] "GET /v1/rb/definition/pnf-cnf-rb-5793475e-7911-4a70-b0c9-66c9644db919/v1/profile/pnf-cnf-profile-b397a90a-4f0d-458b-80f0-4bdd295ddb94 HTTP/1.1" 200 286 10.233.65.83 - - [13/Aug/2021:10:10:45 +0000] "POST /v1/rb/definition/pnf-cnf-rb-5793475e-7911-4a70-b0c9-66c9644db919/v1/profile/pnf-cnf-profile-b397a90a-4f0d-458b-80f0-4bdd295ddb94/content HTTP/1.1" 200 0 2021/08/13 10:10:45 Error reading name cache from Database: Error finding master table: mongo: no documents in result 2021/08/13 10:10:45 Error Reading from DB: Reading cache from DB: Error finding master table: mongo: no documents in result {"level":"info","msg":"Creating Namespace","namespace":"onap-tests","time":"2021-08-13T10:10:45Z"} 2021/08/13 10:10:45 Namespace (onap-tests) created {"filepath":"/tmp/helm-tmpl-866744141/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-08-13T10:10:45Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator-mongo","time":"2021-08-13T10:10:45Z"} {"filepath":"/tmp/helm-tmpl-866744141/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-08-13T10:10:45Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator","time":"2021-08-13T10:10:46Z"} {"filepath":"/tmp/helm-tmpl-866744141/manifest-2","level":"info","msg":"Processing Kubernetes Resource","time":"2021-08-13T10:10:46Z"} 2021/08/13 10:10:46 No plugin for kind Pod found. Using generic Plugin 2021/08/13 10:10:46 Error converting template to map {"gvk":{"Group":"","Version":"v1","Kind":"Pod"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator","time":"2021-08-13T10:10:47Z"} {"filepath":"/tmp/helm-tmpl-866744141/manifest-3","level":"info","msg":"Processing Kubernetes Resource","time":"2021-08-13T10:10:47Z"} 2021/08/13 10:10:47 No plugin for kind Deployment found. Using generic Plugin 10.233.65.83 - - [13/Aug/2021:10:10:45 +0000] "POST /v1/instance HTTP/1.1" 201 729 {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-macro-test-simulator-mongo","time":"2021-08-13T10:10:47Z"} 127.0.0.1 - - [13/Aug/2021:10:10:56 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.65.83 - - [13/Aug/2021:10:11:29 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7561 127.0.0.1 - - [13/Aug/2021:10:11:41 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [13/Aug/2021:10:11:41 +0000] "POST /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/content HTTP/1.1" 200 0 127.0.0.1 - - [13/Aug/2021:10:14:09 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.65.83 - - [13/Aug/2021:10:17:08 +0000] "GET /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a HTTP/1.1" 200 216 10.233.65.83 - - [13/Aug/2021:10:17:08 +0000] "GET /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/profile/cnftest HTTP/1.1" 404 87 10.233.65.83 - - [13/Aug/2021:10:17:08 +0000] "POST /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/profile HTTP/1.1" 201 212 10.233.65.83 - - [13/Aug/2021:10:17:08 +0000] "GET /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/profile/cnftest HTTP/1.1" 200 212 10.233.65.83 - - [13/Aug/2021:10:17:08 +0000] "POST /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/profile/cnftest/content HTTP/1.1" 200 0 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 Did not find tag: instance 2021/08/13 10:17:42 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-08-13T10:17:42Z"} 10.233.65.83 - - [13/Aug/2021:10:17:42 +0000] "GET /basicnf-owner/k8sregion/infra_workload?name=basic_cnf-1e9f6233-d44b-486b-9e63-ace2e2282dc5 HTTP/1.1" 200 114 {"Body":{},"Payload":{"generic-vnf-id":"b21d1442-755f-4886-b4f0-5c1db60b4e36","vf-module-id":"7b77e3b5-1eaf-4282-9f37-fa8eed8c886b","vf-module-model-invariant-id":"2356a32a-a118-48b2-80ce-90211188a8c8","vf-module-model-version-id":"1139cc69-8f56-4fbf-be1d-1f4da7964e8a","vf-module-model-customization-id":"126ae1fa-cd47-4029-8b39-8a5557e40dea","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-1e9f6233-d44b-486b-9e63-ace2e2282dc5"}},"level":"info","msg":"Broker API Payload","time":"2021-08-13T10:17:42Z"} {"level":"info","msg":"Instance API Payload","payload":{"rb-name":"2356a32a-a118-48b2-80ce-90211188a8c8","rb-version":"1139cc69-8f56-4fbf-be1d-1f4da7964e8a","profile-name":"cnftest","release-name":"7b77e3b5-1eaf-4282-9f37-fa8eed8c886b","cloud-region":"k8sregion","labels":{"stack-name":"basic_cnf-1e9f6233-d44b-486b-9e63-ace2e2282dc5"},"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-08-13T10:17:42Z"} {"level":"info","msg":"Creating Namespace","namespace":"k8s","time":"2021-08-13T10:17:43Z"} 2021/08/13 10:17:43 Namespace (k8s) created {"filepath":"/tmp/helm-tmpl-909437765/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-08-13T10:17:43Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2021-08-13T10:17:43Z"} {"filepath":"/tmp/helm-tmpl-909437765/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-08-13T10:17:43Z"} 2021/08/13 10:17:43 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-08-13T10:17:43Z"} {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_poitras","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-08-13T10:17:43Z"} 10.233.65.83 - - [13/Aug/2021:10:17:42 +0000] "POST /basicnf-owner/k8sregion/infra_workload HTTP/1.1" 201 302 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_poitras","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-08-13T10:17:44Z"} 10.233.65.83 - - [13/Aug/2021:10:17:44 +0000] "GET /basicnf-owner/k8sregion/infra_workload/brave_poitras HTTP/1.1" 200 121 10.233.65.83 - - [13/Aug/2021:10:17:44 +0000] "POST /basicnf-owner/k8sregion/infra_workload/brave_poitras HTTP/1.1" 405 0 10.233.65.83 - - [13/Aug/2021:10:18:10 +0000] "GET /basicnf-owner/k8sregion/infra_workload/brave_poitras HTTP/1.1" 200 121 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_poitras","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-08-13T10:18:10Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-08-13T10:18:10Z"} 2021/08/13 10:18:10 Deleting service: cnftest-nginx {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-08-13T10:18:10Z"} 2021/08/13 10:18:10 No plugin for kind Deployment found. Using generic Plugin 2021/08/13 10:18:11 Deleted Obj with ID ObjectID("611646c771eb3ed051dc957c") 2021/08/13 10:18:11 Deleted Obj with ID ObjectID("611646c7b75d82a82ba6ae39") {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"brave_poitras","workload_status":"DELETE_COMPLETE","workload_status_reason":null},"time":"2021-08-13T10:18:11Z"} 10.233.65.83 - - [13/Aug/2021:10:18:10 +0000] "DELETE /basicnf-owner/k8sregion/infra_workload/brave_poitras HTTP/1.1" 202 121 10.233.65.83 - - [13/Aug/2021:10:18:30 +0000] "GET /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a HTTP/1.1" 200 216 10.233.65.83 - - [13/Aug/2021:10:18:30 +0000] "GET /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/profile/cnftest HTTP/1.1" 200 212 2021/08/13 10:18:30 Deleted Obj with ID ObjectID("611646a471eb3ed051dc957a") 2021/08/13 10:18:30 Deleted Obj with ID ObjectID("611646a471eb3ed051dc957b") 2021/08/13 10:18:30 Deleted Obj with ID ObjectID("611646a4b75d82a82ba6ae09") 10.233.65.83 - - [13/Aug/2021:10:18:30 +0000] "DELETE /v1/rb/definition/2356a32a-a118-48b2-80ce-90211188a8c8/1139cc69-8f56-4fbf-be1d-1f4da7964e8a/profile/cnftest HTTP/1.1" 204 0 10.233.65.83 - - [13/Aug/2021:10:19:39 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7561 2021/08/13 10:19:39 Deleted Obj with ID ObjectID("6116452371eb3ed051dc9565") 10.233.65.83 - - [13/Aug/2021:10:19:39 +0000] "DELETE /v1/connectivity-info/k8sregion HTTP/1.1" 204 0 2021/08/13 10:19:39 Deleted Obj with ID ObjectID("61164524b75d82a82ba6aca4")