2021/05/30 23:02:29 Starting Kubernetes Multicloud API 2021/05/30 23:02:29 Error Getting TLS Configuration. Starting without TLS... 10.233.77.89 - - [31/May/2021:01:13:32 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.77.89 - - [31/May/2021:01:15:52 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 127.0.0.1 - - [31/May/2021:01:16:49 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.77.89 - - [31/May/2021:01:17:30 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.77.89 - - [31/May/2021:01:20:15 +0000] "GET /v1/healthcheck HTTP/1.1" 200 0 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 500 74 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "POST /v1/connectivity-info HTTP/1.1" 201 7565 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7565 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "POST /v1/rb/definition HTTP/1.1" 201 125 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "GET /v1/rb/definition/pnf-cnf-rb-8ae3f39d-b459-4415-91f5-550c96652c8b/v1 HTTP/1.1" 200 125 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "POST /v1/rb/definition/pnf-cnf-rb-8ae3f39d-b459-4415-91f5-550c96652c8b/v1/content HTTP/1.1" 200 0 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "GET /v1/rb/definition/pnf-cnf-rb-8ae3f39d-b459-4415-91f5-550c96652c8b/v1 HTTP/1.1" 200 138 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "POST /v1/rb/definition/pnf-cnf-rb-8ae3f39d-b459-4415-91f5-550c96652c8b/v1/profile HTTP/1.1" 201 280 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "GET /v1/rb/definition/pnf-cnf-rb-8ae3f39d-b459-4415-91f5-550c96652c8b/v1/profile/pnf-cnf-profile-1065efc7-e86e-4653-9499-6ee87e0162e9 HTTP/1.1" 200 280 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "POST /v1/rb/definition/pnf-cnf-rb-8ae3f39d-b459-4415-91f5-550c96652c8b/v1/profile/pnf-cnf-profile-1065efc7-e86e-4653-9499-6ee87e0162e9/content HTTP/1.1" 200 0 2021/05/31 01:27:52 Error reading name cache from Database: Error finding master table: mongo: no documents in result 2021/05/31 01:27:52 Error Reading from DB: Reading cache from DB: Error finding master table: mongo: no documents in result {"filepath":"/tmp/helm-tmpl-718985592/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-31T01:27:53Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"pnf-simulator-mongo","time":"2021-05-31T01:27:53Z"} {"filepath":"/tmp/helm-tmpl-718985592/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-31T01:27:53Z"} 10.233.77.89 - - [31/May/2021:01:27:52 +0000] "POST /v1/instance HTTP/1.1" 500 163 {"error":"Create Service error: services \"pnf-simulator\" already exists","filepath":"/tmp/helm-tmpl-718985592/manifest-1","gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"error","msg":"Error Creating Resource","time":"2021-05-31T01:27:53Z"} {"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-8ae3f39d-b459-4415-91f5-550c96652c8b","rb-version":"v1","profile-name":"pnf-cnf-profile-1065efc7-e86e-4653-9499-6ee87e0162e9","release-name":"","cloud-region":"k8sregion","labels":{},"override-values":{}},"time":"2021-05-31T01:27:53Z"} 127.0.0.1 - - [31/May/2021:01:29:30 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [31/May/2021:01:29:49 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [31/May/2021:01:30:09 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 10.233.77.89 - - [31/May/2021:01:33:17 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7565 127.0.0.1 - - [31/May/2021:01:33:31 +0000] "POST /v1/rb/definition HTTP/1.1" 201 211 127.0.0.1 - - [31/May/2021:01:33:31 +0000] "POST /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/content HTTP/1.1" 200 0 10.233.77.89 - - [31/May/2021:01:38:10 +0000] "GET /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec HTTP/1.1" 200 216 10.233.77.89 - - [31/May/2021:01:38:10 +0000] "GET /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/profile/cnftest HTTP/1.1" 404 87 10.233.77.89 - - [31/May/2021:01:38:10 +0000] "POST /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/profile HTTP/1.1" 201 212 10.233.77.89 - - [31/May/2021:01:38:10 +0000] "GET /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/profile/cnftest HTTP/1.1" 200 212 10.233.77.89 - - [31/May/2021:01:38:10 +0000] "POST /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/profile/cnftest/content HTTP/1.1" 200 0 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 Did not find tag: instance 2021/05/31 01:38:30 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-31T01:38:30Z"} 10.233.77.89 - - [31/May/2021:01:38:30 +0000] "GET /basicnf-owner/k8sregion/infra_workload?name=basic_cnf-3efc63bb-5be5-4297-9b9a-ecb146c4dcad HTTP/1.1" 200 114 {"Body":{},"Payload":{"generic-vnf-id":"58ab842b-444d-4dad-87c4-567302213ff0","vf-module-id":"fb5e17fb-7c2e-4a81-baae-761b6e4ee5e7","vf-module-model-invariant-id":"ab23541c-efb0-48a4-8eda-a2c4c61784ab","vf-module-model-version-id":"9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec","vf-module-model-customization-id":"4a41eb34-4e6e-4807-bed8-85f2a8d192de","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-3efc63bb-5be5-4297-9b9a-ecb146c4dcad"}},"level":"info","msg":"Broker API Payload","time":"2021-05-31T01:38:30Z"} {"level":"info","msg":"Instance API Payload","payload":{"rb-name":"ab23541c-efb0-48a4-8eda-a2c4c61784ab","rb-version":"9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec","profile-name":"cnftest","release-name":"fb5e17fb-7c2e-4a81-baae-761b6e4ee5e7","cloud-region":"k8sregion","labels":{"stack-name":"basic_cnf-3efc63bb-5be5-4297-9b9a-ecb146c4dcad"},"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-31T01:38:30Z"} {"level":"info","msg":"Creating Namespace","namespace":"k8s","time":"2021-05-31T01:38:30Z"} 2021/05/31 01:38:30 Namespace (k8s) created {"filepath":"/tmp/helm-tmpl-176097179/manifest-0","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-31T01:38:30Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"info","msg":"Created Kubernetes Resource","resource":"cnftest-nginx","time":"2021-05-31T01:38:30Z"} {"filepath":"/tmp/helm-tmpl-176097179/manifest-1","level":"info","msg":"Processing Kubernetes Resource","time":"2021-05-31T01:38:30Z"} 2021/05/31 01:38:30 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-31T01:38:31Z"} {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"happy_greider","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-31T01:38:31Z"} 10.233.77.89 - - [31/May/2021:01:38:30 +0000] "POST /basicnf-owner/k8sregion/infra_workload HTTP/1.1" 201 302 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"happy_greider","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-05-31T01:38:31Z"} 10.233.77.89 - - [31/May/2021:01:38:31 +0000] "GET /basicnf-owner/k8sregion/infra_workload/happy_greider HTTP/1.1" 200 121 10.233.77.89 - - [31/May/2021:01:38:31 +0000] "POST /basicnf-owner/k8sregion/infra_workload/happy_greider HTTP/1.1" 405 0 10.233.77.89 - - [31/May/2021:01:38:51 +0000] "GET /basicnf-owner/k8sregion/infra_workload/happy_greider HTTP/1.1" 200 121 {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"happy_greider","workload_status":"CREATE_COMPLETE","workload_status_reason":null},"time":"2021-05-31T01:38:51Z"} {"gvk":{"Group":"","Version":"v1","Kind":"Service"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-05-31T01:38:51Z"} 2021/05/31 01:38:51 Deleting service: cnftest-nginx {"gvk":{"Group":"apps","Version":"v1","Kind":"Deployment"},"level":"warning","msg":"Deleting Resource","resource":"cnftest-nginx","time":"2021-05-31T01:38:52Z"} 2021/05/31 01:38:52 No plugin for kind Deployment found. Using generic Plugin 2021/05/31 01:38:52 Deleted Obj with ID ObjectID("60b43e177e49bc090e79d078") 2021/05/31 01:38:52 Deleted Obj with ID ObjectID("60b43e17bad96c091e6b188e") {"level":"info","msg":"Broker API Response","response":{"template_type":"heat","workload_id":"happy_greider","workload_status":"DELETE_COMPLETE","workload_status_reason":null},"time":"2021-05-31T01:38:52Z"} 10.233.77.89 - - [31/May/2021:01:38:51 +0000] "DELETE /basicnf-owner/k8sregion/infra_workload/happy_greider HTTP/1.1" 202 121 10.233.77.89 - - [31/May/2021:01:39:08 +0000] "GET /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec HTTP/1.1" 200 216 10.233.77.89 - - [31/May/2021:01:39:08 +0000] "GET /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/profile/cnftest HTTP/1.1" 200 212 2021/05/31 01:39:08 Deleted Obj with ID ObjectID("60b43e027e49bc090e79d076") 2021/05/31 01:39:08 Deleted Obj with ID ObjectID("60b43e027e49bc090e79d077") 2021/05/31 01:39:08 Deleted Obj with ID ObjectID("60b43e02bad96c091e6b1866") 10.233.77.89 - - [31/May/2021:01:39:08 +0000] "DELETE /v1/rb/definition/ab23541c-efb0-48a4-8eda-a2c4c61784ab/9680b9c1-e2d7-45c2-813f-d6e8aa0ec5ec/profile/cnftest HTTP/1.1" 204 0 10.233.77.89 - - [31/May/2021:01:39:47 +0000] "GET /v1/connectivity-info/k8sregion HTTP/1.1" 200 7565 2021/05/31 01:39:47 Deleted Obj with ID ObjectID("60b43b987e49bc090e79d05f") 10.233.77.89 - - [31/May/2021:01:39:47 +0000] "DELETE /v1/connectivity-info/k8sregion HTTP/1.1" 204 0 2021/05/31 01:39:47 Deleted Obj with ID ObjectID("60b43b98bad96c091e6b1668")