{"level":"info","ts":"2026-06-09T00:26:58Z","logger":"cmd","msg":"Version","Go Version":"go1.23.6","GOOS":"linux","GOARCH":"amd64","ansible-operator":"v1.38.1","commit":"87d6d1f8c369f5f538ce6f230c891bb9f4e94f12"} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"cmd","msg":"Environment variable OPERATOR_NAME has been deprecated, use --leader-election-id instead."} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"cmd","msg":"Watching namespaces","namespaces":["service-telemetry"]} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"ansible-controller","msg":"Watching resource","Options.Group":"smartgateway.infra.watch","Options.Version":"v2","Options.Kind":"SmartGateway"} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"proxy","msg":"Starting to serve","Address":"127.0.0.1:8888"} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"apiserver","msg":"Starting to serve metrics listener","Address":"localhost:5050"} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2026-06-09T00:26:58Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8443","secure":false} {"level":"info","ts":"2026-06-09T00:26:58Z","msg":"starting server","name":"health probe","addr":"[::]:6789"} {"level":"info","ts":"2026-06-09T00:26:58Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2026-06-09T00:26:58Z","msg":"Starting Controller","controller":"smartgateway-controller"} {"level":"info","ts":"2026-06-09T00:26:58Z","msg":"Starting workers","controller":"smartgateway-controller","worker count":12} {"level":"info","ts":"2026-06-09T00:28:38Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:39Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"6539514772302165839","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:39Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-09T00:28:40Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:40Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-06-09T00:28:41Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} {"level":"info","ts":"2026-06-09T00:28:41Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:41Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Secret","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-09T00:28:41Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:41Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-09T00:28:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:42Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ServiceAccount, service-telemetry/smart-gateway"} {"level":"info","ts":"2026-06-09T00:28:42Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:42Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ServiceAccount","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-09T00:28:42Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:42Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:43Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"2338805404872684713","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:28:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:43Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:44Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:44Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:28:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-09T00:28:45Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-meter-sg-core-configmap"} {"level":"info","ts":"2026-06-09T00:28:45Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:45Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ConfigMap","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-09T00:28:45Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2026-06-09T00:28:45Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:45Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:45Z"  }  ],  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38143",  "uid": "7bd61c43-6b91-49c2-8f7d-416ecdc8080d"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:45Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-09T00:28:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-meter-smartgateway"} {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"proxy","msg":"Watching child resource","kind":"apps/v1, Kind=Deployment","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-09T00:28:46Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:46Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38149",  "uid": "3d631e35-ca7b-4dca-83e4-049077cbc8fb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6539514772302165839","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:46Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"4570320570390838884","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-coll-meter"} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Service","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-09T00:28:47Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=14  changed=6  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 521c3ac6b1194bf08bbb3d492c214f97 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/521c3ac6b1194bf08bbb3d492c214f97 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/521c3ac6b1194bf08bbb3d492c214f97 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io{"level":"info","ts":"2026-06-09T00:28:47Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6539514772302165839","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} ",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604 `" && echo ansible-tmp-1780964919.7062013-27-91551770002604="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmpsm8p2ihb TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964919.7062013-27-91551770002604/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036 `" && echo ansible-tmp-1780964920.8108494-43-143117997579036="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmpw6t0o2rp TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964920.8108494-43-143117997579036/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": true } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309 `" && echo ansible-tmp-1780964921.7868066-58-86200084254309="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmpv6bnf_ox TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964921.7868066-58-86200084254309/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38123",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  }  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309 `" && echo ansible-tmp-1780964922.80067-78-60463734402309="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmp1m_m3bxu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964922.80067-78-60463734402309/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896 `" && echo ansible-tmp-1780964923.673135-106-77856207758896="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmp9mysbjy_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.673135-106-77856207758896/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853 `" && echo ansible-tmp-1780964924.5686433-129-167895837877853="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmpca2hn4hn TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5686433-129-167895837877853/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:45Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:45Z"  }  ],  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38143",  "uid": "7bd61c43-6b91-49c2-8f7d-416ecdc8080d"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106 `" && echo ansible-tmp-1780964925.619331-129-183518317942106="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmp3qk1up_r TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.619331-129-183518317942106/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:46Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38149",  "uid": "3d631e35-ca7b-4dca-83e4-049077cbc8fb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097 `" && echo ansible-tmp-1780964926.7581038-210-132499992239097="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-192zabmqqn/tmp6po2i8to TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.7581038-210-132499992239097/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "creationTimestamp": "2026-06-09T00:28:47Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:47Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38171",  "uid": "218892c2-9d07-4f9e-aa3a-3967baac6491"  },  "spec": {  "clusterIP": "10.217.5.196",  "clusterIPs": [  "10.217.5.196"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=14  changed=6  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:48Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-06-09T00:28:48Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-meter-sg-core-configmap"} {"level":"info","ts":"2026-06-09T00:28:48Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:48Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38180",  "uid": "5d1060f0-d1b4-4346-bd6c-46f1fb900446"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:48Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-meter-smartgateway"} {"level":"info","ts":"2026-06-09T00:28:48Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38183",  "uid": "2a7ce6a8-6670-44d8-97ee-c4ff2e70172e"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2338805404872684713","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"9202338164526805422","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-ceil-meter"} {"level":"info","ts":"2026-06-09T00:28:49Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2338805404872684713","name":"default-cloud1-ceil-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 70d18c74dc1c4bcc99ee5ce6fa6951cc ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/70d18c74dc1c4bcc99ee5ce6fa6951cc verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/70d18c74dc1c4bcc99ee5ce6fa6951cc PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113 `" && echo ansible-tmp-1780964923.472188-95-97852335704113="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmp1lz3t5ej TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964923.472188-95-97852335704113/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898 `" && echo ansible-tmp-1780964924.5861447-130-47616112644898="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmpqxr9v2iw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964924.5861447-130-47616112644898/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295 `" && echo ansible-tmp-1780964925.5882487-159-245964993325295="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmpx31nit3y TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964925.5882487-159-245964993325295/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271 `" && echo ansible-tmp-1780964926.377905-191-187016893836271="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmpf45xszd8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964926.377905-191-187016893836271/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218 `" && echo ansible-tmp-1780964927.2899148-243-57211129478218="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmp2hqkiaqv TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.2899148-243-57211129478218/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38180",  "uid": "5d1060f0-d1b4-4346-bd6c-46f1fb900446"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474 `" && echo ansible-tmp-1780964928.2675428-243-207734354239474="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmp8y_nn85z TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.2675428-243-207734354239474/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38183",  "uid": "2a7ce6a8-6670-44d8-97ee-c4ff2e70172e"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-ceil-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567 `" && echo ansible-tmp-1780964929.2724648-307-122398659242567="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-727_r4m53z/tmpqjx5sz56 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2724648-307-122398659242567/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "creationTimestamp": "2026-06-09T00:28:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:49Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38205",  "uid": "ba4f840d-9e39-43e0-8186-05b1d5bfc2aa"  },  "spec": {  "clusterIP": "10.217.4.114",  "clusterIPs": [  "10.217.4.114"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:28:51Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:51Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"1862898399860256660","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-09T00:28:51Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-sens-meter-sg-core-configmap"} {"level":"info","ts":"2026-06-09T00:28:51Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:51Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:51Z"  }  ],  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38220",  "uid": "97d95758-6dcc-4beb-a647-e710cfdd4268"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-sens-meter-smartgateway"} {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:52Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:52Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38227",  "uid": "75d851aa-65b9-4a41-af74-fdd0ccbacdfb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4570320570390838884","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-sens-meter"} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"4911905949040332123","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4570320570390838884","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: e21d486056c045708bd84418b1bc2c20 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/e21d486056c045708bd84418b1bc2c20 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/e21d486056c045708bd84418b1bc2c20 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469 `" && echo ansible-tmp-1780964927.023133-227-233213497400469="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmprcjy02jt TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964927.023133-227-233213497400469/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587 `" && echo ansible-tmp-1780964928.1680152-262-119435753780587="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmptzvn6n9h TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964928.1680152-262-119435753780587/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269 `" && echo ansible-tmp-1780964929.2285058-299-107073148294269="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmpqh6e4euz TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.2285058-299-107073148294269/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791 `" && echo ansible-tmp-1780964930.0208614-343-125673775559791="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmpctabsxfq TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.0208614-343-125673775559791/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341 `" && echo ansible-tmp-1780964930.9281712-380-144043058784341="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmp5nw0i9xg TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.9281712-380-144043058784341/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:51Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:51Z"  }  ],  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38220",  "uid": "97d95758-6dcc-4beb-a647-e710cfdd4268"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946 `" && echo ansible-tmp-1780964931.8259463-380-269067841131946="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmpdmknsh8x TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.8259463-380-269067841131946/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:52Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:52Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38227",  "uid": "75d851aa-65b9-4a41-af74-fdd0ccbacdfb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641 `" && echo ansible-tmp-1780964932.8361683-466-54371463081641="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-185g5sh2der/tmpws3thmmk TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.8361683-466-54371463081641/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "creationTimestamp": "2026-06-09T00:28:53Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:53Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38250",  "uid": "2e285abc-77b1-4728-b464-1a05dad22598"  },  "spec": {  "clusterIP": "10.217.5.48",  "clusterIPs": [  "10.217.5.48"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-09T00:28:54Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:45Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:45Z"  }  ],  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38143",  "uid": "7bd61c43-6b91-49c2-8f7d-416ecdc8080d"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:54Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:54Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"5494319564321988343","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:46Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:46Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38161",  "uid": "3d631e35-ca7b-4dca-83e4-049077cbc8fb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:46Z",  "lastUpdateTime": "2026-06-09T00:28:46Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:46Z",  "lastUpdateTime": "2026-06-09T00:28:46Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9202338164526805422","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"4313374008001474968","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:28:55Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-coll-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-coll-meter","Parts":["services","default-cloud1-coll-meter"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"9202338164526805422","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 9d0f2023cbe34226a82a55faadaf0f10 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/9d0f2023cbe34226a82a55faadaf0f10 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/9d0f2023cbe34226a82a55faadaf0f10 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395 `" && echo ansible-tmp-1780964929.4402637-328-221873790914395="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmpdjjese2v TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964929.4402637-328-221873790914395/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469 `" && echo ansible-tmp-1780964930.5450428-363-155601275488469="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmpw2av2uub TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964930.5450428-363-155601275488469/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395 `" && echo ansible-tmp-1780964931.5540478-400-162397228066395="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmpxj1smzba TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.5540478-400-162397228066395/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550 `" && echo ansible-tmp-1780964932.4832466-444-272313573969550="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmpuc4mujqr TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.4832466-444-272313573969550/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709 `" && echo ansible-tmp-1780964933.4571068-496-147343663539709="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmpbehxto_a TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.4571068-496-147343663539709/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:45Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:45Z"  }  ],  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38143",  "uid": "7bd61c43-6b91-49c2-8f7d-416ecdc8080d"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986 `" && echo ansible-tmp-1780964934.2718642-496-265593577963986="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmp6ueccor1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.2718642-496-265593577963986/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:46Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:46Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38161",  "uid": "3d631e35-ca7b-4dca-83e4-049077cbc8fb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:46Z",  "lastUpdateTime": "2026-06-09T00:28:46Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:46Z",  "lastUpdateTime": "2026-06-09T00:28:46Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818 `" && echo ansible-tmp-1780964935.3343284-615-177592715811818="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-263ohq7bdt3/tmpt5difgcv TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.3343284-615-177592715811818/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-09T00:28:47Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:47Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-09T00:28:47Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38176",  "uid": "218892c2-9d07-4f9e-aa3a-3967baac6491"  },  "spec": {  "clusterIP": "10.217.5.196",  "clusterIPs": [  "10.217.5.196"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-09T00:28:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38180",  "uid": "5d1060f0-d1b4-4346-bd6c-46f1fb900446"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-meter-smartgateway","Parts":["deployments","default-cloud1-ceil-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:49Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38195",  "uid": "2a7ce6a8-6670-44d8-97ee-c4ff2e70172e"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:49Z",  "lastUpdateTime": "2026-06-09T00:28:49Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:49Z",  "lastUpdateTime": "2026-06-09T00:28:49Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1862898399860256660","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:28:58Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-ceil-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-ceil-meter","Parts":["services","default-cloud1-ceil-meter"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:28:58Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-event-sg-core-configmap"} {"level":"info","ts":"2026-06-09T00:28:58Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:58Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:58Z"  }  ],  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38305",  "uid": "859cb1c7-c0a7-45fd-80a7-2d681c62d0d7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1862898399860256660","name":"default-cloud1-ceil-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 1bc7309f98f040488dc37a751954b89f ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/1bc7309f98f040488dc37a751954b89f verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/1bc7309f98f040488dc37a751954b89f PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361 `" && echo ansible-tmp-1780964931.6341636-414-79420170144361="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmp87crnk0b TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964931.6341636-414-79420170144361/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692 `" && echo ansible-tmp-1780964932.811425-464-207572566920692="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmp0ovumadt TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964932.811425-464-207572566920692/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434 `" && echo ansible-tmp-1780964934.0034146-530-271264198568434="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmpan8lbs_s TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964934.0034146-530-271264198568434/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933 `" && echo ansible-tmp-1780964935.0346253-576-225597971372933="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmpiu_zn9if TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0346253-576-225597971372933/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140 `" && echo ansible-tmp-1780964936.0330253-651-54401049412140="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmp6x_v0cqv TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.0330253-651-54401049412140/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38180",  "uid": "5d1060f0-d1b4-4346-bd6c-46f1fb900446"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091 `" && echo ansible-tmp-1780964937.0684643-651-259463430079091="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmpn3zgwr5f TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.0684643-651-259463430079091/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:49Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38195",  "uid": "2a7ce6a8-6670-44d8-97ee-c4ff2e70172e"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:49Z",  "lastUpdateTime": "2026-06-09T00:28:49Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:49Z",  "lastUpdateTime": "2026-06-09T00:28:49Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-ceil-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146 `" && echo ansible-tmp-1780964938.0300946-775-58782944917146="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-362lpy4pcp1/tmpvvoi7_s2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.0300946-775-58782944917146/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-09T00:28:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:49Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-09T00:28:50Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38209",  "uid": "ba4f840d-9e39-43e0-8186-05b1d5bfc2aa"  },  "spec": {  "clusterIP": "10.217.4.114",  "clusterIPs": [  "10.217.4.114"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-event-smartgateway"} {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:59Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:59Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38319",  "uid": "d047c6c1-8aaf-490a-8406-4ac44838a814"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:28:59Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4911905949040332123","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4911905949040332123","name":"default-cloud1-coll-event","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 3b8df63bc5bb410c8b9290105f2d5cd7 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/3b8df63bc5bb410c8b9290105f2d5cd7 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/3b8df63bc5bb410c8b9290105f2d5cd7 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265 `" && echo ansible-tmp-1780964933.8453794-517-58432278683265="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-4578erc8hxe/tmphlmim5e2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964933.8453794-517-58432278683265/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935 `" && echo ansible-tmp-1780964935.0205078-572-246676950246935="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-4578erc8hxe/tmpo2locn3p TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.0205078-572-246676950246935/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109 `" && echo ansible-tmp-1780964936.1984732-666-230674337269109="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-4578erc8hxe/tmp6taoabie TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.1984732-666-230674337269109/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976 `" && echo ansible-tmp-1780964937.1175869-721-147282207939976="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-4578erc8hxe/tmppbwnfhcy TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.1175869-721-147282207939976/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617 `" && echo ansible-tmp-1780964938.1811-791-30646873678617="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-4578erc8hxe/tmp9cvzsklx TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.1811-791-30646873678617/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:58Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:58Z"  }  ],  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38305",  "uid": "859cb1c7-c0a7-45fd-80a7-2d681c62d0d7"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916 `" && echo ansible-tmp-1780964939.003163-791-204465117251916="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-4578erc8hxe/tmpq3hikr3i TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.003163-791-204465117251916/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:59Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:59Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38319",  "uid": "d047c6c1-8aaf-490a-8406-4ac44838a814"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-event-sg-core-configmap"} {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:00Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:00Z"  }  ],  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38345",  "uid": "ef372059-5149-4cb4-b325-4382fea86a1c"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:00Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:51Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:51Z"  }  ],  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38220",  "uid": "97d95758-6dcc-4beb-a647-e710cfdd4268"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-event-smartgateway"} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:01Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:01Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38348",  "uid": "d8e81532-b3f1-48dd-80e3-6db36c45a938"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5494319564321988343","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"7886320818946636632","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5494319564321988343","name":"default-cloud1-ceil-event","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: d9c04095620d4937a49d6e2c902dea1b ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/d9c04095620d4937a49d6e2c902dea1b verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/d9c04095620d4937a49d6e2c902dea1b PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224 `" && echo ansible-tmp-1780964935.1906712-598-280116255834224="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5156mwbszed/tmpt12lj3r9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.1906712-598-280116255834224/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052 `" && echo ansible-tmp-1780964936.4053855-684-270232713225052="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5156mwbszed/tmpm5cwowsq TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.4053855-684-270232713225052/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769 `" && echo ansible-tmp-1780964937.504569-744-71668503808769="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5156mwbszed/tmpv4is_luu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.504569-744-71668503808769/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547 `" && echo ansible-tmp-1780964938.3978453-806-154359349558547="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5156mwbszed/tmp133m_s9y TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.3978453-806-154359349558547/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193 `" && echo ansible-tmp-1780964939.3209567-853-222584605800193="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5156mwbszed/tmp59u8xelb TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.3209567-853-222584605800193/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:00Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:00Z"  }  ],  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38345",  "uid": "ef372059-5149-4cb4-b325-4382fea86a1c"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223 `" && echo ansible-tmp-1780964940.5850644-853-255743967521223="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5156mwbszed/tmpa2r4cb5l TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.5850644-853-255743967521223/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:01Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:01Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38348",  "uid": "d8e81532-b3f1-48dd-80e3-6db36c45a938"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:52Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:52Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:52Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38239",  "uid": "75d851aa-65b9-4a41-af74-fdd0ccbacdfb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:52Z",  "lastUpdateTime": "2026-06-09T00:28:52Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:52Z",  "lastUpdateTime": "2026-06-09T00:28:52Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4313374008001474968","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-sens-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-sens-meter","Parts":["services","default-cloud1-sens-meter"]}} {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Create cookie secret"} TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"655683836419540176","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4313374008001474968","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 87251a164b9a46098254cc726fa5be97 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/87251a164b9a46098254cc726fa5be97 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/87251a164b9a46098254cc726fa5be97 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671 `" && echo ansible-tmp-1780964935.5524683-635-201147865327671="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmpepnmhlzs TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964935.5524683-635-201147865327671/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278 `" && echo ansible-tmp-1780964936.7943552-700-210322822703278="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmpb2aze790 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964936.7943552-700-210322822703278/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427 `" && echo ansible-tmp-1780964937.9602594-761-123488087696427="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmpvvnbmqhw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964937.9602594-761-123488087696427/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705 `" && echo ansible-tmp-1780964938.766824-821-52112763107705="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmp01mj54cy TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964938.766824-821-52112763107705/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184 `" && echo ansible-tmp-1780964939.844416-869-277170195513184="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmpkyhxwriz TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964939.844416-869-277170195513184/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:51Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:51Z"  }  ],  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38220",  "uid": "97d95758-6dcc-4beb-a647-e710cfdd4268"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858 `" && echo ansible-tmp-1780964940.8422165-869-84430654781858="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmplxj10hd0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964940.8422165-869-84430654781858/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:52Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:52Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:52Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38239",  "uid": "75d851aa-65b9-4a41-af74-fdd0ccbacdfb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:52Z",  "lastUpdateTime": "2026-06-09T00:28:52Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:52Z",  "lastUpdateTime": "2026-06-09T00:28:52Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362 `" && echo ansible-tmp-1780964941.8598447-938-271293711728362="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-54734crqq62/tmpd7806tkv TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.8598447-938-271293711728362/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-09T00:28:53Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:53Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-09T00:28:53Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38254",  "uid": "2e285abc-77b1-4728-b464-1a05dad22598"  },  "spec": {  "clusterIP": "10.217.5.48",  "clusterIPs": [  "10.217.5.48"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:03Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:03Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:03Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-09T00:29:04Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:29:05Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:05Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:05Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:06Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-09T00:29:06Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-event-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:58Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:58Z"  }  ],  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38305",  "uid": "859cb1c7-c0a7-45fd-80a7-2d681c62d0d7"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:06Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:59Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:59Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:59Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38331",  "uid": "d047c6c1-8aaf-490a-8406-4ac44838a814"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:59Z",  "lastUpdateTime": "2026-06-09T00:28:59Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:59Z",  "lastUpdateTime": "2026-06-09T00:28:59Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-6fd895c848\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7886320818946636632","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7886320818946636632","name":"default-cloud1-coll-event","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 072df269f4684436b59b10329225415d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/072df269f4684436b59b10329225415d verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/072df269f4684436b59b10329225415d PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851 `" && echo ansible-tmp-1780964941.753211-926-11645367632851="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-886x0780qh2/tmpsakdqryf TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964941.753211-926-11645367632851/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867 `" && echo ansible-tmp-1780964942.8688927-965-60440811804867="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-886x0780qh2/tmp9h6qhkrs TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964942.8688927-965-60440811804867/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740 `" && echo ansible-tmp-1780964943.8613644-996-111870169997740="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-886x0780qh2/tmpz_yjm50q TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.8613644-996-111870169997740/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815 `" && echo ansible-tmp-1780964944.7401752-1027-190062139905815="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-886x0780qh2/tmpeihj697d TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.7401752-1027-190062139905815/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878 `" && echo ansible-tmp-1780964945.7547607-1058-126336908177878="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-886x0780qh2/tmpjz_engdk TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.7547607-1058-126336908177878/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:58Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:58Z"  }  ],  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38305",  "uid": "859cb1c7-c0a7-45fd-80a7-2d681c62d0d7"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001 `" && echo ansible-tmp-1780964946.5966458-1058-193546236110001="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-886x0780qh2/tmptaa69icc TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.5966458-1058-193546236110001/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:59Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:59Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:28:59Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38331",  "uid": "d047c6c1-8aaf-490a-8406-4ac44838a814"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:28:59Z",  "lastUpdateTime": "2026-06-09T00:28:59Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:59Z",  "lastUpdateTime": "2026-06-09T00:28:59Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-6fd895c848\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:00Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:00Z"  }  ],  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38345",  "uid": "ef372059-5149-4cb4-b325-4382fea86a1c"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:08Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:29:01Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:01Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:01Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38360",  "uid": "d8e81532-b3f1-48dd-80e3-6db36c45a938"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:01Z",  "lastUpdateTime": "2026-06-09T00:29:01Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:29:01Z",  "lastUpdateTime": "2026-06-09T00:29:01Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-74c98b76c7\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:08Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"655683836419540176","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:09Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"655683836419540176","name":"default-cloud1-ceil-event","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: d2cbf7e41b884a9fa32a8bbf02d34d08 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/d2cbf7e41b884a9fa32a8bbf02d34d08 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/d2cbf7e41b884a9fa32a8bbf02d34d08 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994 `" && echo ansible-tmp-1780964943.0702658-978-7055502696994="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-950iupzim8m/tmpayxhq730 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964943.0702658-978-7055502696994/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981 `" && echo ansible-tmp-1780964944.260593-1012-95329670637981="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-950iupzim8m/tmp5gzmf4vp TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964944.260593-1012-95329670637981/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003 `" && echo ansible-tmp-1780964945.2810292-1042-32885430044003="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-950iupzim8m/tmpmexc1o41 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964945.2810292-1042-32885430044003/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017 `" && echo ansible-tmp-1780964946.1037507-1073-192150046646017="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-950iupzim8m/tmpt1q6w594 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964946.1037507-1073-192150046646017/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417 `" && echo ansible-tmp-1780964947.0079913-1103-257819469921417="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-950iupzim8m/tmpxvj2nn8t TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.0079913-1103-257819469921417/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:00Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:00Z"  }  ],  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38345",  "uid": "ef372059-5149-4cb4-b325-4382fea86a1c"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662 `" && echo ansible-tmp-1780964947.8808455-1103-184823557069662="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-950iupzim8m/tmpdyreufns TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964947.8808455-1103-184823557069662/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:29:01Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:01Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:01Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38360",  "uid": "d8e81532-b3f1-48dd-80e3-6db36c45a938"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:01Z",  "lastUpdateTime": "2026-06-09T00:29:01Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:29:01Z",  "lastUpdateTime": "2026-06-09T00:29:01Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-74c98b76c7\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:17Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"7741342980757211870","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"21709473584871422","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"27719241923473805","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"2422406311966016479","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"3776227746652704497","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:18Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-09T00:29:20Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:23Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-event-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-event-sg-core-configmap"]}} {"level":"info","ts":"2026-06-09T00:29:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-meter-sg-core-configmap"]}} {"level":"info","ts":"2026-06-09T00:29:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:58Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:58Z"  }  ],  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38305",  "uid": "859cb1c7-c0a7-45fd-80a7-2d681c62d0d7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:00Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:00Z"  }  ],  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38345",  "uid": "ef372059-5149-4cb4-b325-4382fea86a1c"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:45Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:45Z"  }  ],  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38143",  "uid": "7bd61c43-6b91-49c2-8f7d-416ecdc8080d"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:51Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:51Z"  }  ],  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38220",  "uid": "97d95758-6dcc-4beb-a647-e710cfdd4268"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38180",  "uid": "5d1060f0-d1b4-4346-bd6c-46f1fb900446"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:59Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:59Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38543",  "uid": "d047c6c1-8aaf-490a-8406-4ac44838a814"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:59Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-6fd895c848\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:29:01Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:01Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38530",  "uid": "d8e81532-b3f1-48dd-80e3-6db36c45a938"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:29:01Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-74c98b76c7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"27719241923473805","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"21709473584871422","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:46Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38526",  "uid": "3d631e35-ca7b-4dca-83e4-049077cbc8fb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:46Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-meter-smartgateway","Parts":["deployments","default-cloud1-ceil-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2422406311966016479","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:52Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:52Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38539",  "uid": "75d851aa-65b9-4a41-af74-fdd0ccbacdfb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:52Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3776227746652704497","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"27719241923473805","name":"default-cloud1-coll-event","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 6678a35f643f484e8fe42d0bfd862b48 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/6678a35f643f484e8fe42d0bfd862b48 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/6678a35f643f484e8fe42d0bfd862b48 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929 `" && echo ansible-tmp-1780964959.039462-1192-267639210230929="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-114586w0313b/tmpa6_stsrh TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.039462-1192-267639210230929/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324 `" && echo ansible-tmp-1780964960.0684628-1259-130365649284324="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-114586w0313b/tmp_2pa9jbl TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0684628-1259-130365649284324/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402 `" && echo ansible-tmp-1780964961.1071105-1332-265281390581402="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-114586w0313b/tmp0zi8g77u TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1071105-1332-265281390581402/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968 `" && echo ansible-tmp-1780964961.9003162-1403-6758366946968="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-114586w0313b/tmpyupudc6d TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9003162-1403-6758366946968/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266 `" && echo ansible-tmp-1780964962.8931825-1488-279582042537266="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-114586w0313b/tmp3cxbenuc TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8931825-1488-279582042537266/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:58Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:58Z"  }  ],  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38305",  "uid": "859cb1c7-c0a7-45fd-80a7-2d681c62d0d7"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067 `" && echo ansible-tmp-1780964963.7373433-1488-81294552423067="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-114586w0313b/tmpqwe326pd TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7373433-1488-81294552423067/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:59Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"75bbf79d-74d8-4af0-8484-19a57a6b2b37\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:59Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "75bbf79d-74d8-4af0-8484-19a57a6b2b37"  }  ],  "resourceVersion": "38543",  "uid": "d047c6c1-8aaf-490a-8406-4ac44838a814"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-7h8f8b9km5",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:59Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-6fd895c848\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38532",  "uid": "2a7ce6a8-6670-44d8-97ee-c4ff2e70172e"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:49Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"21709473584871422","name":"default-cloud1-ceil-event","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 9e441e10fe2c45bf8f61481dab0fc994 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/9e441e10fe2c45bf8f61481dab0fc994 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/9e441e10fe2c45bf8f61481dab0fc994 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146 `" && echo ansible-tmp-1780964959.0420663-1193-210576669159146="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11430ycwbn60/tmpfy8pxarg TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0420663-1193-210576669159146/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706 `" && echo ansible-tmp-1780964960.07778-1261-238308297450706="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11430ycwbn60/tmpp41tb4ic TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.07778-1261-238308297450706/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008 `" && echo ansible-tmp-1780964961.1861193-1361-171396915329008="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11430ycwbn60/tmpdrm8fevw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1861193-1361-171396915329008/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940 `" && echo ansible-tmp-1780964961.952316-1425-65617504432940="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11430ycwbn60/tmpkyto77fh TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.952316-1425-65617504432940/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228 `" && echo ansible-tmp-1780964962.875559-1486-105626392405228="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11430ycwbn60/tmplxl642xa TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.875559-1486-105626392405228/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'mdeqKlukYLSOT5o7kIrG9Tde', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:29:00Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:00Z"  }  ],  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38345",  "uid": "ef372059-5149-4cb4-b325-4382fea86a1c"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010 `" && echo ansible-tmp-1780964963.7824967-1486-255317022624010="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11430ycwbn60/tmpczveyfoe TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.7824967-1486-255317022624010/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:29:01Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"f29c742e-f4e2-4d5c-875f-6f2580aef837\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:29:01Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "f29c742e-f4e2-4d5c-875f-6f2580aef837"  }  ],  "resourceVersion": "38530",  "uid": "d8e81532-b3f1-48dd-80e3-6db36c45a938"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-7g2ttk4bkg",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:29:01Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-74c98b76c7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-09T00:29:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7741342980757211870","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-coll-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-coll-meter","Parts":["services","default-cloud1-coll-meter"]}} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-sens-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-sens-meter","Parts":["services","default-cloud1-sens-meter"]}} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-ceil-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-ceil-meter","Parts":["services","default-cloud1-ceil-meter"]}} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 50665591f5b0417a9a96784fd6052ca2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/50665591f5b0417a9a96784fd6052ca2 verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/50665591f5b0417a9a96784fd6052ca2 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co", {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2422406311966016479","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} [0;32m "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327 `" && echo ansible-tmp-1780964959.0233-1182-176391926821327="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmp6jr60uqf TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0233-1182-176391926821327/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645 `" && echo ansible-tmp-1780964960.072899-1260-265952277880645="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmp15bxigw4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.072899-1260-265952277880645/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140 `" && echo ansible-tmp-1780964961.1177068-1333-135703393364140="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmpkezx6mr_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1177068-1333-135703393364140/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716 `" && echo ansible-tmp-1780964961.9291692-1407-134648417053716="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmp9gfuvdlq TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.9291692-1407-134648417053716/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885 `" && echo ansible-tmp-1780964962.8409276-1485-157323212441885="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmp4r8n6l4k TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.8409276-1485-157323212441885/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:45Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:45Z"  }  ],  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38143",  "uid": "7bd61c43-6b91-49c2-8f7d-416ecdc8080d"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740 `" && echo ansible-tmp-1780964963.8290386-1485-81123295174740="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmpuycym8q8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8290386-1485-81123295174740/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:46Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38526",  "uid": "3d631e35-ca7b-4dca-83e4-049077cbc8fb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:46Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482 `" && echo ansible-tmp-1780964964.7639153-1635-82256893211482="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1141kqedbici/tmpmavoc8i_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.7639153-1635-82256893211482/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-09T00:28:47Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:47Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-09T00:28:47Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38176",  "uid": "218892c2-9d07-4f9e-aa3a-3967baac6491"  },  "spec": {  "clusterIP": "10.217.5.196",  "clusterIPs": [  "10.217.5.196"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3776227746652704497","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 8851b164ecc64a32a97404d6c00d2d1d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/8851b164ecc64a32a97404d6c00d2d1d verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/8851b164ecc64a32a97404d6c00d2d1d PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040 `" && echo ansible-tmp-1780964959.0046933-1181-168575566892040="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmpwr4w_uon TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.0046933-1181-168575566892040/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063 `" && echo ansible-tmp-1780964960.0533388-1258-181574296545063="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmpm02t0hd_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.0533388-1258-181574296545063/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124 `" && echo ansible-tmp-1780964961.1615121-1344-162738747965124="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmpvn_tgr5a TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.1615121-1344-162738747965124/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461 `" && echo ansible-tmp-1780964962.0863297-1448-72500048833461="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmpro3his6j TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.0863297-1448-72500048833461/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619 `" && echo ansible-tmp-1780964962.989416-1527-156954313410619="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmpe5gyna3t TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.989416-1527-156954313410619/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:51Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:51Z"  }  ],  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38220",  "uid": "97d95758-6dcc-4beb-a647-e710cfdd4268"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965 `" && echo ansible-tmp-1780964963.8528533-1527-265488496741965="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmpl68vbze_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.8528533-1527-265488496741965/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:52Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:52Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38539",  "uid": "75d851aa-65b9-4a41-af74-fdd0ccbacdfb"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:52Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113 `" && echo ansible-tmp-1780964964.898417-1651-149188096276113="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1144g2mtlymb/tmp6hqb3053 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.898417-1651-149188096276113/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-09T00:28:53Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"04459ee8-62a0-4526-bbc1-f6e904a6bfb2\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:53Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-09T00:28:53Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "04459ee8-62a0-4526-bbc1-f6e904a6bfb2"  }  ],  "resourceVersion": "38254",  "uid": "2e285abc-77b1-4728-b464-1a05dad22598"  },  "spec": {  "clusterIP": "10.217.5.48",  "clusterIPs": [  "10.217.5.48"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7741342980757211870","name":"default-cloud1-ceil-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 9f28e188c6a44e2f9b96e05208c9e47c ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/9f28e188c6a44e2f9b96e05208c9e47c verbosity: 4 connection: ssh become_method: sudo tags: ('all',) inventory: ('/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/inventory',) extra_vars: ('@/tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/env/extravars',) forks: 5 1 plays in /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/9f28e188c6a44e2f9b96e05208c9e47c PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614 `" && echo ansible-tmp-1780964959.1189718-1217-186135776424614="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s_info.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmpbbcbclij TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964959.1189718-1217-186135776424614/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "api_found": true,  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "field_selectors": [],  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": "Secret",  "kubeconfig": null,  "label_selectors": [],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "username": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "resources": [  {  "apiVersion": "v1",  "data": {  "session_secret": "VWJmNXY3SjNmOFhzQ3JoUHhVSFM="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:41Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38113",  "uid": "6ccd72c7-57ec-4890-a392-c77ad170827d"  },  "type": "Opaque"  }  ] } TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 skipping: [localhost] => {  "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",  "changed": false } TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687 `" && echo ansible-tmp-1780964960.1621926-1297-111564135017687="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmp_0dxc0jl TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964960.1621926-1297-111564135017687/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "imagePullSecrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-47678"  },  "creationTimestamp": "2026-06-09T00:28:42Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:imagePullSecrets": {},  "f:metadata": {  "f:annotations": {  "f:openshift.io/internal-registry-pull-secret-ref": {}  }  },  "f:secrets": {  "k:{\"name\":\"smart-gateway-dockercfg-47678\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-09T00:28:42Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"952b4970-0643-4b3f-b6a7-8a50a3ff1fa9\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:42Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "952b4970-0643-4b3f-b6a7-8a50a3ff1fa9"  }  ],  "resourceVersion": "38124",  "uid": "d17a3471-7cae-4913-ad6d-bcdb18193c28"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-47678"  }  ]  } } TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 File lookup using /opt/ansible/roles/smartgateway/templates/sg-role.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242 `" && echo ansible-tmp-1780964961.26511-1388-21046242592242="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmp_gxgq3wr TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964961.26511-1388-21046242592242/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:43Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:43Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38130",  "uid": "9859e6ca-0b49-4c46-a139-6f4bde9a060d"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  } } TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237 `" && echo ansible-tmp-1780964962.1265118-1459-137981290973237="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmpkr7ny9b9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964962.1265118-1459-137981290973237/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-09T00:28:44Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:44Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "38139",  "uid": "5ddc8f97-c028-49da-9911-313e641847bf"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  } } TASK [smartgateway : Get Smart Gateway ConfigMap Environment] ****************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:87 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 File lookup using /opt/ansible/roles/smartgateway/templates/sg-core-configmap.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846 `" && echo ansible-tmp-1780964963.0973084-1543-123001391920846="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmpv_ugirro TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.0973084-1543-123001391920846/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-09T00:28:48Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  }  ],  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38180",  "uid": "5d1060f0-d1b4-4346-bd6c-46f1fb900446"  }  } } File lookup using /opt/ansible/roles/smartgateway/templates/deployment.yaml.j2 as file redirecting (type: filter) ansible.builtin.k8s_config_resource_name to kubernetes.core.k8s_config_resource_name redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245 `" && echo ansible-tmp-1780964963.9444256-1543-110231092522245="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmphnyq3i27 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964963.9444256-1543-110231092522245/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-09T00:28:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-09T00:29:17Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38532",  "uid": "2a7ce6a8-6670-44d8-97ee-c4ff2e70172e"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-09T00:29:17Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-09T00:28:49Z",  "lastUpdateTime": "2026-06-09T00:29:17Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-ceil-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644 `" && echo ansible-tmp-1780964964.9592447-1665-132401161062644="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1142xsztjude/tmp7n9insxq TO /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644/ /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780964964.9592447-1665-132401161062644/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-09T00:28:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b1ad93a4-e621-4b67-9207-ca909f38e347\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-09T00:28:49Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-09T00:28:50Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "b1ad93a4-e621-4b67-9207-ca909f38e347"  }  ],  "resourceVersion": "38209",  "uid": "ba4f840d-9e39-43e0-8186-05b1d5bfc2aa"  },  "spec": {  "clusterIP": "10.217.4.114",  "clusterIPs": [  "10.217.4.114"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-09T00:29:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""}