{"level":"info","ts":"2026-01-23T08:39:35Z","logger":"cmd","msg":"Version","Go Version":"go1.23.6","GOOS":"linux","GOARCH":"amd64","ansible-operator":"v1.38.1","commit":"87d6d1f8c369f5f538ce6f230c891bb9f4e94f12"} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"cmd","msg":"Environment variable OPERATOR_NAME has been deprecated, use --leader-election-id instead."} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"cmd","msg":"Watching namespaces","namespaces":["service-telemetry"]} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"ansible-controller","msg":"Watching resource","Options.Group":"smartgateway.infra.watch","Options.Version":"v2","Options.Kind":"SmartGateway"} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"proxy","msg":"Starting to serve","Address":"127.0.0.1:8888"} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"apiserver","msg":"Starting to serve metrics listener","Address":"localhost:5050"} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2026-01-23T08:39:35Z","msg":"starting server","name":"health probe","addr":"[::]:6789"} {"level":"info","ts":"2026-01-23T08:39:35Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8443","secure":false} {"level":"info","ts":"2026-01-23T08:39:35Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2026-01-23T08:39:35Z","msg":"Starting Controller","controller":"smartgateway-controller"} {"level":"info","ts":"2026-01-23T08:39:35Z","msg":"Starting workers","controller":"smartgateway-controller","worker count":12} {"level":"info","ts":"2026-01-23T08:40:17Z","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-01-23T08:40:19Z","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":"7911371739734039195","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-01-23T08:40: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":"7911371739734039195","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:40:20Z","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-01-23T08:40: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":"7911371739734039195","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-01-23T08:40:21Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} {"level":"info","ts":"2026-01-23T08:40:21Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40:21Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Secret","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-01-23T08:40:21Z","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-01-23T08:40: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":"7911371739734039195","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:21Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:22Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ServiceAccount, service-telemetry/smart-gateway"} {"level":"info","ts":"2026-01-23T08:40:22Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40:22Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ServiceAccount","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-01-23T08:40:22Z","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-01-23T08:40: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":"7911371739734039195","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-01-23T08:40:23Z","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":"7028234257563083935","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-01-23T08:40: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":"7028234257563083935","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:40:23Z","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-01-23T08:40:23Z","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":"7911371739734039195","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:40:24Z","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-01-23T08:40: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":"7028234257563083935","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-01-23T08:40: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":"7028234257563083935","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:24Z","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: 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-01-23T08:40: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":"7911371739734039195","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:25Z","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-01-23T08:40:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:25Z","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":"7028234257563083935","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:40:25Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-meter-sg-core-configmap"} {"level":"info","ts":"2026-01-23T08:40:25Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40:25Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ConfigMap","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-01-23T08:40:25Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- 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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:26Z","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":"7028234257563083935","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:40:26Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-meter-smartgateway"} {"level":"info","ts":"2026-01-23T08:40:26Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40:26Z","logger":"proxy","msg":"Watching child resource","kind":"apps/v1, Kind=Deployment","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-01-23T08:40:26Z","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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37406",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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]"  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:26Z","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":"7911371739734039195","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-01-23T08:40:26Z","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":"6811915320171806711","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/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-01-23T08:40:26Z","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":"7911371739734039195","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:27Z","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":"6811915320171806711","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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:27Z","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":"7028234257563083935","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:27Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-coll-meter"} {"level":"info","ts":"2026-01-23T08:40:27Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40:27Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Service","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-01-23T08:40:27Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2026-01-23T08:40:28Z","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-01-23T08:40:28Z","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":"6811915320171806711","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-01-23T08:40:28Z","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":"6811915320171806711","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7911371739734039195","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=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 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: 483b797714af4ef081bc4ebec50aef4c ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/483b797714af4ef081bc4ebec50aef4c 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/483b797714af4ef081bc4ebec50aef4c 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157619.4908564-28-33411055868490 `" && echo ansible-tmp-1769157619.4908564-28-33411055868490="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157619.4908564-28-33411055868490 `" ) && 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-173ttzp8wz/tmp90btytp1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157619.4908564-28-33411055868490/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157619.4908564-28-33411055868490/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157619.4908564-28-33411055868490/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157619.4908564-28-33411055868490/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157619.4908564-28-33411055868490/ > /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-1769157620.7660835-43-78223618087353 `" && echo ansible-tmp-1769157620.7660835-43-78223618087353="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157620.7660835-43-78223618087353 `" ) && 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-173ttzp8wz/tmp2biwcee9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157620.7660835-43-78223618087353/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157620.7660835-43-78223618087353/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157620.7660835-43-78223618087353/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157620.7660835-43-78223618087353/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157620.7660835-43-78223618087353/ > /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-1769157621.7738724-58-43649068660777 `" && echo ansible-tmp-1769157621.7738724-58-43649068660777="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157621.7738724-58-43649068660777 `" ) && 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-173ttzp8wz/tmp7tfg5xtq TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157621.7738724-58-43649068660777/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157621.7738724-58-43649068660777/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157621.7738724-58-43649068660777/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157621.7738724-58-43649068660777/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157621.7738724-58-43649068660777/ > /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-01-23T08:40:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37375",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  }  } } 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-1769157622.7924058-78-205184977968306 `" && echo ansible-tmp-1769157622.7924058-78-205184977968306="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157622.7924058-78-205184977968306 `" ) && 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-173ttzp8wz/tmpm5mzgek2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157622.7924058-78-205184977968306/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157622.7924058-78-205184977968306/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157622.7924058-78-205184977968306/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157622.7924058-78-205184977968306/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157622.7924058-78-205184977968306/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157623.7452216-110-8877082660629 `" && echo ansible-tmp-1769157623.7452216-110-8877082660629="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.7452216-110-8877082660629 `" ) && 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-173ttzp8wz/tmpy2ch09qj TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.7452216-110-8877082660629/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.7452216-110-8877082660629/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.7452216-110-8877082660629/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.7452216-110-8877082660629/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.7452216-110-8877082660629/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157624.9352956-142-209324316557532 `" && echo ansible-tmp-1769157624.9352956-142-209324316557532="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.9352956-142-209324316557532 `" ) && 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-173ttzp8wz/tmpz1sx3osf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.9352956-142-209324316557532/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.9352956-142-209324316557532/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.9352956-142-209324316557532/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.9352956-142-209324316557532/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.9352956-142-209324316557532/ > /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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } 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-1769157625.9281898-142-111720949962917 `" && echo ansible-tmp-1769157625.9281898-142-111720949962917="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.9281898-142-111720949962917 `" ) && 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-173ttzp8wz/tmpr4lsu959 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.9281898-142-111720949962917/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.9281898-142-111720949962917/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.9281898-142-111720949962917/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.9281898-142-111720949962917/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.9281898-142-111720949962917/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37406",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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]"  ] } [WARNING]: spec.template.spec.containers[2].ports[0]: duplicate port definition 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-1769157626.9436455-212-218213830919839 `" && echo ansible-tmp-1769157626.9436455-212-218213830919839="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.9436455-212-218213830919839 `" ) && 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-173ttzp8wz/tmpyrnmileg TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.9436455-212-218213830919839/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.9436455-212-218213830919839/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.9436455-212-218213830919839/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.9436455-212-218213830919839/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.9436455-212-218213830919839/ > /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-01-23T08:40:27Z",  "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\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:27Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37432",  "uid": "2c8b8b84-3969-4f32-9f72-e5a46a9f393c"  },  "spec": {  "clusterIP": "10.217.5.3",  "clusterIPs": [  "10.217.5.3"  ],  "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-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:28Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-meter-sg-core-configmap"} {"level":"info","ts":"2026-01-23T08:40:28Z","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: 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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:29Z","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":"8473637557503967955","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:40:29Z","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-01-23T08:40:29Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-meter-smartgateway"} {"level":"info","ts":"2026-01-23T08:40:29Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:29Z","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":"8473637557503967955","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:29Z","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":"6811915320171806711","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- 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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37448",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z","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":"7028234257563083935","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-01-23T08:40:30Z","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":"7028234257563083935","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:30Z","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-01-23T08:40:30Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-ceil-meter"} {"level":"info","ts":"2026-01-23T08:40:30Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:30Z","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":"8473637557503967955","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:30Z","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":"6811915320171806711","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:30Z","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":"8473637557503967955","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:31Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7028234257563083935","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: 9701cba6b5184fc88f0fb725eb89a1d4 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/9701cba6b5184fc88f0fb725eb89a1d4 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/9701cba6b5184fc88f0fb725eb89a1d4 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157623.325235-95-72503630982202 `" && echo ansible-tmp-1769157623.325235-95-72503630982202="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.325235-95-72503630982202 `" ) && 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-72ue1n_8hn/tmpm9nh6xlx TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.325235-95-72503630982202/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.325235-95-72503630982202/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.325235-95-72503630982202/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.325235-95-72503630982202/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157623.325235-95-72503630982202/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157624.442853-126-276582495470229 `" && echo ansible-tmp-1769157624.442853-126-276582495470229="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.442853-126-276582495470229 `" ) && 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-72ue1n_8hn/tmplnxfuv_d TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.442853-126-276582495470229/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.442853-126-276582495470229/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.442853-126-276582495470229/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.442853-126-276582495470229/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157624.442853-126-276582495470229/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157625.7402864-158-138379534327477 `" && echo ansible-tmp-1769157625.7402864-158-138379534327477="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.7402864-158-138379534327477 `" ) && 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-72ue1n_8hn/tmpf5x3583g TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.7402864-158-138379534327477/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.7402864-158-138379534327477/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.7402864-158-138379534327477/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.7402864-158-138379534327477/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157625.7402864-158-138379534327477/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157626.5864992-191-263845527558182 `" && echo ansible-tmp-1769157626.5864992-191-263845527558182="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.5864992-191-263845527558182 `" ) && 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-72ue1n_8hn/tmp6jt_4p_3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.5864992-191-263845527558182/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.5864992-191-263845527558182/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.5864992-191-263845527558182/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.5864992-191-263845527558182/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157626.5864992-191-263845527558182/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157627.7079923-243-260574210694622 `" && echo ansible-tmp-1769157627.7079923-243-260574210694622="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.7079923-243-260574210694622 `" ) && 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-72ue1n_8hn/tmpsv_qem3x TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.7079923-243-260574210694622/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.7079923-243-260574210694622/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.7079923-243-260574210694622/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.7079923-243-260574210694622/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.7079923-243-260574210694622/ > /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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } 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-1769157628.5677805-243-89514242554597 `" && echo ansible-tmp-1769157628.5677805-243-89514242554597="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.5677805-243-89514242554597 `" ) && 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-72ue1n_8hn/tmpc3pkjcdw TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.5677805-243-89514242554597/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.5677805-243-89514242554597/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.5677805-243-89514242554597/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.5677805-243-89514242554597/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.5677805-243-89514242554597/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37448",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157630.0606313-324-62678024580013 `" && echo ansible-tmp-1769157630.0606313-324-62678024580013="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.0606313-324-62678024580013 `" ) && 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-72ue1n_8hn/tmp0k6hwsz5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.0606313-324-62678024580013/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.0606313-324-62678024580013/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.0606313-324-62678024580013/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.0606313-324-62678024580013/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.0606313-324-62678024580013/ > /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-01-23T08:40:30Z",  "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\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:30Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37467",  "uid": "ddbb9170-b044-4e12-8feb-241892a55b7e"  },  "spec": {  "clusterIP": "10.217.5.76",  "clusterIPs": [  "10.217.5.76"  ],  "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-01-23T08:40:31Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:31Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:31Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:31Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:31Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:31Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:31Z","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: 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-01-23T08:40:31Z","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":"6811915320171806711","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:31Z","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-01-23T08:40:32Z","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":"8473637557503967955","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-01-23T08:40:32Z","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":"7422536595500005836","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:40:32Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-sens-meter-sg-core-configmap"} {"level":"info","ts":"2026-01-23T08:40:32Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:32Z","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":"7422536595500005836","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- 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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:33Z","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":"8473637557503967955","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-01-23T08:40:33Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:33Z","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-01-23T08:40:33Z","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":"7422536595500005836","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-01-23T08:40:34Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-sens-meter-smartgateway"} {"level":"info","ts":"2026-01-23T08:40:34Z","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: 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 : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:34Z","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":"7422536595500005836","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:34Z","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":"8473637557503967955","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37490",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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]"  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:34Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].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-01-23T08:40:34Z","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":"6811915320171806711","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-01-23T08:40:34Z","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":"6811915320171806711","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-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-01-23T08:40:34Z","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":"3256906383903723822","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:40:34Z","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:34Z","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":"3256906383903723822","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- 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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:35Z","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-01-23T08:40:35Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-sens-meter"} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:35Z","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":"7422536595500005836","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6811915320171806711","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 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: 9b8248569e27425f970a2efed99e32d2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/9b8248569e27425f970a2efed99e32d2 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/9b8248569e27425f970a2efed99e32d2 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157627.0756373-227-119865317774931 `" && echo ansible-tmp-1769157627.0756373-227-119865317774931="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.0756373-227-119865317774931 `" ) && 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-173t9jv0dop/tmp1axi_6cb TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.0756373-227-119865317774931/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.0756373-227-119865317774931/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.0756373-227-119865317774931/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.0756373-227-119865317774931/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157627.0756373-227-119865317774931/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157628.235367-261-142631454190283 `" && echo ansible-tmp-1769157628.235367-261-142631454190283="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.235367-261-142631454190283 `" ) && 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-173t9jv0dop/tmpojfxbtom TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.235367-261-142631454190283/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.235367-261-142631454190283/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.235367-261-142631454190283/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.235367-261-142631454190283/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157628.235367-261-142631454190283/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157629.9327624-308-72872306730298 `" && echo ansible-tmp-1769157629.9327624-308-72872306730298="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.9327624-308-72872306730298 `" ) && 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-173t9jv0dop/tmpz1m4awkx TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.9327624-308-72872306730298/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.9327624-308-72872306730298/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.9327624-308-72872306730298/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.9327624-308-72872306730298/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.9327624-308-72872306730298/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157630.9215457-345-96608152449282 `" && echo ansible-tmp-1769157630.9215457-345-96608152449282="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.9215457-345-96608152449282 `" ) && 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-173t9jv0dop/tmpavzvwh3y TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.9215457-345-96608152449282/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.9215457-345-96608152449282/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.9215457-345-96608152449282/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.9215457-345-96608152449282/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157630.9215457-345-96608152449282/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157631.8571346-380-257421215441962 `" && echo ansible-tmp-1769157631.8571346-380-257421215441962="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.8571346-380-257421215441962 `" ) && 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-173t9jv0dop/tmpbt2rl1c1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.8571346-380-257421215441962/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.8571346-380-257421215441962/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.8571346-380-257421215441962/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.8571346-380-257421215441962/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.8571346-380-257421215441962/ > /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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } 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-1769157632.944118-380-262578399462970 `" && echo ansible-tmp-1769157632.944118-380-262578399462970="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.944118-380-262578399462970 `" ) && 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-173t9jv0dop/tmp99kl0nyp TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.944118-380-262578399462970/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.944118-380-262578399462970/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.944118-380-262578399462970/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.944118-380-262578399462970/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.944118-380-262578399462970/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37490",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157634.4149315-493-30442188296625 `" && echo ansible-tmp-1769157634.4149315-493-30442188296625="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.4149315-493-30442188296625 `" ) && 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-173t9jv0dop/tmppfvpsv31 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.4149315-493-30442188296625/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.4149315-493-30442188296625/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.4149315-493-30442188296625/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.4149315-493-30442188296625/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.4149315-493-30442188296625/ > /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-01-23T08:40:35Z",  "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\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:35Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37528",  "uid": "8fde16f4-21e5-497d-814d-101244195c0c"  },  "spec": {  "clusterIP": "10.217.4.76",  "clusterIPs": [  "10.217.4.76"  ],  "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-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:35Z","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:40:26Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37418",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:26Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:26Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" 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-01-23T08:40:35Z","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":"8473637557503967955","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:35Z","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 : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:35Z","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":"8473637557503967955","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:36Z","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":"3256906383903723822","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-01-23T08:40:36Z","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":"3256906383903723822","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:36Z","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":"7422536595500005836","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 ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:37Z","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":"8881477254464749116","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:40:37Z","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":"8881477254464749116","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-01-23T08:40:38Z","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-01-23T08:40:38Z","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-01-23T08:40:38Z","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":"3256906383903723822","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: 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-01-23T08:40:38Z","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":"7422536595500005836","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:38Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8473637557503967955","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: a62cfefbd6734e98a62a52a0da89fbe9 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/a62cfefbd6734e98a62a52a0da89fbe9 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/a62cfefbd6734e98a62a52a0da89fbe9 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157629.8502922-298-148071479267568 `" && echo ansible-tmp-1769157629.8502922-298-148071479267568="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.8502922-298-148071479267568 `" ) && 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-277vdinrain/tmpj7wdjbq3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.8502922-298-148071479267568/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.8502922-298-148071479267568/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.8502922-298-148071479267568/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.8502922-298-148071479267568/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157629.8502922-298-148071479267568/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157631.0420814-359-33554269552478 `" && echo ansible-tmp-1769157631.0420814-359-33554269552478="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.0420814-359-33554269552478 `" ) && 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-277vdinrain/tmp6yzpb06l TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.0420814-359-33554269552478/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.0420814-359-33554269552478/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.0420814-359-33554269552478/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.0420814-359-33554269552478/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157631.0420814-359-33554269552478/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157632.102651-397-57232438105168 `" && echo ansible-tmp-1769157632.102651-397-57232438105168="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.102651-397-57232438105168 `" ) && 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-277vdinrain/tmppuncij4r TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.102651-397-57232438105168/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.102651-397-57232438105168/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.102651-397-57232438105168/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.102651-397-57232438105168/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.102651-397-57232438105168/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157633.0406814-443-19802080884326 `" && echo ansible-tmp-1769157633.0406814-443-19802080884326="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157633.0406814-443-19802080884326 `" ) && 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-277vdinrain/tmpf1hd70zw TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157633.0406814-443-19802080884326/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157633.0406814-443-19802080884326/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157633.0406814-443-19802080884326/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157633.0406814-443-19802080884326/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157633.0406814-443-19802080884326/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157634.2100995-467-258242896747097 `" && echo ansible-tmp-1769157634.2100995-467-258242896747097="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.2100995-467-258242896747097 `" ) && 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-277vdinrain/tmp1m_4sg17 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.2100995-467-258242896747097/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.2100995-467-258242896747097/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.2100995-467-258242896747097/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.2100995-467-258242896747097/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.2100995-467-258242896747097/ > /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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } 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-1769157635.0921297-467-274850917897168 `" && echo ansible-tmp-1769157635.0921297-467-274850917897168="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.0921297-467-274850917897168 `" ) && 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-277vdinrain/tmps9gkrtme TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.0921297-467-274850917897168/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.0921297-467-274850917897168/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.0921297-467-274850917897168/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.0921297-467-274850917897168/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.0921297-467-274850917897168/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:40:26Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37418",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:26Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:26Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" 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-1769157636.0209906-565-154311002208104 `" && echo ansible-tmp-1769157636.0209906-565-154311002208104="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.0209906-565-154311002208104 `" ) && 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-277vdinrain/tmpqx9f3wh_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.0209906-565-154311002208104/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.0209906-565-154311002208104/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.0209906-565-154311002208104/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.0209906-565-154311002208104/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.0209906-565-154311002208104/ > /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-01-23T08:40:27Z",  "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\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:27Z"  },  {  "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-01-23T08:40:27Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37436",  "uid": "2c8b8b84-3969-4f32-9f72-e5a46a9f393c"  },  "spec": {  "clusterIP": "10.217.5.3",  "clusterIPs": [  "10.217.5.3"  ],  "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-01-23T08:40:38Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:38Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:38Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:38Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:38Z","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":"3829601949413842048","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/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",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:39Z","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":"3829601949413842048","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:40:39Z","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-01-23T08:40:39Z","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 [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:39Z","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":"8881477254464749116","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-01-23T08:40:39Z","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":"8881477254464749116","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- 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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:39Z","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":"3256906383903723822","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:40:40Z","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-01-23T08:40:40Z","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"]}} {"level":"info","ts":"2026-01-23T08:40:40Z","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 [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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:40:40Z","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":"3256906383903723822","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:40Z","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":"3829601949413842048","EventData.Name":"smartgateway : Create 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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:40:29Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37460",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:29Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:29Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:40Z","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":"7422536595500005836","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 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:40Z","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":"3829601949413842048","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- 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-01-23T08:40:40Z","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":"7422536595500005836","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:40Z","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":"8881477254464749116","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-01-23T08:40:41Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-event-sg-core-configmap"} {"level":"info","ts":"2026-01-23T08:40:41Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40:41Z","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 [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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:41Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7422536595500005836","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: 3f723cec50b249578164d82db0fe18ea ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/3f723cec50b249578164d82db0fe18ea 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/3f723cec50b249578164d82db0fe18ea 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157632.7574039-414-4056269743619 `" && echo ansible-tmp-1769157632.7574039-414-4056269743619="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.7574039-414-4056269743619 `" ) && 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-3754i9yeo0_/tmpa8eo3xsd TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.7574039-414-4056269743619/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.7574039-414-4056269743619/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.7574039-414-4056269743619/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.7574039-414-4056269743619/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157632.7574039-414-4056269743619/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157634.1508558-468-167565524209742 `" && echo ansible-tmp-1769157634.1508558-468-167565524209742="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.1508558-468-167565524209742 `" ) && 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-3754i9yeo0_/tmpj8ud2w3o TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.1508558-468-167565524209742/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.1508558-468-167565524209742/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.1508558-468-167565524209742/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.1508558-468-167565524209742/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.1508558-468-167565524209742/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157635.3273253-547-75629528121303 `" && echo ansible-tmp-1769157635.3273253-547-75629528121303="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.3273253-547-75629528121303 `" ) && 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-3754i9yeo0_/tmp9xfna0sq TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.3273253-547-75629528121303/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.3273253-547-75629528121303/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.3273253-547-75629528121303/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.3273253-547-75629528121303/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157635.3273253-547-75629528121303/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157636.2208576-589-231139195806565 `" && echo ansible-tmp-1769157636.2208576-589-231139195806565="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.2208576-589-231139195806565 `" ) && 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-3754i9yeo0_/tmp6l7wqdsb TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.2208576-589-231139195806565/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.2208576-589-231139195806565/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.2208576-589-231139195806565/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.2208576-589-231139195806565/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.2208576-589-231139195806565/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157638.3224442-649-254234097775119 `" && echo ansible-tmp-1769157638.3224442-649-254234097775119="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.3224442-649-254234097775119 `" ) && 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-3754i9yeo0_/tmpbnyhqs4z TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.3224442-649-254234097775119/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.3224442-649-254234097775119/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.3224442-649-254234097775119/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.3224442-649-254234097775119/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.3224442-649-254234097775119/ > /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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } 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-1769157639.755935-649-52340563744865 `" && echo ansible-tmp-1769157639.755935-649-52340563744865="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.755935-649-52340563744865 `" ) && 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-3754i9yeo0_/tmpkmxyv0vh TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.755935-649-52340563744865/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.755935-649-52340563744865/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.755935-649-52340563744865/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.755935-649-52340563744865/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.755935-649-52340563744865/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:40:29Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37460",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:29Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:29Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" 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-1769157640.8912406-751-182671938010398 `" && echo ansible-tmp-1769157640.8912406-751-182671938010398="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.8912406-751-182671938010398 `" ) && 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-3754i9yeo0_/tmplz2fwulc TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.8912406-751-182671938010398/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.8912406-751-182671938010398/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.8912406-751-182671938010398/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.8912406-751-182671938010398/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.8912406-751-182671938010398/ > /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-01-23T08:40:30Z",  "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\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:30Z"  },  {  "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-01-23T08:40:30Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37471",  "uid": "ddbb9170-b044-4e12-8feb-241892a55b7e"  },  "spec": {  "clusterIP": "10.217.5.76",  "clusterIPs": [  "10.217.5.76"  ],  "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-01-23T08:40:41Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:41Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:41Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:41Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:41Z","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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:42Z","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":"8881477254464749116","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:42Z","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":"3829601949413842048","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-event-smartgateway"} {"level":"info","ts":"2026-01-23T08:40:42Z","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-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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37602",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z","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":"3256906383903723822","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-01-23T08:40:42Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3256906383903723822","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: 872bf341291b42dfa6842c98d36579f5 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/872bf341291b42dfa6842c98d36579f5 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/872bf341291b42dfa6842c98d36579f5 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157634.9647567-516-272154932179952 `" && echo ansible-tmp-1769157634.9647567-516-272154932179952="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.9647567-516-272154932179952 `" ) && 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-457ab263no_/tmpno34slo4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.9647567-516-272154932179952/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.9647567-516-272154932179952/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.9647567-516-272154932179952/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.9647567-516-272154932179952/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157634.9647567-516-272154932179952/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157636.1963139-581-68137520595440 `" && echo ansible-tmp-1769157636.1963139-581-68137520595440="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.1963139-581-68137520595440 `" ) && 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-457ab263no_/tmpnvq20utb TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.1963139-581-68137520595440/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.1963139-581-68137520595440/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.1963139-581-68137520595440/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.1963139-581-68137520595440/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157636.1963139-581-68137520595440/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157638.199379-633-85145908116177 `" && echo ansible-tmp-1769157638.199379-633-85145908116177="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.199379-633-85145908116177 `" ) && 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-457ab263no_/tmpg02aeifp TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.199379-633-85145908116177/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.199379-633-85145908116177/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.199379-633-85145908116177/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.199379-633-85145908116177/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157638.199379-633-85145908116177/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157639.8192158-705-22649801714470 `" && echo ansible-tmp-1769157639.8192158-705-22649801714470="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.8192158-705-22649801714470 `" ) && 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-457ab263no_/tmpcmfpmsaj TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.8192158-705-22649801714470/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.8192158-705-22649801714470/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.8192158-705-22649801714470/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.8192158-705-22649801714470/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.8192158-705-22649801714470/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157640.78987-729-1275302727684 `" && echo ansible-tmp-1769157640.78987-729-1275302727684="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.78987-729-1275302727684 `" ) && 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-457ab263no_/tmpy04nucef TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.78987-729-1275302727684/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.78987-729-1275302727684/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.78987-729-1275302727684/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.78987-729-1275302727684/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.78987-729-1275302727684/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } 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-1769157641.7002017-729-129790027978401 `" && echo ansible-tmp-1769157641.7002017-729-129790027978401="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157641.7002017-729-129790027978401 `" ) && 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-457ab263no_/tmplqil6684 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157641.7002017-729-129790027978401/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157641.7002017-729-129790027978401/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157641.7002017-729-129790027978401/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157641.7002017-729-129790027978401/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157641.7002017-729-129790027978401/ > /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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37602",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:42Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:42Z","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":"3829601949413842048","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: 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:40:42Z","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":"8881477254464749116","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:43Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-event-sg-core-configmap"} {"level":"info","ts":"2026-01-23T08:40:43Z","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-01-23T08:40:43Z","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":"3829601949413842048","EventData.Name":"smartgateway : Deploy 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: 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:45Z","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":"5954979356380415567","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-01-23T08:40:45Z","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":"5954979356380415567","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:40:46Z","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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:46Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-event-smartgateway"} {"level":"info","ts":"2026-01-23T08:40:46Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-01-23T08:40: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-01-23T08:40:47Z","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 : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:47Z","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":"5954979356380415567","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-01-23T08:40:47Z","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":"5954979356380415567","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-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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40:46Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37638",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:49Z","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":"8881477254464749116","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:40:34Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37504",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:34Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:34Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" 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-01-23T08:40: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":"3829601949413842048","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-01-23T08:40: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":"3829601949413842048","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8881477254464749116","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: d728543043b24ddf9d70955baa0ac02a ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/d728543043b24ddf9d70955baa0ac02a 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/d728543043b24ddf9d70955baa0ac02a 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157637.7066863-615-245135083231139 `" && echo ansible-tmp-1769157637.7066863-615-245135083231139="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157637.7066863-615-245135083231139 `" ) && 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-51022q1lg0p/tmphxy6_men TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157637.7066863-615-245135083231139/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157637.7066863-615-245135083231139/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157637.7066863-615-245135083231139/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157637.7066863-615-245135083231139/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157637.7066863-615-245135083231139/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157639.631442-684-139949455012324 `" && echo ansible-tmp-1769157639.631442-684-139949455012324="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.631442-684-139949455012324 `" ) && 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-51022q1lg0p/tmp394gkfhu TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.631442-684-139949455012324/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.631442-684-139949455012324/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.631442-684-139949455012324/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.631442-684-139949455012324/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.631442-684-139949455012324/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157640.9413714-752-267081473468371 `" && echo ansible-tmp-1769157640.9413714-752-267081473468371="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9413714-752-267081473468371 `" ) && 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-51022q1lg0p/tmpcene0o4y TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9413714-752-267081473468371/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9413714-752-267081473468371/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9413714-752-267081473468371/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9413714-752-267081473468371/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9413714-752-267081473468371/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157642.041308-807-150631167098947 `" && echo ansible-tmp-1769157642.041308-807-150631167098947="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.041308-807-150631167098947 `" ) && 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-51022q1lg0p/tmp96zeq08x TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.041308-807-150631167098947/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.041308-807-150631167098947/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.041308-807-150631167098947/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.041308-807-150631167098947/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.041308-807-150631167098947/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157643.0246663-847-203584800653276 `" && echo ansible-tmp-1769157643.0246663-847-203584800653276="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.0246663-847-203584800653276 `" ) && 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-51022q1lg0p/tmp1b4dpm8b TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.0246663-847-203584800653276/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.0246663-847-203584800653276/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.0246663-847-203584800653276/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.0246663-847-203584800653276/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.0246663-847-203584800653276/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } 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-1769157643.9033716-847-257177484235019 `" && echo ansible-tmp-1769157643.9033716-847-257177484235019="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.9033716-847-257177484235019 `" ) && 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-51022q1lg0p/tmprh0kc8nf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.9033716-847-257177484235019/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.9033716-847-257177484235019/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.9033716-847-257177484235019/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.9033716-847-257177484235019/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.9033716-847-257177484235019/ > /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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40:46Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37638",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:50Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:50Z","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-01-23T08:40:50Z","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-01-23T08:40:50Z","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":"5954979356380415567","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:40:51Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3829601949413842048","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: 9c8fddd7689e415cb2f82ee1f5e2013a ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/9c8fddd7689e415cb2f82ee1f5e2013a 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/9c8fddd7689e415cb2f82ee1f5e2013a 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157639.2472029-668-114439561955121 `" && echo ansible-tmp-1769157639.2472029-668-114439561955121="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.2472029-668-114439561955121 `" ) && 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-6148aan8ai7/tmpdvffjepc TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.2472029-668-114439561955121/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.2472029-668-114439561955121/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.2472029-668-114439561955121/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.2472029-668-114439561955121/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157639.2472029-668-114439561955121/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157640.9475574-750-154116378280872 `" && echo ansible-tmp-1769157640.9475574-750-154116378280872="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9475574-750-154116378280872 `" ) && 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-6148aan8ai7/tmp3bodxr8l TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9475574-750-154116378280872/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9475574-750-154116378280872/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9475574-750-154116378280872/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9475574-750-154116378280872/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157640.9475574-750-154116378280872/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157642.1347308-822-162445026631927 `" && echo ansible-tmp-1769157642.1347308-822-162445026631927="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.1347308-822-162445026631927 `" ) && 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-6148aan8ai7/tmpd_ncs3rv TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.1347308-822-162445026631927/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.1347308-822-162445026631927/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.1347308-822-162445026631927/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.1347308-822-162445026631927/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.1347308-822-162445026631927/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157642.9678502-844-135977182036788 `" && echo ansible-tmp-1769157642.9678502-844-135977182036788="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.9678502-844-135977182036788 `" ) && 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-6148aan8ai7/tmp7xz1to8g TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.9678502-844-135977182036788/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.9678502-844-135977182036788/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.9678502-844-135977182036788/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.9678502-844-135977182036788/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157642.9678502-844-135977182036788/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157643.878984-878-91709983710516 `" && echo ansible-tmp-1769157643.878984-878-91709983710516="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.878984-878-91709983710516 `" ) && 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-6148aan8ai7/tmphthf_i8s TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.878984-878-91709983710516/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.878984-878-91709983710516/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.878984-878-91709983710516/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.878984-878-91709983710516/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157643.878984-878-91709983710516/ > /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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } 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-1769157646.3443809-878-176543310144173 `" && echo ansible-tmp-1769157646.3443809-878-176543310144173="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157646.3443809-878-176543310144173 `" ) && 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-6148aan8ai7/tmpkngjxv8j TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157646.3443809-878-176543310144173/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157646.3443809-878-176543310144173/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157646.3443809-878-176543310144173/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157646.3443809-878-176543310144173/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157646.3443809-878-176543310144173/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:40:34Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37504",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:34Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:34Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" 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-1769157650.0275338-953-242895522348761 `" && echo ansible-tmp-1769157650.0275338-953-242895522348761="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157650.0275338-953-242895522348761 `" ) && 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-6148aan8ai7/tmpbhjmtn7e TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157650.0275338-953-242895522348761/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157650.0275338-953-242895522348761/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157650.0275338-953-242895522348761/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157650.0275338-953-242895522348761/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157650.0275338-953-242895522348761/ > /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-01-23T08:40:35Z",  "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\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:35Z"  },  {  "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-01-23T08:40:35Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37533",  "uid": "8fde16f4-21e5-497d-814d-101244195c0c"  },  "spec": {  "clusterIP": "10.217.4.76",  "clusterIPs": [  "10.217.4.76"  ],  "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-01-23T08:40:51Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:51Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:51Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:51Z","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-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-01-23T08:40:51Z","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":"4706436474338584581","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-01-23T08:40:51Z","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":"4706436474338584581","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:51Z","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":"5954979356380415567","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:40: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"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:52Z","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":"4706436474338584581","EventData.Name":"smartgateway : Create 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: 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:40:52Z","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":"5954979356380415567","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-01-23T08:40:52Z","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":"4706436474338584581","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:53Z","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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40: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 : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:53Z","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":"4706436474338584581","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/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-01-23T08:40:54Z","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":"6322487590994497182","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:40:54Z","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 [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-01-23T08:40:54Z","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":"8321739778853190881","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-01-23T08:40:54Z","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":"6322487590994497182","EventData.Name":"smartgateway : Check for existing cookie 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/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-01-23T08:40:54Z","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":"5302069487687742274","EventData.TaskArgs":""} --------------------------- 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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37706",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" 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-01-23T08:40: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":"5954979356380415567","EventData.Name":"smartgateway : Deploy services requested by this 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-01-23T08:40:54Z","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":"8321739778853190881","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:54Z","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":"4706436474338584581","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:54Z","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":"5302069487687742274","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5954979356380415567","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: e1ce88270fe3478994c00f9f60b4c4ed ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/e1ce88270fe3478994c00f9f60b4c4ed 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/e1ce88270fe3478994c00f9f60b4c4ed 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157645.8346012-908-34101417324149 `" && echo ansible-tmp-1769157645.8346012-908-34101417324149="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157645.8346012-908-34101417324149 `" ) && 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-870rocvit7u/tmpolb10yek TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157645.8346012-908-34101417324149/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157645.8346012-908-34101417324149/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157645.8346012-908-34101417324149/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157645.8346012-908-34101417324149/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157645.8346012-908-34101417324149/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157647.3331335-940-244841915527243 `" && echo ansible-tmp-1769157647.3331335-940-244841915527243="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157647.3331335-940-244841915527243 `" ) && 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-870rocvit7u/tmp_ntqwd1r TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157647.3331335-940-244841915527243/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157647.3331335-940-244841915527243/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157647.3331335-940-244841915527243/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157647.3331335-940-244841915527243/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157647.3331335-940-244841915527243/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157651.0101564-977-174557281097057 `" && echo ansible-tmp-1769157651.0101564-977-174557281097057="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.0101564-977-174557281097057 `" ) && 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-870rocvit7u/tmpp5w2bnxi TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.0101564-977-174557281097057/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.0101564-977-174557281097057/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.0101564-977-174557281097057/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.0101564-977-174557281097057/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.0101564-977-174557281097057/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157651.8437858-1007-59882414573661 `" && echo ansible-tmp-1769157651.8437858-1007-59882414573661="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.8437858-1007-59882414573661 `" ) && 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-870rocvit7u/tmp4a6dlbw0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.8437858-1007-59882414573661/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.8437858-1007-59882414573661/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.8437858-1007-59882414573661/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.8437858-1007-59882414573661/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.8437858-1007-59882414573661/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157652.783871-1030-78382378594213 `" && echo ansible-tmp-1769157652.783871-1030-78382378594213="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.783871-1030-78382378594213 `" ) && 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-870rocvit7u/tmpx_3v_qcg TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.783871-1030-78382378594213/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.783871-1030-78382378594213/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.783871-1030-78382378594213/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.783871-1030-78382378594213/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.783871-1030-78382378594213/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } 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-1769157653.6948607-1030-96308598822828 `" && echo ansible-tmp-1769157653.6948607-1030-96308598822828="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.6948607-1030-96308598822828 `" ) && 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-870rocvit7u/tmpo1od98pc TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.6948607-1030-96308598822828/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.6948607-1030-96308598822828/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.6948607-1030-96308598822828/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.6948607-1030-96308598822828/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.6948607-1030-96308598822828/ > /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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37706",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" 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-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:54Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:55Z","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-01-23T08:40: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":"6322487590994497182","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-01-23T08:40: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":"6322487590994497182","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:40:55Z","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 [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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:40: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":"4706436474338584581","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:55Z","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-01-23T08:40: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":"8321739778853190881","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-01-23T08:40: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":"5302069487687742274","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-01-23T08:40: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":"8321739778853190881","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-01-23T08:40: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":"5302069487687742274","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- 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-01-23T08:40:56Z","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":"655590569487910820","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-01-23T08:40: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":"655590569487910820","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:40:56Z","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-01-23T08:40:56Z","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] ******************************** 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:56Z","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":"6322487590994497182","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:40:56Z","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-01-23T08:40:56Z","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-01-23T08:40:56Z","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":"8321739778853190881","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-01-23T08:40: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":"5302069487687742274","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:40:57Z","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-01-23T08:40:57Z","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 [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40: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":"655590569487910820","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:57Z","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":"6322487590994497182","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40: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":"655590569487910820","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- 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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37727",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" 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-01-23T08:40: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":"4706436474338584581","EventData.Name":"smartgateway : Deploy services requested by this 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-01-23T08:40: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":"8321739778853190881","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4706436474338584581","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 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: 83144cebf0a74a20b2b443f6a25016b0 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/83144cebf0a74a20b2b443f6a25016b0 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/83144cebf0a74a20b2b443f6a25016b0 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157651.687377-996-11241056868837 `" && echo ansible-tmp-1769157651.687377-996-11241056868837="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.687377-996-11241056868837 `" ) && 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-9716g09r292/tmpkwrm9yhg TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.687377-996-11241056868837/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.687377-996-11241056868837/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.687377-996-11241056868837/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.687377-996-11241056868837/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157651.687377-996-11241056868837/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157652.7946315-1031-122691742043777 `" && echo ansible-tmp-1769157652.7946315-1031-122691742043777="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.7946315-1031-122691742043777 `" ) && 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-9716g09r292/tmps5bo5_f1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.7946315-1031-122691742043777/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.7946315-1031-122691742043777/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.7946315-1031-122691742043777/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.7946315-1031-122691742043777/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157652.7946315-1031-122691742043777/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157653.8307471-1081-2255437995790 `" && echo ansible-tmp-1769157653.8307471-1081-2255437995790="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.8307471-1081-2255437995790 `" ) && 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-9716g09r292/tmpsi43unwf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.8307471-1081-2255437995790/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.8307471-1081-2255437995790/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.8307471-1081-2255437995790/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.8307471-1081-2255437995790/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157653.8307471-1081-2255437995790/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157654.6662643-1128-257403672200704 `" && echo ansible-tmp-1769157654.6662643-1128-257403672200704="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6662643-1128-257403672200704 `" ) && 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-9716g09r292/tmpe_39kr9n TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6662643-1128-257403672200704/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6662643-1128-257403672200704/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6662643-1128-257403672200704/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6662643-1128-257403672200704/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6662643-1128-257403672200704/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157655.5700986-1179-18794246773741 `" && echo ansible-tmp-1769157655.5700986-1179-18794246773741="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.5700986-1179-18794246773741 `" ) && 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-9716g09r292/tmp_17e75vq TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.5700986-1179-18794246773741/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.5700986-1179-18794246773741/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.5700986-1179-18794246773741/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.5700986-1179-18794246773741/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.5700986-1179-18794246773741/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } 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-1769157656.5252612-1179-172770667473128 `" && echo ansible-tmp-1769157656.5252612-1179-172770667473128="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5252612-1179-172770667473128 `" ) && 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-9716g09r292/tmpbbnyiv5v TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5252612-1179-172770667473128/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5252612-1179-172770667473128/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5252612-1179-172770667473128/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5252612-1179-172770667473128/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5252612-1179-172770667473128/ > /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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37727",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" 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-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:40:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40: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":"5302069487687742274","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-01-23T08:40:58Z","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":"6322487590994497182","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-01-23T08:40:58Z","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":"8321739778853190881","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:40:58Z","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-01-23T08:40: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":"655590569487910820","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: 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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40: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":"5302069487687742274","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:59Z","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":"7511308658864374857","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:40:59Z","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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:59Z","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40: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":"7511308658864374857","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- 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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:40:59Z","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"]}} {"level":"info","ts":"2026-01-23T08:40: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":"655590569487910820","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 ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:00Z","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37704",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:00Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:00Z","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":"6322487590994497182","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 ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:41:00Z","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":"6322487590994497182","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:00Z","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 [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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37724",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" 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-01-23T08:41:00Z","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":"8321739778853190881","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:00Z","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":"7511308658864374857","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- 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-01-23T08:41:00Z","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":"8321739778853190881","EventData.Name":"smartgateway : Deploy Service for 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-01-23T08:41:00Z","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":"7511308658864374857","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:00Z","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 [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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:41:00Z","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":"655590569487910820","EventData.Name":"smartgateway : Deploy 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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37712",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" 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-01-23T08:41:00Z","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":"5302069487687742274","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:00Z","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":"5302069487687742274","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 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:01Z","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-01-23T08:41:01Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:01Z","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-01-23T08:41:01Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6322487590994497182","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: 97c1e6b459364458a0fddbfbe876f9c3 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/97c1e6b459364458a0fddbfbe876f9c3 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/97c1e6b459364458a0fddbfbe876f9c3 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157654.470774-1107-7961218913718 `" && echo ansible-tmp-1769157654.470774-1107-7961218913718="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.470774-1107-7961218913718 `" ) && 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-105931o5uoww/tmpoyt51bn2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.470774-1107-7961218913718/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.470774-1107-7961218913718/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.470774-1107-7961218913718/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.470774-1107-7961218913718/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.470774-1107-7961218913718/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157655.536162-1178-212358442588706 `" && echo ansible-tmp-1769157655.536162-1178-212358442588706="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.536162-1178-212358442588706 `" ) && 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-105931o5uoww/tmpo6log2ga TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.536162-1178-212358442588706/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.536162-1178-212358442588706/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.536162-1178-212358442588706/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.536162-1178-212358442588706/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.536162-1178-212358442588706/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157656.5862586-1270-276890331316152 `" && echo ansible-tmp-1769157656.5862586-1270-276890331316152="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5862586-1270-276890331316152 `" ) && 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-105931o5uoww/tmpmg1gozf_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5862586-1270-276890331316152/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5862586-1270-276890331316152/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5862586-1270-276890331316152/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5862586-1270-276890331316152/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.5862586-1270-276890331316152/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157657.4277427-1319-65947733253909 `" && echo ansible-tmp-1769157657.4277427-1319-65947733253909="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.4277427-1319-65947733253909 `" ) && 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-105931o5uoww/tmpq4n_w2l9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.4277427-1319-65947733253909/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.4277427-1319-65947733253909/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.4277427-1319-65947733253909/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.4277427-1319-65947733253909/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.4277427-1319-65947733253909/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157658.503863-1384-248519007175093 `" && echo ansible-tmp-1769157658.503863-1384-248519007175093="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.503863-1384-248519007175093 `" ) && 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-105931o5uoww/tmpbh4krd4z TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.503863-1384-248519007175093/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.503863-1384-248519007175093/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.503863-1384-248519007175093/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.503863-1384-248519007175093/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.503863-1384-248519007175093/ > /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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } 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-1769157659.386422-1384-234538322307054 `" && echo ansible-tmp-1769157659.386422-1384-234538322307054="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.386422-1384-234538322307054 `" ) && 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-105931o5uoww/tmp8n9mls2k TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.386422-1384-234538322307054/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.386422-1384-234538322307054/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.386422-1384-234538322307054/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.386422-1384-234538322307054/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.386422-1384-234538322307054/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37704",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" 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-1769157660.3450615-1523-196081596502497 `" && echo ansible-tmp-1769157660.3450615-1523-196081596502497="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.3450615-1523-196081596502497 `" ) && 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-105931o5uoww/tmpvo_jptvj TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.3450615-1523-196081596502497/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.3450615-1523-196081596502497/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.3450615-1523-196081596502497/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.3450615-1523-196081596502497/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.3450615-1523-196081596502497/ > /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-01-23T08:40:27Z",  "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\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:27Z"  },  {  "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-01-23T08:40:27Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37436",  "uid": "2c8b8b84-3969-4f32-9f72-e5a46a9f393c"  },  "spec": {  "clusterIP": "10.217.5.3",  "clusterIPs": [  "10.217.5.3"  ],  "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-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8321739778853190881","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: 85d3eeb0bef24038a1f9a0af0a634761 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/85d3eeb0bef24038a1f9a0af0a634761 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/85d3eeb0bef24038a1f9a0af0a634761 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157654.648875-1124-186575526812119 `" && echo ansible-tmp-1769157654.648875-1124-186575526812119="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.648875-1124-186575526812119 `" ) && 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-10611c6amfbq/tmp4hrqadlc TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.648875-1124-186575526812119/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.648875-1124-186575526812119/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.648875-1124-186575526812119/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.648875-1124-186575526812119/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.648875-1124-186575526812119/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157655.7427197-1208-113467118525788 `" && echo ansible-tmp-1769157655.7427197-1208-113467118525788="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7427197-1208-113467118525788 `" ) && 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-10611c6amfbq/tmpk38fgwrb TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7427197-1208-113467118525788/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7427197-1208-113467118525788/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7427197-1208-113467118525788/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7427197-1208-113467118525788/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7427197-1208-113467118525788/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157656.8332253-1286-85504899876546 `" && echo ansible-tmp-1769157656.8332253-1286-85504899876546="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8332253-1286-85504899876546 `" ) && 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-10611c6amfbq/tmpfnp7v6ti TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8332253-1286-85504899876546/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8332253-1286-85504899876546/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8332253-1286-85504899876546/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8332253-1286-85504899876546/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8332253-1286-85504899876546/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157657.686051-1346-108304991291394 `" && echo ansible-tmp-1769157657.686051-1346-108304991291394="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.686051-1346-108304991291394 `" ) && 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-10611c6amfbq/tmpwghhgtwn TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.686051-1346-108304991291394/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.686051-1346-108304991291394/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.686051-1346-108304991291394/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.686051-1346-108304991291394/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.686051-1346-108304991291394/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157658.618523-1400-262313698309890 `" && echo ansible-tmp-1769157658.618523-1400-262313698309890="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.618523-1400-262313698309890 `" ) && 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-10611c6amfbq/tmpcqteid0b TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.618523-1400-262313698309890/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.618523-1400-262313698309890/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.618523-1400-262313698309890/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.618523-1400-262313698309890/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.618523-1400-262313698309890/ > /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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } 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-1769157659.532305-1400-69440779615084 `" && echo ansible-tmp-1769157659.532305-1400-69440779615084="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.532305-1400-69440779615084 `" ) && 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-10611c6amfbq/tmpv3txk_nu TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.532305-1400-69440779615084/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.532305-1400-69440779615084/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.532305-1400-69440779615084/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.532305-1400-69440779615084/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.532305-1400-69440779615084/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37724",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" 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-1769157660.5482795-1542-16184990162640 `" && echo ansible-tmp-1769157660.5482795-1542-16184990162640="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5482795-1542-16184990162640 `" ) && 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-10611c6amfbq/tmpaett_14e TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5482795-1542-16184990162640/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5482795-1542-16184990162640/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5482795-1542-16184990162640/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5482795-1542-16184990162640/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5482795-1542-16184990162640/ > /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-01-23T08:40:30Z",  "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\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:30Z"  },  {  "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-01-23T08:40:30Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37471",  "uid": "ddbb9170-b044-4e12-8feb-241892a55b7e"  },  "spec": {  "clusterIP": "10.217.5.76",  "clusterIPs": [  "10.217.5.76"  ],  "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-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:01Z","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-01-23T08:41: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":"7511308658864374857","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-01-23T08:41:01Z","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"]}} --------------------------- 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } ------------------------------------------------------------------------------- ----- 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 ---------- {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5302069487687742274","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ----- 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: 3833900a6d534c55955c112a7f83ef98 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/3833900a6d534c55955c112a7f83ef98 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/3833900a6d534c55955c112a7f83ef98 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157654.6798577-1130-229790171423416 `" && echo ansible-tmp-1769157654.6798577-1130-229790171423416="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6798577-1130-229790171423416 `" ) && 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-1060_fghiax3/tmpgyxftfux TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6798577-1130-229790171423416/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6798577-1130-229790171423416/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6798577-1130-229790171423416/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6798577-1130-229790171423416/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157654.6798577-1130-229790171423416/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157655.7811778-1209-160760234416835 `" && echo ansible-tmp-1769157655.7811778-1209-160760234416835="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7811778-1209-160760234416835 `" ) && 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-1060_fghiax3/tmp8vhlvlue TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7811778-1209-160760234416835/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7811778-1209-160760234416835/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7811778-1209-160760234416835/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7811778-1209-160760234416835/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157655.7811778-1209-160760234416835/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157656.8933036-1297-114063623332753 `" && echo ansible-tmp-1769157656.8933036-1297-114063623332753="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8933036-1297-114063623332753 `" ) && 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-1060_fghiax3/tmpdq_e7rdl TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8933036-1297-114063623332753/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8933036-1297-114063623332753/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8933036-1297-114063623332753/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8933036-1297-114063623332753/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.8933036-1297-114063623332753/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157657.886695-1366-24897954831571 `" && echo ansible-tmp-1769157657.886695-1366-24897954831571="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.886695-1366-24897954831571 `" ) && 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-1060_fghiax3/tmpr9qhhapi TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.886695-1366-24897954831571/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.886695-1366-24897954831571/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.886695-1366-24897954831571/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.886695-1366-24897954831571/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.886695-1366-24897954831571/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157658.8941905-1433-127451278570274 `" && echo ansible-tmp-1769157658.8941905-1433-127451278570274="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.8941905-1433-127451278570274 `" ) && 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-1060_fghiax3/tmpsdpfc4fe TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.8941905-1433-127451278570274/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.8941905-1433-127451278570274/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.8941905-1433-127451278570274/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.8941905-1433-127451278570274/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.8941905-1433-127451278570274/ > /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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } 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-1769157659.8434176-1433-130479805315364 `" && echo ansible-tmp-1769157659.8434176-1433-130479805315364="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.8434176-1433-130479805315364 `" ) && 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-1060_fghiax3/tmpypreiozy TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.8434176-1433-130479805315364/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.8434176-1433-130479805315364/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.8434176-1433-130479805315364/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.8434176-1433-130479805315364/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.8434176-1433-130479805315364/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:40:53Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37712",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:53Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2026-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" 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-1769157660.9913077-1587-189412407323193 `" && echo ansible-tmp-1769157660.9913077-1587-189412407323193="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.9913077-1587-189412407323193 `" ) && 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-1060_fghiax3/tmp675stxrj TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.9913077-1587-189412407323193/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.9913077-1587-189412407323193/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.9913077-1587-189412407323193/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.9913077-1587-189412407323193/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.9913077-1587-189412407323193/ > /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-01-23T08:40:35Z",  "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\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:35Z"  },  {  "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-01-23T08:40:35Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37533",  "uid": "8fde16f4-21e5-497d-814d-101244195c0c"  },  "spec": {  "clusterIP": "10.217.4.76",  "clusterIPs": [  "10.217.4.76"  ],  "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-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:02Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:02Z","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 [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:02Z","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":"7511308658864374857","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- 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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:41:02Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37847",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:02Z",  "lastUpdateTime": "2026-01-23T08:41:02Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41: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":"655590569487910820","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/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-01-23T08:41:03Z","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":"7830883855368764425","EventData.TaskArgs":""} ----- 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 ---------- {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"655590569487910820","name":"default-cloud1-coll-event","namespace":"service-telemetry"} ----- 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: d74db94cd04546879ac5ba1e5c2f976d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/d74db94cd04546879ac5ba1e5c2f976d 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/d74db94cd04546879ac5ba1e5c2f976d 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157656.2701654-1242-95061408344573 `" && echo ansible-tmp-1769157656.2701654-1242-95061408344573="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.2701654-1242-95061408344573 `" ) && 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-1170tjjvadwl/tmpetr7qs4v TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.2701654-1242-95061408344573/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.2701654-1242-95061408344573/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.2701654-1242-95061408344573/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.2701654-1242-95061408344573/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157656.2701654-1242-95061408344573/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157657.5331087-1330-163619676488457 `" && echo ansible-tmp-1769157657.5331087-1330-163619676488457="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.5331087-1330-163619676488457 `" ) && 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-1170tjjvadwl/tmp4m8fo2f6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.5331087-1330-163619676488457/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.5331087-1330-163619676488457/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.5331087-1330-163619676488457/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.5331087-1330-163619676488457/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157657.5331087-1330-163619676488457/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157658.7888021-1417-36474209702861 `" && echo ansible-tmp-1769157658.7888021-1417-36474209702861="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.7888021-1417-36474209702861 `" ) && 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-1170tjjvadwl/tmp2744bqwy TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.7888021-1417-36474209702861/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.7888021-1417-36474209702861/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.7888021-1417-36474209702861/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.7888021-1417-36474209702861/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157658.7888021-1417-36474209702861/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157659.7645094-1493-81297883529174 `" && echo ansible-tmp-1769157659.7645094-1493-81297883529174="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.7645094-1493-81297883529174 `" ) && 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-1170tjjvadwl/tmpnw48h2hw TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.7645094-1493-81297883529174/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.7645094-1493-81297883529174/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.7645094-1493-81297883529174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.7645094-1493-81297883529174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.7645094-1493-81297883529174/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157660.8962345-1567-249796022870224 `" && echo ansible-tmp-1769157660.8962345-1567-249796022870224="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.8962345-1567-249796022870224 `" ) && 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-1170tjjvadwl/tmp9tqn7x0q TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.8962345-1567-249796022870224/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.8962345-1567-249796022870224/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.8962345-1567-249796022870224/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.8962345-1567-249796022870224/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.8962345-1567-249796022870224/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } 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-1769157661.9751647-1567-265845591180936 `" && echo ansible-tmp-1769157661.9751647-1567-265845591180936="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.9751647-1567-265845591180936 `" ) && 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-1170tjjvadwl/tmpoc8zudrp TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.9751647-1567-265845591180936/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.9751647-1567-265845591180936/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.9751647-1567-265845591180936/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.9751647-1567-265845591180936/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.9751647-1567-265845591180936/ > /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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:41:02Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37847",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:02Z",  "lastUpdateTime": "2026-01-23T08:41:02Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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 [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-01-23T08:41:03Z","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":"8285860973329762175","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:03Z","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":"7830883855368764425","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-01-23T08:41:03Z","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":"8285860973329762175","EventData.Name":"smartgateway : Check for existing cookie 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/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-01-23T08:41:03Z","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":"4673136769152634741","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-01-23T08:41:03Z","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":"4673136769152634741","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: 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:41: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":"7511308658864374857","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41: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"]}} {"level":"info","ts":"2026-01-23T08:41: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-01-23T08:41:04Z","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":"7830883855368764425","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-01-23T08:41:04Z","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":"8285860973329762175","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** {"level":"info","ts":"2026-01-23T08:41:04Z","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":"7960431893627178289","EventData.TaskArgs":""} 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",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:04Z","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":"7830883855368764425","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-01-23T08:41:04Z","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":"8285860973329762175","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:04Z","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41: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":"7960431893627178289","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:05Z","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-01-23T08:41:05Z","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":"4673136769152634741","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-01-23T08:41:05Z","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":"4673136769152634741","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:05Z","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-01-23T08:41: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"]}} {"level":"info","ts":"2026-01-23T08:41: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 [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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37888",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:05Z","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":"7830883855368764425","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- 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-01-23T08:41: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":"7511308658864374857","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-01-23T08:41:05Z","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":"8285860973329762175","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:41:05Z","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-01-23T08:41: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":"7960431893627178289","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-01-23T08:41: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":"7960431893627178289","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7511308658864374857","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 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: ee577e71fcab43f1bed38f712996a399 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/ee577e71fcab43f1bed38f712996a399 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/ee577e71fcab43f1bed38f712996a399 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157659.3881035-1452-272918263835188 `" && echo ansible-tmp-1769157659.3881035-1452-272918263835188="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.3881035-1452-272918263835188 `" ) && 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-1379p61n604l/tmpm_02kk9g TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.3881035-1452-272918263835188/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.3881035-1452-272918263835188/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.3881035-1452-272918263835188/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.3881035-1452-272918263835188/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157659.3881035-1452-272918263835188/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157660.5849128-1543-150993194725619 `" && echo ansible-tmp-1769157660.5849128-1543-150993194725619="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5849128-1543-150993194725619 `" ) && 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-1379p61n604l/tmpmfr1len0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5849128-1543-150993194725619/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5849128-1543-150993194725619/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5849128-1543-150993194725619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5849128-1543-150993194725619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157660.5849128-1543-150993194725619/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157661.8806305-1608-8925286130950 `" && echo ansible-tmp-1769157661.8806305-1608-8925286130950="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.8806305-1608-8925286130950 `" ) && 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-1379p61n604l/tmp7i6g_dlf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.8806305-1608-8925286130950/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.8806305-1608-8925286130950/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.8806305-1608-8925286130950/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.8806305-1608-8925286130950/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157661.8806305-1608-8925286130950/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157662.8991117-1651-225862190129724 `" && echo ansible-tmp-1769157662.8991117-1651-225862190129724="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157662.8991117-1651-225862190129724 `" ) && 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-1379p61n604l/tmp2yc3odnq TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157662.8991117-1651-225862190129724/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157662.8991117-1651-225862190129724/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157662.8991117-1651-225862190129724/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157662.8991117-1651-225862190129724/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157662.8991117-1651-225862190129724/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157664.024088-1712-22403172539947 `" && echo ansible-tmp-1769157664.024088-1712-22403172539947="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.024088-1712-22403172539947 `" ) && 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-1379p61n604l/tmpjztep_ic TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.024088-1712-22403172539947/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.024088-1712-22403172539947/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.024088-1712-22403172539947/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.024088-1712-22403172539947/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.024088-1712-22403172539947/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } 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-1769157664.9338837-1712-30556432763926 `" && echo ansible-tmp-1769157664.9338837-1712-30556432763926="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.9338837-1712-30556432763926 `" ) && 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-1379p61n604l/tmpl8xnrn9g TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.9338837-1712-30556432763926/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.9338837-1712-30556432763926/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.9338837-1712-30556432763926/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.9338837-1712-30556432763926/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.9338837-1712-30556432763926/ > /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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37888",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:06Z","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-01-23T08:41:06Z","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":"4673136769152634741","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-01-23T08:41:06Z","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":"7830883855368764425","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-01-23T08:41:06Z","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":"8285860973329762175","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:41:07Z","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-01-23T08:41: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":"7960431893627178289","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-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-01-23T08:41:07Z","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":"2482442335489062798","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:07Z","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":"4673136769152634741","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:07Z","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":"2482442335489062798","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-01-23T08:41:07Z","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":"7830883855368764425","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: 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-01-23T08:41:07Z","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":"8285860973329762175","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-01-23T08:41:08Z","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":"7960431893627178289","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: 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-01-23T08:41:08Z","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":"4673136769152634741","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:08Z","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-01-23T08:41:08Z","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 [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41: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":"2482442335489062798","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-01-23T08:41: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":"2482442335489062798","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- 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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:08Z","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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:41:09Z","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":"7960431893627178289","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:09Z","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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:09Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:09Z","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-01-23T08:41:09Z","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 : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:09Z","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":"2482442335489062798","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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37873",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:09Z","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":"7830883855368764425","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-01-23T08:41:09Z","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":"7830883855368764425","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37862",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:09Z","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":"8285860973329762175","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-01-23T08:41:09Z","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":"8285860973329762175","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:10Z","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-01-23T08:41:10Z","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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } ------------------------------------------------------------------------------- --------------------------- 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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37884",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:10Z","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":"4673136769152634741","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-01-23T08:41:10Z","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":"4673136769152634741","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:10Z","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-01-23T08:41:10Z","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":"2482442335489062798","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:41:10Z","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-01-23T08:41:10Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7830883855368764425","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: 40882238281b41c188f79e3b68e165bd ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/40882238281b41c188f79e3b68e165bd 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/40882238281b41c188f79e3b68e165bd 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157663.4256494-1676-186244803125769 `" && echo ansible-tmp-1769157663.4256494-1676-186244803125769="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.4256494-1676-186244803125769 `" ) && 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-1625zebkxyfx/tmppsw05qy9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.4256494-1676-186244803125769/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.4256494-1676-186244803125769/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.4256494-1676-186244803125769/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.4256494-1676-186244803125769/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.4256494-1676-186244803125769/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157664.707142-1748-273293947643447 `" && echo ansible-tmp-1769157664.707142-1748-273293947643447="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.707142-1748-273293947643447 `" ) && 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-1625zebkxyfx/tmpcqw9gtof TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.707142-1748-273293947643447/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.707142-1748-273293947643447/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.707142-1748-273293947643447/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.707142-1748-273293947643447/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.707142-1748-273293947643447/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157665.758814-1825-129746038962323 `" && echo ansible-tmp-1769157665.758814-1825-129746038962323="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.758814-1825-129746038962323 `" ) && 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-1625zebkxyfx/tmptq_tnbns TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.758814-1825-129746038962323/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.758814-1825-129746038962323/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.758814-1825-129746038962323/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.758814-1825-129746038962323/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.758814-1825-129746038962323/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157666.6456833-1888-164958439908242 `" && echo ansible-tmp-1769157666.6456833-1888-164958439908242="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.6456833-1888-164958439908242 `" ) && 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-1625zebkxyfx/tmpdpa6sc7d TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.6456833-1888-164958439908242/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.6456833-1888-164958439908242/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.6456833-1888-164958439908242/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.6456833-1888-164958439908242/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.6456833-1888-164958439908242/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157667.7073424-1964-27133842430813 `" && echo ansible-tmp-1769157667.7073424-1964-27133842430813="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.7073424-1964-27133842430813 `" ) && 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-1625zebkxyfx/tmp2lntihee TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.7073424-1964-27133842430813/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.7073424-1964-27133842430813/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.7073424-1964-27133842430813/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.7073424-1964-27133842430813/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.7073424-1964-27133842430813/ > /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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } 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-1769157668.7751114-1964-207686896029513 `" && echo ansible-tmp-1769157668.7751114-1964-207686896029513="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.7751114-1964-207686896029513 `" ) && 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-1625zebkxyfx/tmpy9f417l1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.7751114-1964-207686896029513/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.7751114-1964-207686896029513/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.7751114-1964-207686896029513/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.7751114-1964-207686896029513/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.7751114-1964-207686896029513/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37873",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-1769157669.8264778-2120-233644917802119 `" && echo ansible-tmp-1769157669.8264778-2120-233644917802119="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.8264778-2120-233644917802119 `" ) && 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-1625zebkxyfx/tmpo3vz722j TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.8264778-2120-233644917802119/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.8264778-2120-233644917802119/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.8264778-2120-233644917802119/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.8264778-2120-233644917802119/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.8264778-2120-233644917802119/ > /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-01-23T08:40:30Z",  "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\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:30Z"  },  {  "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-01-23T08:40:30Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37471",  "uid": "ddbb9170-b044-4e12-8feb-241892a55b7e"  },  "spec": {  "clusterIP": "10.217.5.76",  "clusterIPs": [  "10.217.5.76"  ],  "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-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8285860973329762175","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: 0b75dada9e9d49feb4d47e624783815c ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/0b75dada9e9d49feb4d47e624783815c 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/0b75dada9e9d49feb4d47e624783815c 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157663.51372-1686-91548713423609 `" && echo ansible-tmp-1769157663.51372-1686-91548713423609="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.51372-1686-91548713423609 `" ) && 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-1623u3gs0wm8/tmplhh9oa7h TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.51372-1686-91548713423609/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.51372-1686-91548713423609/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.51372-1686-91548713423609/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.51372-1686-91548713423609/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.51372-1686-91548713423609/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157664.725396-1749-103790160393612 `" && echo ansible-tmp-1769157664.725396-1749-103790160393612="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.725396-1749-103790160393612 `" ) && 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-1623u3gs0wm8/tmp7m5j7ngf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.725396-1749-103790160393612/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.725396-1749-103790160393612/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.725396-1749-103790160393612/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.725396-1749-103790160393612/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.725396-1749-103790160393612/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157665.7701044-1827-113523226012861 `" && echo ansible-tmp-1769157665.7701044-1827-113523226012861="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.7701044-1827-113523226012861 `" ) && 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-1623u3gs0wm8/tmpy2ghz864 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.7701044-1827-113523226012861/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.7701044-1827-113523226012861/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.7701044-1827-113523226012861/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.7701044-1827-113523226012861/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.7701044-1827-113523226012861/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157666.907897-1905-126612558393953 `" && echo ansible-tmp-1769157666.907897-1905-126612558393953="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.907897-1905-126612558393953 `" ) && 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-1623u3gs0wm8/tmp6ijaw8xo TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.907897-1905-126612558393953/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.907897-1905-126612558393953/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.907897-1905-126612558393953/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.907897-1905-126612558393953/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.907897-1905-126612558393953/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157667.9741402-1984-41440745173739 `" && echo ansible-tmp-1769157667.9741402-1984-41440745173739="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.9741402-1984-41440745173739 `" ) && 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-1623u3gs0wm8/tmp8sioilhf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.9741402-1984-41440745173739/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.9741402-1984-41440745173739/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.9741402-1984-41440745173739/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.9741402-1984-41440745173739/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.9741402-1984-41440745173739/ > /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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } 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-1769157668.8542242-1984-160027129948785 `" && echo ansible-tmp-1769157668.8542242-1984-160027129948785="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.8542242-1984-160027129948785 `" ) && 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-1623u3gs0wm8/tmplhsg1bp3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.8542242-1984-160027129948785/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.8542242-1984-160027129948785/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.8542242-1984-160027129948785/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.8542242-1984-160027129948785/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.8542242-1984-160027129948785/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37862",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-1769157669.9062521-2138-42198073314662 `" && echo ansible-tmp-1769157669.9062521-2138-42198073314662="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.9062521-2138-42198073314662 `" ) && 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-1623u3gs0wm8/tmpbn2hytmb TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.9062521-2138-42198073314662/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.9062521-2138-42198073314662/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.9062521-2138-42198073314662/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.9062521-2138-42198073314662/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.9062521-2138-42198073314662/ > /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-01-23T08:40:27Z",  "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\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:27Z"  },  {  "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-01-23T08:40:27Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37436",  "uid": "2c8b8b84-3969-4f32-9f72-e5a46a9f393c"  },  "spec": {  "clusterIP": "10.217.5.3",  "clusterIPs": [  "10.217.5.3"  ],  "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-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:10Z","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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37877",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:11Z","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":"7960431893627178289","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:11Z","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-01-23T08:41:11Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7960431893627178289","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: 4b034d8bbf884a6b9c8febcd854c4514 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/4b034d8bbf884a6b9c8febcd854c4514 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/4b034d8bbf884a6b9c8febcd854c4514 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157664.8822224-1770-249417864506054 `" && echo ansible-tmp-1769157664.8822224-1770-249417864506054="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.8822224-1770-249417864506054 `" ) && 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-1688_wb70i73/tmphls9i4f_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.8822224-1770-249417864506054/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.8822224-1770-249417864506054/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.8822224-1770-249417864506054/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.8822224-1770-249417864506054/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157664.8822224-1770-249417864506054/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157666.0288289-1855-147865061262143 `" && echo ansible-tmp-1769157666.0288289-1855-147865061262143="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.0288289-1855-147865061262143 `" ) && 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-1688_wb70i73/tmpi4c6zuv9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.0288289-1855-147865061262143/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.0288289-1855-147865061262143/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.0288289-1855-147865061262143/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.0288289-1855-147865061262143/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.0288289-1855-147865061262143/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157667.213305-1920-204615352967380 `" && echo ansible-tmp-1769157667.213305-1920-204615352967380="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.213305-1920-204615352967380 `" ) && 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-1688_wb70i73/tmpjq2wz087 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.213305-1920-204615352967380/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.213305-1920-204615352967380/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.213305-1920-204615352967380/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.213305-1920-204615352967380/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.213305-1920-204615352967380/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157668.2093768-1999-207759571082534 `" && echo ansible-tmp-1769157668.2093768-1999-207759571082534="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.2093768-1999-207759571082534 `" ) && 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-1688_wb70i73/tmpvhna99ua TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.2093768-1999-207759571082534/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.2093768-1999-207759571082534/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.2093768-1999-207759571082534/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.2093768-1999-207759571082534/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.2093768-1999-207759571082534/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157669.1796696-2077-116755791047765 `" && echo ansible-tmp-1769157669.1796696-2077-116755791047765="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.1796696-2077-116755791047765 `" ) && 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-1688_wb70i73/tmpvj1bp7y5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.1796696-2077-116755791047765/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.1796696-2077-116755791047765/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.1796696-2077-116755791047765/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.1796696-2077-116755791047765/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.1796696-2077-116755791047765/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } 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-1769157670.3007433-2077-84653179292674 `" && echo ansible-tmp-1769157670.3007433-2077-84653179292674="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3007433-2077-84653179292674 `" ) && 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-1688_wb70i73/tmp78z4fht8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3007433-2077-84653179292674/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3007433-2077-84653179292674/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3007433-2077-84653179292674/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3007433-2077-84653179292674/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3007433-2077-84653179292674/ > /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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37877",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:41:11Z","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":"2482442335489062798","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4673136769152634741","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: f27cd2ea7d104056982e29cd3056fcb4 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/f27cd2ea7d104056982e29cd3056fcb4 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/f27cd2ea7d104056982e29cd3056fcb4 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157663.9812653-1713-242869072867170 `" && echo ansible-tmp-1769157663.9812653-1713-242869072867170="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.9812653-1713-242869072867170 `" ) && 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-1642kzp3va_c/tmpbbgw7eo5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.9812653-1713-242869072867170/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.9812653-1713-242869072867170/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.9812653-1713-242869072867170/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.9812653-1713-242869072867170/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157663.9812653-1713-242869072867170/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157665.3118575-1806-107584907608859 `" && echo ansible-tmp-1769157665.3118575-1806-107584907608859="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.3118575-1806-107584907608859 `" ) && 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-1642kzp3va_c/tmp7ibrdxdk TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.3118575-1806-107584907608859/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.3118575-1806-107584907608859/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.3118575-1806-107584907608859/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.3118575-1806-107584907608859/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157665.3118575-1806-107584907608859/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157666.4171398-1872-195991503730461 `" && echo ansible-tmp-1769157666.4171398-1872-195991503730461="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.4171398-1872-195991503730461 `" ) && 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-1642kzp3va_c/tmpzdey4au8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.4171398-1872-195991503730461/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.4171398-1872-195991503730461/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.4171398-1872-195991503730461/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.4171398-1872-195991503730461/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157666.4171398-1872-195991503730461/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157667.452969-1938-59287399287289 `" && echo ansible-tmp-1769157667.452969-1938-59287399287289="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.452969-1938-59287399287289 `" ) && 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-1642kzp3va_c/tmpib1yi12z TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.452969-1938-59287399287289/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.452969-1938-59287399287289/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.452969-1938-59287399287289/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.452969-1938-59287399287289/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.452969-1938-59287399287289/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157668.4355457-2015-211740528982585 `" && echo ansible-tmp-1769157668.4355457-2015-211740528982585="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.4355457-2015-211740528982585 `" ) && 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-1642kzp3va_c/tmp3e0tysxs TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.4355457-2015-211740528982585/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.4355457-2015-211740528982585/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.4355457-2015-211740528982585/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.4355457-2015-211740528982585/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.4355457-2015-211740528982585/ > /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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } 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-1769157669.4125984-2015-114036271940439 `" && echo ansible-tmp-1769157669.4125984-2015-114036271940439="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.4125984-2015-114036271940439 `" ) && 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-1642kzp3va_c/tmpwcl7ic8l TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.4125984-2015-114036271940439/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.4125984-2015-114036271940439/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.4125984-2015-114036271940439/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.4125984-2015-114036271940439/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.4125984-2015-114036271940439/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37884",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-1769157670.3912334-2168-237543027440765 `" && echo ansible-tmp-1769157670.3912334-2168-237543027440765="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3912334-2168-237543027440765 `" ) && 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-1642kzp3va_c/tmpd85vul3i TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3912334-2168-237543027440765/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3912334-2168-237543027440765/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3912334-2168-237543027440765/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3912334-2168-237543027440765/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.3912334-2168-237543027440765/ > /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-01-23T08:40:35Z",  "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\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:35Z"  },  {  "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-01-23T08:40:35Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37533",  "uid": "8fde16f4-21e5-497d-814d-101244195c0c"  },  "spec": {  "clusterIP": "10.217.4.76",  "clusterIPs": [  "10.217.4.76"  ],  "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-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:11Z","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-01-23T08:41:12Z","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":"9172496657119081417","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:41:12Z","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:12Z","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":"9172496657119081417","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:41:12Z","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":"8889506945810098271","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-01-23T08:41:12Z","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":"8889506945810098271","EventData.Name":"smartgateway : Check for existing cookie 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/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-01-23T08:41:12Z","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":"2457113772890837809","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-01-23T08:41:12Z","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":"2457113772890837809","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:41:13Z","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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37888",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:13Z","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-01-23T08:41:13Z","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":"2482442335489062798","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:13Z","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":"9172496657119081417","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-01-23T08:41:13Z","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":"9172496657119081417","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:13Z","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-01-23T08:41:13Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2482442335489062798","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: 1d53b73742e6421ba43b4cf993c21a10 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/1d53b73742e6421ba43b4cf993c21a10 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/1d53b73742e6421ba43b4cf993c21a10 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157667.5194225-1951-148276550977222 `" && echo ansible-tmp-1769157667.5194225-1951-148276550977222="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.5194225-1951-148276550977222 `" ) && 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-1868_92zvbti/tmpvgxry0cw TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.5194225-1951-148276550977222/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.5194225-1951-148276550977222/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.5194225-1951-148276550977222/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.5194225-1951-148276550977222/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157667.5194225-1951-148276550977222/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157668.6830344-2031-162150312084505 `" && echo ansible-tmp-1769157668.6830344-2031-162150312084505="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.6830344-2031-162150312084505 `" ) && 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-1868_92zvbti/tmpa6o5qb0d TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.6830344-2031-162150312084505/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.6830344-2031-162150312084505/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.6830344-2031-162150312084505/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.6830344-2031-162150312084505/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157668.6830344-2031-162150312084505/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157669.7640505-2108-49809919099481 `" && echo ansible-tmp-1769157669.7640505-2108-49809919099481="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.7640505-2108-49809919099481 `" ) && 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-1868_92zvbti/tmpmbv6jozh TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.7640505-2108-49809919099481/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.7640505-2108-49809919099481/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.7640505-2108-49809919099481/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.7640505-2108-49809919099481/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157669.7640505-2108-49809919099481/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157670.6037135-2183-153741366344471 `" && echo ansible-tmp-1769157670.6037135-2183-153741366344471="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.6037135-2183-153741366344471 `" ) && 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-1868_92zvbti/tmpz37_e40y TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.6037135-2183-153741366344471/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.6037135-2183-153741366344471/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.6037135-2183-153741366344471/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.6037135-2183-153741366344471/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157670.6037135-2183-153741366344471/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157671.5003328-2214-226737509837574 `" && echo ansible-tmp-1769157671.5003328-2214-226737509837574="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157671.5003328-2214-226737509837574 `" ) && 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-1868_92zvbti/tmpmm6g4buy TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157671.5003328-2214-226737509837574/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157671.5003328-2214-226737509837574/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157671.5003328-2214-226737509837574/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157671.5003328-2214-226737509837574/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157671.5003328-2214-226737509837574/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } 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-1769157672.3441737-2214-241738476470776 `" && echo ansible-tmp-1769157672.3441737-2214-241738476470776="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.3441737-2214-241738476470776 `" ) && 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-1868_92zvbti/tmp3e_gah6k TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.3441737-2214-241738476470776/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.3441737-2214-241738476470776/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.3441737-2214-241738476470776/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.3441737-2214-241738476470776/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.3441737-2214-241738476470776/ > /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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37888",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:13Z","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-01-23T08:41:13Z","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":"8889506945810098271","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-01-23T08:41:13Z","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":"8889506945810098271","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:13Z","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-01-23T08:41:14Z","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":"2457113772890837809","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-01-23T08:41:14Z","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":"2457113772890837809","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:14Z","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-01-23T08:41:14Z","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":"9172496657119081417","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:41:14Z","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-01-23T08:41:14Z","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":"8889506945810098271","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-01-23T08:41:15Z","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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:15Z","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":"8889506945810098271","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-01-23T08:41:15Z","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":"9172496657119081417","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-01-23T08:41:16Z","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":"2457113772890837809","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-01-23T08:41:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:16Z","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: 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-01-23T08:41:16Z","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":"8889506945810098271","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-01-23T08:41:16Z","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":"9172496657119081417","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-01-23T08:41:17Z","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":"2457113772890837809","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- 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-01-23T08:41:17Z","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":"539519380433814818","EventData.TaskArgs":""} {"level":"info","ts":"2026-01-23T08:41:17Z","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-01-23T08:41:17Z","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: 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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } ------------------------------------------------------------------------------- --------------------------- 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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:17Z","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":"2457113772890837809","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:17Z","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":"539519380433814818","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-01-23T08:41:18Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:18Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:18Z","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': '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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37862",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41: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":"8889506945810098271","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37873",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41:18Z","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":"9172496657119081417","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-01-23T08:41: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":"8889506945810098271","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 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:18Z","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":"9172496657119081417","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- 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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:18Z","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-01-23T08:41: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":"539519380433814818","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-01-23T08:41: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":"539519380433814818","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:19Z","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-01-23T08:41:19Z","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-01-23T08:41:19Z","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 [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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37884",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-01-23T08:41: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":"2457113772890837809","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-01-23T08:41: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":"2457113772890837809","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:19Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8889506945810098271","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: 7becbb7308e84a8f87303d619d2d212f ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/7becbb7308e84a8f87303d619d2d212f 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/7becbb7308e84a8f87303d619d2d212f 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157672.5606837-2267-27604603269570 `" && echo ansible-tmp-1769157672.5606837-2267-27604603269570="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.5606837-2267-27604603269570 `" ) && 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-2206mwb4fdxd/tmpqsz4z0yu TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.5606837-2267-27604603269570/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.5606837-2267-27604603269570/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.5606837-2267-27604603269570/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.5606837-2267-27604603269570/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.5606837-2267-27604603269570/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157673.7842715-2322-162936561363501 `" && echo ansible-tmp-1769157673.7842715-2322-162936561363501="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.7842715-2322-162936561363501 `" ) && 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-2206mwb4fdxd/tmpt0pszlnh TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.7842715-2322-162936561363501/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.7842715-2322-162936561363501/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.7842715-2322-162936561363501/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.7842715-2322-162936561363501/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.7842715-2322-162936561363501/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157674.8744438-2369-95911867209110 `" && echo ansible-tmp-1769157674.8744438-2369-95911867209110="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.8744438-2369-95911867209110 `" ) && 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-2206mwb4fdxd/tmp370kuxpb TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.8744438-2369-95911867209110/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.8744438-2369-95911867209110/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.8744438-2369-95911867209110/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.8744438-2369-95911867209110/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.8744438-2369-95911867209110/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157675.966917-2386-67798089998927 `" && echo ansible-tmp-1769157675.966917-2386-67798089998927="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.966917-2386-67798089998927 `" ) && 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-2206mwb4fdxd/tmpzmdlpx7o TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.966917-2386-67798089998927/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.966917-2386-67798089998927/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.966917-2386-67798089998927/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.966917-2386-67798089998927/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.966917-2386-67798089998927/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157676.933548-2435-205529467435236 `" && echo ansible-tmp-1769157676.933548-2435-205529467435236="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.933548-2435-205529467435236 `" ) && 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-2206mwb4fdxd/tmps120r9iu TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.933548-2435-205529467435236/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.933548-2435-205529467435236/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.933548-2435-205529467435236/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.933548-2435-205529467435236/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.933548-2435-205529467435236/ > /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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } 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-1769157677.961756-2435-24712428990387 `" && echo ansible-tmp-1769157677.961756-2435-24712428990387="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.961756-2435-24712428990387 `" ) && 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-2206mwb4fdxd/tmpsp9xjyc8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.961756-2435-24712428990387/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.961756-2435-24712428990387/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.961756-2435-24712428990387/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.961756-2435-24712428990387/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.961756-2435-24712428990387/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37862",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-1769157678.899752-2548-47279764574034 `" && echo ansible-tmp-1769157678.899752-2548-47279764574034="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.899752-2548-47279764574034 `" ) && 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-2206mwb4fdxd/tmp2_1s9v_c TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.899752-2548-47279764574034/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.899752-2548-47279764574034/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.899752-2548-47279764574034/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.899752-2548-47279764574034/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.899752-2548-47279764574034/ > /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-01-23T08:40:27Z",  "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\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:27Z"  },  {  "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-01-23T08:40:27Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37436",  "uid": "2c8b8b84-3969-4f32-9f72-e5a46a9f393c"  },  "spec": {  "clusterIP": "10.217.5.3",  "clusterIPs": [  "10.217.5.3"  ],  "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-01-23T08:41:19Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:19Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:19Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:19Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:19Z","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-01-23T08:41:20Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"9172496657119081417","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: 1c4e3ef7bf134a00a23b14870194691e ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/1c4e3ef7bf134a00a23b14870194691e 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/1c4e3ef7bf134a00a23b14870194691e 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157672.285884-2240-170713085625213 `" && echo ansible-tmp-1769157672.285884-2240-170713085625213="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.285884-2240-170713085625213 `" ) && 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-2204xfybuw9s/tmp1fhcnzcq TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.285884-2240-170713085625213/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.285884-2240-170713085625213/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.285884-2240-170713085625213/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.285884-2240-170713085625213/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157672.285884-2240-170713085625213/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157673.4944005-2307-107336293612082 `" && echo ansible-tmp-1769157673.4944005-2307-107336293612082="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.4944005-2307-107336293612082 `" ) && 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-2204xfybuw9s/tmpcibmqq6d TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.4944005-2307-107336293612082/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.4944005-2307-107336293612082/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.4944005-2307-107336293612082/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.4944005-2307-107336293612082/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.4944005-2307-107336293612082/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157674.6724296-2354-75062874029463 `" && echo ansible-tmp-1769157674.6724296-2354-75062874029463="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.6724296-2354-75062874029463 `" ) && 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-2204xfybuw9s/tmpwdo7glbd TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.6724296-2354-75062874029463/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.6724296-2354-75062874029463/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.6724296-2354-75062874029463/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.6724296-2354-75062874029463/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.6724296-2354-75062874029463/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157675.9826686-2390-137876835704320 `" && echo ansible-tmp-1769157675.9826686-2390-137876835704320="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.9826686-2390-137876835704320 `" ) && 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-2204xfybuw9s/tmpdk7yknov TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.9826686-2390-137876835704320/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.9826686-2390-137876835704320/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.9826686-2390-137876835704320/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.9826686-2390-137876835704320/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157675.9826686-2390-137876835704320/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157676.9728792-2437-25579931716721 `" && echo ansible-tmp-1769157676.9728792-2437-25579931716721="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.9728792-2437-25579931716721 `" ) && 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-2204xfybuw9s/tmpygwl9zee TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.9728792-2437-25579931716721/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.9728792-2437-25579931716721/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.9728792-2437-25579931716721/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.9728792-2437-25579931716721/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.9728792-2437-25579931716721/ > /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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } 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-1769157677.9621642-2437-186508952172103 `" && echo ansible-tmp-1769157677.9621642-2437-186508952172103="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9621642-2437-186508952172103 `" ) && 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-2204xfybuw9s/tmpafiu7bc9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9621642-2437-186508952172103/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9621642-2437-186508952172103/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9621642-2437-186508952172103/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9621642-2437-186508952172103/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9621642-2437-186508952172103/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37873",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-1769157678.9077191-2549-192842822759603 `" && echo ansible-tmp-1769157678.9077191-2549-192842822759603="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9077191-2549-192842822759603 `" ) && 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-2204xfybuw9s/tmpye2y9z26 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9077191-2549-192842822759603/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9077191-2549-192842822759603/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9077191-2549-192842822759603/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9077191-2549-192842822759603/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9077191-2549-192842822759603/ > /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-01-23T08:40:30Z",  "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\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:30Z"  },  {  "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-01-23T08:40:30Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37471",  "uid": "ddbb9170-b044-4e12-8feb-241892a55b7e"  },  "spec": {  "clusterIP": "10.217.5.76",  "clusterIPs": [  "10.217.5.76"  ],  "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-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:20Z","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-01-23T08:41: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":"539519380433814818","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:41:20Z","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-01-23T08:41:20Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2457113772890837809","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: 65891d1a5c9b433f873d0459ecd091a0 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/65891d1a5c9b433f873d0459ecd091a0 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/65891d1a5c9b433f873d0459ecd091a0 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157673.0174687-2288-275038367869196 `" && echo ansible-tmp-1769157673.0174687-2288-275038367869196="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.0174687-2288-275038367869196 `" ) && 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-2232fs2ovyrh/tmpittug04g TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.0174687-2288-275038367869196/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.0174687-2288-275038367869196/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.0174687-2288-275038367869196/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.0174687-2288-275038367869196/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157673.0174687-2288-275038367869196/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157674.1604652-2339-97546475002718 `" && echo ansible-tmp-1769157674.1604652-2339-97546475002718="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.1604652-2339-97546475002718 `" ) && 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-2232fs2ovyrh/tmp1lrx0w5c TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.1604652-2339-97546475002718/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.1604652-2339-97546475002718/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.1604652-2339-97546475002718/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.1604652-2339-97546475002718/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157674.1604652-2339-97546475002718/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157676.0444596-2406-201975513860063 `" && echo ansible-tmp-1769157676.0444596-2406-201975513860063="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.0444596-2406-201975513860063 `" ) && 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-2232fs2ovyrh/tmp5qaq8scj TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.0444596-2406-201975513860063/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.0444596-2406-201975513860063/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.0444596-2406-201975513860063/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.0444596-2406-201975513860063/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157676.0444596-2406-201975513860063/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157677.078676-2464-161846046605312 `" && echo ansible-tmp-1769157677.078676-2464-161846046605312="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.078676-2464-161846046605312 `" ) && 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-2232fs2ovyrh/tmpxj4wmyr5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.078676-2464-161846046605312/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.078676-2464-161846046605312/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.078676-2464-161846046605312/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.078676-2464-161846046605312/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.078676-2464-161846046605312/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157677.9923356-2490-47874045573355 `" && echo ansible-tmp-1769157677.9923356-2490-47874045573355="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9923356-2490-47874045573355 `" ) && 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-2232fs2ovyrh/tmp4qa3nv2f TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9923356-2490-47874045573355/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9923356-2490-47874045573355/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9923356-2490-47874045573355/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9923356-2490-47874045573355/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9923356-2490-47874045573355/ > /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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } 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-1769157678.9279156-2490-102367018775780 `" && echo ansible-tmp-1769157678.9279156-2490-102367018775780="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9279156-2490-102367018775780 `" ) && 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-2232fs2ovyrh/tmpm0ckh437 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9279156-2490-102367018775780/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9279156-2490-102367018775780/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9279156-2490-102367018775780/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9279156-2490-102367018775780/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157678.9279156-2490-102367018775780/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:41:03Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37884",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:03Z",  "lastUpdateTime": "2026-01-23T08:41:03Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "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-1769157679.8131795-2609-141790957772171 `" && echo ansible-tmp-1769157679.8131795-2609-141790957772171="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.8131795-2609-141790957772171 `" ) && 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-2232fs2ovyrh/tmp88xinxit TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.8131795-2609-141790957772171/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.8131795-2609-141790957772171/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.8131795-2609-141790957772171/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.8131795-2609-141790957772171/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.8131795-2609-141790957772171/ > /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-01-23T08:40:35Z",  "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\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:35Z"  },  {  "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-01-23T08:40:35Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37533",  "uid": "8fde16f4-21e5-497d-814d-101244195c0c"  },  "spec": {  "clusterIP": "10.217.4.76",  "clusterIPs": [  "10.217.4.76"  ],  "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-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41: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":"539519380433814818","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 ------------------------------------------------------------------------------- --------------------------- 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:41: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":"539519380433814818","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:22Z","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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:23Z","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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:41:16Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37973",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:16Z",  "lastUpdateTime": "2026-01-23T08:41:16Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41:23Z","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":"539519380433814818","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:24Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"539519380433814818","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: f91ccc8fe03e43c2ad1c8d2d597ef2f2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/f91ccc8fe03e43c2ad1c8d2d597ef2f2 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/f91ccc8fe03e43c2ad1c8d2d597ef2f2 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157677.9734995-2491-28081491125252 `" && echo ansible-tmp-1769157677.9734995-2491-28081491125252="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9734995-2491-28081491125252 `" ) && 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-24286w8_2aui/tmp7cnqjqa7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9734995-2491-28081491125252/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9734995-2491-28081491125252/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9734995-2491-28081491125252/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9734995-2491-28081491125252/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157677.9734995-2491-28081491125252/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157679.1293652-2589-184117759998802 `" && echo ansible-tmp-1769157679.1293652-2589-184117759998802="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.1293652-2589-184117759998802 `" ) && 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-24286w8_2aui/tmprs__gg4l TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.1293652-2589-184117759998802/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.1293652-2589-184117759998802/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.1293652-2589-184117759998802/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.1293652-2589-184117759998802/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157679.1293652-2589-184117759998802/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157680.1610475-2624-257524494157085 `" && echo ansible-tmp-1769157680.1610475-2624-257524494157085="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157680.1610475-2624-257524494157085 `" ) && 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-24286w8_2aui/tmp8thzuvu6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157680.1610475-2624-257524494157085/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157680.1610475-2624-257524494157085/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157680.1610475-2624-257524494157085/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157680.1610475-2624-257524494157085/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157680.1610475-2624-257524494157085/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157681.2476447-2641-256780420315194 `" && echo ansible-tmp-1769157681.2476447-2641-256780420315194="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157681.2476447-2641-256780420315194 `" ) && 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-24286w8_2aui/tmp1v_34kvj TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157681.2476447-2641-256780420315194/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157681.2476447-2641-256780420315194/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157681.2476447-2641-256780420315194/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157681.2476447-2641-256780420315194/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157681.2476447-2641-256780420315194/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157682.209942-2657-199961091862851 `" && echo ansible-tmp-1769157682.209942-2657-199961091862851="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157682.209942-2657-199961091862851 `" ) && 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-24286w8_2aui/tmp_apex3he TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157682.209942-2657-199961091862851/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157682.209942-2657-199961091862851/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157682.209942-2657-199961091862851/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157682.209942-2657-199961091862851/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157682.209942-2657-199961091862851/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:41Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:41Z"  }  ],  "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": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37595",  "uid": "dffd86cc-a901-4b81-a8df-f4d2fda0c1bd"  }  } } 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-1769157683.0797799-2657-191114510912678 `" && echo ansible-tmp-1769157683.0797799-2657-191114510912678="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157683.0797799-2657-191114510912678 `" ) && 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-24286w8_2aui/tmpd8cgrvij TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157683.0797799-2657-191114510912678/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157683.0797799-2657-191114510912678/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157683.0797799-2657-191114510912678/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157683.0797799-2657-191114510912678/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157683.0797799-2657-191114510912678/ > /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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b729b4e8-cc6b-4249-8d6c-7a04d1243ba1\"}": {}  }  },  "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-01-23T08:40:42Z"  },  {  "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-01-23T08:41:16Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "b729b4e8-cc6b-4249-8d6c-7a04d1243ba1"  }  ],  "resourceVersion": "37973",  "uid": "698c96a2-de11-4033-9de5-b124e734cfb9"  },  "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-dh69f8b855",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:42Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-74df4947b6\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:16Z",  "lastUpdateTime": "2026-01-23T08:41:16Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:24Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:35Z","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-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-01-23T08:41:36Z","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":"3555640408021225581","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-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-01-23T08:41:37Z","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":"1371383543496903640","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/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-01-23T08:41:37Z","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":"4780543113084212603","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",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:37Z","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":"3920944488728784663","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-01-23T08:41:37Z","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":"3555640408021225581","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:41:37Z","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":"1371383543496903640","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-01-23T08:41:37Z","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":"4780543113084212603","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-01-23T08:41:37Z","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":"3920944488728784663","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-01-23T08:41:38Z","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-01-23T08:41:38Z","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":"3555640408021225581","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-01-23T08:41:38Z","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 Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:38Z","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":"3555640408021225581","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:38Z","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-01-23T08:41:38Z","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-01-23T08:41:38Z","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":"1371383543496903640","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-01-23T08:41:38Z","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":"1371383543496903640","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-01-23T08:41:38Z","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":"3920944488728784663","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-01-23T08:41:38Z","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":"3920944488728784663","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:38Z","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":"4780543113084212603","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-01-23T08:41:39Z","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":"4780543113084212603","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-01-23T08:41:39Z","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-01-23T08:41:39Z","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":"3555640408021225581","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:41:40Z","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-01-23T08:41:40Z","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-01-23T08:41:40Z","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-01-23T08:41:40Z","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":"4780543113084212603","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-01-23T08:41:40Z","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":"1371383543496903640","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 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41: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":"3920944488728784663","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-01-23T08:41:40Z","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":"3555640408021225581","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-01-23T08:41: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":"3920944488728784663","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-01-23T08:41:42Z","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":"4780543113084212603","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-01-23T08:41:42Z","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":"1371383543496903640","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: 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-01-23T08:41:42Z","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":"3555640408021225581","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: 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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41: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":"3920944488728784663","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:41: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":"1371383543496903640","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-01-23T08:41:44Z","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-01-23T08:41:44Z","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":"4780543113084212603","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- 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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:45Z","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-01-23T08:41:46Z","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': '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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:46Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:46Z","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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:47Z","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-01-23T08:41:48Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:48Z","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-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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "38075",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41:48Z","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":"1371383543496903640","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-01-23T08:41:48Z","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":"1371383543496903640","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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "38082",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41: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":"4780543113084212603","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-01-23T08:41: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":"4780543113084212603","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:51Z","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"]}} {"level":"info","ts":"2026-01-23T08:41:51Z","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-01-23T08:41:52Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1371383543496903640","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: 64fae82b31df4c7b9b8759939fb72309 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/64fae82b31df4c7b9b8759939fb72309 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/64fae82b31df4c7b9b8759939fb72309 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157697.3639402-2731-217103919011006 `" && echo ansible-tmp-1769157697.3639402-2731-217103919011006="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.3639402-2731-217103919011006 `" ) && 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-2693zx65f3yf/tmp8b1p1adf TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.3639402-2731-217103919011006/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.3639402-2731-217103919011006/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.3639402-2731-217103919011006/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.3639402-2731-217103919011006/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.3639402-2731-217103919011006/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157698.702893-2790-45924159809944 `" && echo ansible-tmp-1769157698.702893-2790-45924159809944="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.702893-2790-45924159809944 `" ) && 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-2693zx65f3yf/tmp27g3x1px TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.702893-2790-45924159809944/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.702893-2790-45924159809944/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.702893-2790-45924159809944/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.702893-2790-45924159809944/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.702893-2790-45924159809944/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157700.4498684-2861-188576627597284 `" && echo ansible-tmp-1769157700.4498684-2861-188576627597284="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4498684-2861-188576627597284 `" ) && 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-2693zx65f3yf/tmp_h0hodf8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4498684-2861-188576627597284/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4498684-2861-188576627597284/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4498684-2861-188576627597284/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4498684-2861-188576627597284/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4498684-2861-188576627597284/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157702.672356-2935-82723708735363 `" && echo ansible-tmp-1769157702.672356-2935-82723708735363="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.672356-2935-82723708735363 `" ) && 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-2693zx65f3yf/tmp7t96lgxi TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.672356-2935-82723708735363/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.672356-2935-82723708735363/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.672356-2935-82723708735363/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.672356-2935-82723708735363/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.672356-2935-82723708735363/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157704.7094948-2985-155500876053402 `" && echo ansible-tmp-1769157704.7094948-2985-155500876053402="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.7094948-2985-155500876053402 `" ) && 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-2693zx65f3yf/tmpionttynx TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.7094948-2985-155500876053402/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.7094948-2985-155500876053402/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.7094948-2985-155500876053402/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.7094948-2985-155500876053402/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.7094948-2985-155500876053402/ > /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-01-23T08:40:28Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:28Z"  }  ],  "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": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37441",  "uid": "763d10c7-d86b-4513-b55a-4d453a48cdff"  }  } } 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-1769157706.3233333-2985-266642573798924 `" && echo ansible-tmp-1769157706.3233333-2985-266642573798924="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3233333-2985-266642573798924 `" ) && 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-2693zx65f3yf/tmp4rv3ycx5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3233333-2985-266642573798924/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3233333-2985-266642573798924/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3233333-2985-266642573798924/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3233333-2985-266642573798924/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3233333-2985-266642573798924/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:29Z"  },  {  "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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "38075",  "uid": "eeb63641-255d-45b9-9744-2bacf22949fd"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:29Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-57948895dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-1769157708.298597-3088-175358001475503 `" && echo ansible-tmp-1769157708.298597-3088-175358001475503="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.298597-3088-175358001475503 `" ) && 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-2693zx65f3yf/tmpzurgk2gp TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.298597-3088-175358001475503/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.298597-3088-175358001475503/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.298597-3088-175358001475503/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.298597-3088-175358001475503/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.298597-3088-175358001475503/ > /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-01-23T08:40:30Z",  "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\":\"9a69c0be-8bbb-4611-b9a1-e233ca364ec7\"}": {}  }  },  "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-01-23T08:40:30Z"  },  {  "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-01-23T08:40:30Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "9a69c0be-8bbb-4611-b9a1-e233ca364ec7"  }  ],  "resourceVersion": "37471",  "uid": "ddbb9170-b044-4e12-8feb-241892a55b7e"  },  "spec": {  "clusterIP": "10.217.5.76",  "clusterIPs": [  "10.217.5.76"  ],  "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-01-23T08:41:52Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4780543113084212603","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: 85a45314b73844cc81ba4b48d72110d5 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/85a45314b73844cc81ba4b48d72110d5 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/85a45314b73844cc81ba4b48d72110d5 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157697.434478-2741-139777342669136 `" && echo ansible-tmp-1769157697.434478-2741-139777342669136="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.434478-2741-139777342669136 `" ) && 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-2694kxzoktj9/tmpmrh64x6k TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.434478-2741-139777342669136/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.434478-2741-139777342669136/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.434478-2741-139777342669136/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.434478-2741-139777342669136/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.434478-2741-139777342669136/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157699.0645645-2818-203434382223108 `" && echo ansible-tmp-1769157699.0645645-2818-203434382223108="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.0645645-2818-203434382223108 `" ) && 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-2694kxzoktj9/tmpvxr0zs59 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.0645645-2818-203434382223108/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.0645645-2818-203434382223108/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.0645645-2818-203434382223108/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.0645645-2818-203434382223108/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.0645645-2818-203434382223108/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157700.429953-2860-126436098658583 `" && echo ansible-tmp-1769157700.429953-2860-126436098658583="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.429953-2860-126436098658583 `" ) && 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-2694kxzoktj9/tmp2m9vs5x6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.429953-2860-126436098658583/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.429953-2860-126436098658583/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.429953-2860-126436098658583/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.429953-2860-126436098658583/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.429953-2860-126436098658583/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157702.6464489-2923-135049153568419 `" && echo ansible-tmp-1769157702.6464489-2923-135049153568419="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6464489-2923-135049153568419 `" ) && 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-2694kxzoktj9/tmpmq_6swbz TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6464489-2923-135049153568419/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6464489-2923-135049153568419/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6464489-2923-135049153568419/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6464489-2923-135049153568419/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6464489-2923-135049153568419/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157704.723154-2986-121585354866417 `" && echo ansible-tmp-1769157704.723154-2986-121585354866417="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.723154-2986-121585354866417 `" ) && 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-2694kxzoktj9/tmpj8s3q4gk TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.723154-2986-121585354866417/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.723154-2986-121585354866417/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.723154-2986-121585354866417/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.723154-2986-121585354866417/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.723154-2986-121585354866417/ > /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-01-23T08:40:32Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:32Z"  }  ],  "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": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37481",  "uid": "54a0dec6-872f-499e-bd7d-66495d5af8c2"  }  } } 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-1769157706.3086112-2986-171673594974275 `" && echo ansible-tmp-1769157706.3086112-2986-171673594974275="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3086112-2986-171673594974275 `" ) && 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-2694kxzoktj9/tmpkf9o4z_o TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3086112-2986-171673594974275/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3086112-2986-171673594974275/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3086112-2986-171673594974275/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3086112-2986-171673594974275/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.3086112-2986-171673594974275/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:34Z"  },  {  "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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "38082",  "uid": "3f116cb5-a72d-4c5f-8544-cdfac5d1c7f4"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:34Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5759b4d97\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-1769157708.3438025-3095-240992667304706 `" && echo ansible-tmp-1769157708.3438025-3095-240992667304706="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.3438025-3095-240992667304706 `" ) && 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-2694kxzoktj9/tmpqhx00ssi TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.3438025-3095-240992667304706/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.3438025-3095-240992667304706/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.3438025-3095-240992667304706/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.3438025-3095-240992667304706/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157708.3438025-3095-240992667304706/ > /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-01-23T08:40:35Z",  "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\":\"780ab7dd-e9a4-46df-a711-d137fb228d5c\"}": {}  }  },  "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-01-23T08:40:35Z"  },  {  "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-01-23T08:40:35Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "780ab7dd-e9a4-46df-a711-d137fb228d5c"  }  ],  "resourceVersion": "37533",  "uid": "8fde16f4-21e5-497d-814d-101244195c0c"  },  "spec": {  "clusterIP": "10.217.4.76",  "clusterIPs": [  "10.217.4.76"  ],  "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-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- 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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "38066",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41: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":"3920944488728784663","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-01-23T08:41: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":"3920944488728784663","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 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-01-23T08:41:53Z","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 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: 1e8a9530daa8403782e1675247904e84 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/1e8a9530daa8403782e1675247904e84 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/1e8a9530daa8403782e1675247904e84 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co{"level":"info","ts":"2026-01-23T08:41:53Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3920944488728784663","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} ",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157697.4837635-2749-19991820807844 `" && echo ansible-tmp-1769157697.4837635-2749-19991820807844="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.4837635-2749-19991820807844 `" ) && 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-2692h5tp642c/tmpnfg1oyqi TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.4837635-2749-19991820807844/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.4837635-2749-19991820807844/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.4837635-2749-19991820807844/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.4837635-2749-19991820807844/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.4837635-2749-19991820807844/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157698.9629579-2808-99848589532334 `" && echo ansible-tmp-1769157698.9629579-2808-99848589532334="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.9629579-2808-99848589532334 `" ) && 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-2692h5tp642c/tmpz9x8kg58 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.9629579-2808-99848589532334/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.9629579-2808-99848589532334/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.9629579-2808-99848589532334/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.9629579-2808-99848589532334/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.9629579-2808-99848589532334/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157700.4666858-2864-223426640883366 `" && echo ansible-tmp-1769157700.4666858-2864-223426640883366="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4666858-2864-223426640883366 `" ) && 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-2692h5tp642c/tmpwnsiry47 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4666858-2864-223426640883366/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4666858-2864-223426640883366/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4666858-2864-223426640883366/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4666858-2864-223426640883366/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.4666858-2864-223426640883366/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157702.6283443-2920-157576590916801 `" && echo ansible-tmp-1769157702.6283443-2920-157576590916801="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6283443-2920-157576590916801 `" ) && 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-2692h5tp642c/tmp_jyri86n TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6283443-2920-157576590916801/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6283443-2920-157576590916801/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6283443-2920-157576590916801/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6283443-2920-157576590916801/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.6283443-2920-157576590916801/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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-1769157704.6955862-2984-89796628552918 `" && echo ansible-tmp-1769157704.6955862-2984-89796628552918="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.6955862-2984-89796628552918 `" ) && 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-2692h5tp642c/tmp8qb0jnr1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.6955862-2984-89796628552918/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.6955862-2984-89796628552918/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.6955862-2984-89796628552918/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.6955862-2984-89796628552918/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.6955862-2984-89796628552918/ > /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-01-23T08:40:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:25Z"  }  ],  "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": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37402",  "uid": "f1e0b94b-1411-4b44-8b33-b614d08c52b9"  }  } } 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-1769157706.1584136-2984-93812395800820 `" && echo ansible-tmp-1769157706.1584136-2984-93812395800820="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.1584136-2984-93812395800820 `" ) && 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-2692h5tp642c/tmp4ta5xx87 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.1584136-2984-93812395800820/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.1584136-2984-93812395800820/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.1584136-2984-93812395800820/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.1584136-2984-93812395800820/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157706.1584136-2984-93812395800820/ > /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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:26Z"  },  {  "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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "38066",  "uid": "2c09c23a-dad1-4aad-a823-0d511a843e8a"  },  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:26Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7cd87f9766\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-1769157712.457205-3120-29635782306593 `" && echo ansible-tmp-1769157712.457205-3120-29635782306593="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157712.457205-3120-29635782306593 `" ) && 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-2692h5tp642c/tmp250up_ce TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157712.457205-3120-29635782306593/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157712.457205-3120-29635782306593/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157712.457205-3120-29635782306593/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157712.457205-3120-29635782306593/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157712.457205-3120-29635782306593/ > /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-01-23T08:40:27Z",  "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\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "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-01-23T08:40:27Z"  },  {  "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-01-23T08:40:27Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37436",  "uid": "2c8b8b84-3969-4f32-9f72-e5a46a9f393c"  },  "spec": {  "clusterIP": "10.217.5.3",  "clusterIPs": [  "10.217.5.3"  ],  "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-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- 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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "38070",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41:53Z","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":"3555640408021225581","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3555640408021225581","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: 41f70e9846ea4b42b729b9f59fd2d40e ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/41f70e9846ea4b42b729b9f59fd2d40e 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/41f70e9846ea4b42b729b9f59fd2d40e 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",  "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",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-1769157697.2508569-2719-18070155233353 `" && echo ansible-tmp-1769157697.2508569-2719-18070155233353="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.2508569-2719-18070155233353 `" ) && 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-2691zuqp0828/tmp36hg2vip TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.2508569-2719-18070155233353/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.2508569-2719-18070155233353/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.2508569-2719-18070155233353/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.2508569-2719-18070155233353/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157697.2508569-2719-18070155233353/ > /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": "bEcyTFpYejVMekhGeWJzNzNwZzo="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:21Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:21Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37370",  "uid": "6a5923c3-253e-44f3-b58b-80859443c3df"  },  "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-1769157698.486867-2778-190091369956203 `" && echo ansible-tmp-1769157698.486867-2778-190091369956203="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.486867-2778-190091369956203 `" ) && 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-2691zuqp0828/tmp8q7yi784 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.486867-2778-190091369956203/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.486867-2778-190091369956203/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.486867-2778-190091369956203/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.486867-2778-190091369956203/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157698.486867-2778-190091369956203/ > /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-mhxsb"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-mhxsb"  },  "creationTimestamp": "2026-01-23T08:40:22Z",  "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-mhxsb\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-01-23T08:40:22Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"979f43f3-705d-4018-88d3-65285ca7e12a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:22Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "979f43f3-705d-4018-88d3-65285ca7e12a"  }  ],  "resourceVersion": "37376",  "uid": "4ea5e98a-56e6-40a8-8ee2-bc5830b57141"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-mhxsb"  }  ]  } } 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-1769157699.597256-2841-43389585308510 `" && echo ansible-tmp-1769157699.597256-2841-43389585308510="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.597256-2841-43389585308510 `" ) && 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-2691zuqp0828/tmp4qu_ew6e TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.597256-2841-43389585308510/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.597256-2841-43389585308510/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.597256-2841-43389585308510/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.597256-2841-43389585308510/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157699.597256-2841-43389585308510/ > /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-01-23T08:40:23Z",  "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-01-23T08:40:23Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37383",  "uid": "fd5ad506-d89b-4cd1-bf89-7d0151631a0f"  },  "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-1769157700.5756638-2901-24256614208536 `" && echo ansible-tmp-1769157700.5756638-2901-24256614208536="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.5756638-2901-24256614208536 `" ) && 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-2691zuqp0828/tmpzea19nvi TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.5756638-2901-24256614208536/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.5756638-2901-24256614208536/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.5756638-2901-24256614208536/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.5756638-2901-24256614208536/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157700.5756638-2901-24256614208536/ > /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-01-23T08:40:24Z",  "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-01-23T08:40:24Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "37395",  "uid": "193d9cf3-e5ef-4fbb-a7f1-85ee9e24cdfa"  },  "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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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-1769157702.7374132-2954-98857300506497 `" && echo ansible-tmp-1769157702.7374132-2954-98857300506497="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.7374132-2954-98857300506497 `" ) && 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-2691zuqp0828/tmpwh3v8p91 TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.7374132-2954-98857300506497/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.7374132-2954-98857300506497/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.7374132-2954-98857300506497/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.7374132-2954-98857300506497/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157702.7374132-2954-98857300506497/ > /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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', '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': 'JnmV5ezw8H6hsJelA0KMAa6A', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-01-23T08:40:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-01-23T08:40:43Z"  }  ],  "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": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "37623",  "uid": "8b7e4a1a-68ff-485c-b83c-02e01b531b48"  }  } } 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-1769157704.8773756-2954-8556007718229 `" && echo ansible-tmp-1769157704.8773756-2954-8556007718229="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.8773756-2954-8556007718229 `" ) && 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-2691zuqp0828/tmpynsvxi_u TO /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.8773756-2954-8556007718229/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.8773756-2954-8556007718229/ /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.8773756-2954-8556007718229/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.8773756-2954-8556007718229/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1769157704.8773756-2954-8556007718229/ > /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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"620fc6d1-408d-4e4e-bc0a-171a7f54aca5\"}": {}  }  },  "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-01-23T08:40: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-01-23T08:41:35Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "620fc6d1-408d-4e4e-bc0a-171a7f54aca5"  }  ],  "resourceVersion": "38070",  "uid": "6fc821d9-b2bc-45b0-915b-7c238649cc05"  },  "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-tkf49tkm86",  "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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/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-01-23T08:40:46Z",  "lastUpdateTime": "2026-01-23T08:40:53Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-d8c8898cb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-01-23T08:41:35Z",  "lastUpdateTime": "2026-01-23T08:41:35Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "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-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-01-23T08:41:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""}