{"level":"info","ts":"2026-06-08T00:30:16Z","logger":"cmd","msg":"Version","Go Version":"go1.23.6","GOOS":"linux","GOARCH":"amd64","ansible-operator":"v1.38.1","commit":"87d6d1f8c369f5f538ce6f230c891bb9f4e94f12"} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"cmd","msg":"Environment variable OPERATOR_NAME has been deprecated, use --leader-election-id instead."} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"cmd","msg":"Watching namespaces","namespaces":["service-telemetry"]} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"ansible-controller","msg":"Watching resource","Options.Group":"smartgateway.infra.watch","Options.Version":"v2","Options.Kind":"SmartGateway"} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"proxy","msg":"Starting to serve","Address":"127.0.0.1:8888"} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"apiserver","msg":"Starting to serve metrics listener","Address":"localhost:5050"} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2026-06-08T00:30:16Z","msg":"starting server","name":"health probe","addr":"[::]:6789"} {"level":"info","ts":"2026-06-08T00:30:16Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8443","secure":false} {"level":"info","ts":"2026-06-08T00:30:16Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2026-06-08T00:30:16Z","msg":"Starting Controller","controller":"smartgateway-controller"} {"level":"info","ts":"2026-06-08T00:30:16Z","msg":"Starting workers","controller":"smartgateway-controller","worker count":12} {"level":"info","ts":"2026-06-08T00:31:03Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:04Z","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":"5439370155745914432","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5439370155745914432","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:06Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5439370155745914432","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-06-08T00:31:07Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} {"level":"info","ts":"2026-06-08T00:31:07Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:07Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Secret","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-08T00:31:07Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5439370155745914432","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:08Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ServiceAccount, service-telemetry/smart-gateway"} {"level":"info","ts":"2026-06-08T00:31:08Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:08Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ServiceAccount","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-08T00:31:08Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:08Z","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":"5439370155745914432","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:08Z","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":"3794731407088368959","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3794731407088368959","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:09Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5439370155745914432","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:09Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:09Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:10Z","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":"3794731407088368959","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: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:10Z","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":"5439370155745914432","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:10Z","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":"3794731407088368959","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:10Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-meter-sg-core-configmap"} {"level":"info","ts":"2026-06-08T00:31:10Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:10Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ConfigMap","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-08T00:31:10Z","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-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:11Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:31:11Z","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":"3794731407088368959","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:11Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:12Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-meter-smartgateway"} {"level":"info","ts":"2026-06-08T00:31:12Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:12Z","logger":"proxy","msg":"Watching child resource","kind":"apps/v1, Kind=Deployment","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-08T00:31:12Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39053",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3794731407088368959","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5439370155745914432","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5439370155745914432","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31: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":"3394517924670472317","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-06-08T00:31: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":"3394517924670472317","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-coll-meter"} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Service","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2026-06-08T00:31:13Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3794731407088368959","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5439370155745914432","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 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: 65c8cd6bebba4c078ccdcddcba876d2d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/65c8cd6bebba4c078ccdcddcba876d2d 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/65c8cd6bebba4c078ccdcddcba876d2d PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211 `" && echo ansible-tmp-1780878665.1295388-28-63567258701211="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211 `" ) && 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-20kw_kp15k/tmp7fr1szyb TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878665.1295388-28-63567258701211/ > /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-1780878666.2566745-43-211822938362327 `" && echo ansible-tmp-1780878666.2566745-43-211822938362327="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878666.2566745-43-211822938362327 `" ) && 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-20kw_kp15k/tmp2l34d49d TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878666.2566745-43-211822938362327/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878666.2566745-43-211822938362327/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878666.2566745-43-211822938362327/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878666.2566745-43-211822938362327/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878666.2566745-43-211822938362327/ > /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-1780878667.3904052-58-63327577551246 `" && echo ansible-tmp-1780878667.3904052-58-63327577551246="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878667.3904052-58-63327577551246 `" ) && 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-20kw_kp15k/tmp4pu_rmvi TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878667.3904052-58-63327577551246/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878667.3904052-58-63327577551246/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878667.3904052-58-63327577551246/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878667.3904052-58-63327577551246/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878667.3904052-58-63327577551246/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "name": "smart-gateway",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "ServiceAccount",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39035",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  }  } } 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-1780878668.4538398-78-264504929683690 `" && echo ansible-tmp-1780878668.4538398-78-264504929683690="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878668.4538398-78-264504929683690 `" ) && 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-20kw_kp15k/tmpvipjw81y TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878668.4538398-78-264504929683690/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878668.4538398-78-264504929683690/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878668.4538398-78-264504929683690/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878668.4538398-78-264504929683690/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878668.4538398-78-264504929683690/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878669.2797809-110-1503915427147 `" && echo ansible-tmp-1780878669.2797809-110-1503915427147="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.2797809-110-1503915427147 `" ) && 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-20kw_kp15k/tmpa33_x44w TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.2797809-110-1503915427147/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.2797809-110-1503915427147/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.2797809-110-1503915427147/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.2797809-110-1503915427147/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.2797809-110-1503915427147/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878670.2113414-129-186230780745330 `" && echo ansible-tmp-1780878670.2113414-129-186230780745330="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.2113414-129-186230780745330 `" ) && 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-20kw_kp15k/tmpz7pxwp__ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.2113414-129-186230780745330/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.2113414-129-186230780745330/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.2113414-129-186230780745330/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.2113414-129-186230780745330/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.2113414-129-186230780745330/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } 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-1780878671.1617532-129-262401340150771 `" && echo ansible-tmp-1780878671.1617532-129-262401340150771="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.1617532-129-262401340150771 `" ) && 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-20kw_kp15k/tmp07n_d5ed TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.1617532-129-262401340150771/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.1617532-129-262401340150771/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.1617532-129-262401340150771/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.1617532-129-262401340150771/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.1617532-129-262401340150771/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39053",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } [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-1780878672.4526608-205-59265890791371 `" && echo ansible-tmp-1780878672.4526608-205-59265890791371="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.4526608-205-59265890791371 `" ) && 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-20kw_kp15k/tmpp_eiq6zw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.4526608-205-59265890791371/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.4526608-205-59265890791371/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.4526608-205-59265890791371/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.4526608-205-59265890791371/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.4526608-205-59265890791371/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "creationTimestamp": "2026-06-08T00:31:13Z",  "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\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39073",  "uid": "03e2448b-76e4-4240-8a8e-40d28f42d2e0"  },  "spec": {  "clusterIP": "10.217.4.191",  "clusterIPs": [  "10.217.4.191"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=14  changed=6  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:13Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:14Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-meter-sg-core-configmap"} {"level":"info","ts":"2026-06-08T00:31:14Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31:14Z","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] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3394517924670472317","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3394517924670472317","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:14Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-meter-smartgateway"} {"level":"info","ts":"2026-06-08T00:31:14Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39090",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3794731407088368959","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3794731407088368959","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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"]}} {"level":"info","ts":"2026-06-08T00:31:15Z","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":"7439073168618301447","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:15Z","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":"3394517924670472317","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 : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"7439073168618301447","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:15Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-ceil-meter"} {"level":"info","ts":"2026-06-08T00:31:15Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3394517924670472317","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3794731407088368959","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 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: 39e454d4882a466b9ddf70ae5d977f15 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/39e454d4882a466b9ddf70ae5d977f15 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/39e454d4882a466b9ddf70ae5d977f15 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879 `" && echo ansible-tmp-1780878669.0376503-95-48545428773879="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879 `" ) && 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-728j63s867/tmpizgj_qh6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878669.0376503-95-48545428773879/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878670.245749-130-37729036054567 `" && echo ansible-tmp-1780878670.245749-130-37729036054567="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.245749-130-37729036054567 `" ) && 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-728j63s867/tmp2c3_4mx7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.245749-130-37729036054567/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.245749-130-37729036054567/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.245749-130-37729036054567/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.245749-130-37729036054567/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878670.245749-130-37729036054567/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878671.3350449-171-199791011254755 `" && echo ansible-tmp-1780878671.3350449-171-199791011254755="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.3350449-171-199791011254755 `" ) && 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-728j63s867/tmpdob3vmrw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.3350449-171-199791011254755/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.3350449-171-199791011254755/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.3350449-171-199791011254755/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.3350449-171-199791011254755/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878671.3350449-171-199791011254755/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878672.3705635-194-181374148375382 `" && echo ansible-tmp-1780878672.3705635-194-181374148375382="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.3705635-194-181374148375382 `" ) && 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-728j63s867/tmpgr64j0dp TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.3705635-194-181374148375382/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.3705635-194-181374148375382/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.3705635-194-181374148375382/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.3705635-194-181374148375382/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878672.3705635-194-181374148375382/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878673.296586-236-138730285054620 `" && echo ansible-tmp-1780878673.296586-236-138730285054620="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.296586-236-138730285054620 `" ) && 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-728j63s867/tmp22rrefqw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.296586-236-138730285054620/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.296586-236-138730285054620/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.296586-236-138730285054620/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.296586-236-138730285054620/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.296586-236-138730285054620/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } 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-1780878674.2128408-236-153451737263176 `" && echo ansible-tmp-1780878674.2128408-236-153451737263176="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2128408-236-153451737263176 `" ) && 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-728j63s867/tmpkrndc57f TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2128408-236-153451737263176/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2128408-236-153451737263176/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2128408-236-153451737263176/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2128408-236-153451737263176/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2128408-236-153451737263176/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39090",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } [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-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-1780878675.1442065-293-117355090167698 `" && echo ansible-tmp-1780878675.1442065-293-117355090167698="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.1442065-293-117355090167698 `" ) && 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-728j63s867/tmpr0ein1qe TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.1442065-293-117355090167698/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.1442065-293-117355090167698/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.1442065-293-117355090167698/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.1442065-293-117355090167698/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.1442065-293-117355090167698/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "creationTimestamp": "2026-06-08T00:31:15Z",  "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\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:15Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39109",  "uid": "eccac5ef-e1a4-4cd4-9adb-b503a126b7a7"  },  "spec": {  "clusterIP": "10.217.4.253",  "clusterIPs": [  "10.217.4.253"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:16Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"7439073168618301447","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"7439073168618301447","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3394517924670472317","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:17Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:17Z","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":"7439073168618301447","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:17Z","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":"3922109579602214254","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:17Z","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":"3922109579602214254","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:17Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-sens-meter-sg-core-configmap"} {"level":"info","ts":"2026-06-08T00:31:17Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:18Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"7439073168618301447","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31: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"]}} {"level":"info","ts":"2026-06-08T00:31:18Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-sens-meter-smartgateway"} {"level":"info","ts":"2026-06-08T00:31:18Z","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-06-08T00:31: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":"3922109579602214254","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39132",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:18Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3394517924670472317","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:18Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3394517924670472317","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-06-08T00:31: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":"3922109579602214254","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"7439073168618301447","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:19Z","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-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:19Z","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":"2955939825521481769","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:19Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-sens-meter"} {"level":"info","ts":"2026-06-08T00:31:19Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2026-06-08T00:31: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"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2955939825521481769","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-06-08T00:31:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3922109579602214254","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-meter-sg-core-configmap"]}} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3394517924670472317","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-sens-meter/service-telemetry) ----- ansible-playbook [core 2.18.5]  config file = /etc/ansible/ansible.cfg  configured module search path = ['/usr/share/ansible/openshift']  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible  ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections  executable location = /usr/local/bin/ansible-playbook  python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/local/bin/python3)  jinja version = 3.1.6  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 59877214c4504b529093c4e9b297a5f0 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/59877214c4504b529093c4e9b297a5f0 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/59877214c4504b529093c4e9b297a5f0 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020 `" && echo ansible-tmp-1780878673.040064-224-254815800715020="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020 `" ) && 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-185bsn10jdd/tmpvnffs9ob TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878673.040064-224-254815800715020/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878674.2996995-274-221535598056530 `" && echo ansible-tmp-1780878674.2996995-274-221535598056530="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2996995-274-221535598056530 `" ) && 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-185bsn10jdd/tmpe92o5tck TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2996995-274-221535598056530/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2996995-274-221535598056530/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2996995-274-221535598056530/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2996995-274-221535598056530/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878674.2996995-274-221535598056530/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878675.3974738-312-49035639585300 `" && echo ansible-tmp-1780878675.3974738-312-49035639585300="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.3974738-312-49035639585300 `" ) && 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-185bsn10jdd/tmppu2ccpha TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.3974738-312-49035639585300/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.3974738-312-49035639585300/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.3974738-312-49035639585300/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.3974738-312-49035639585300/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.3974738-312-49035639585300/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878676.256715-342-265667387895630 `" && echo ansible-tmp-1780878676.256715-342-265667387895630="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.256715-342-265667387895630 `" ) && 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-185bsn10jdd/tmput5p2atp TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.256715-342-265667387895630/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.256715-342-265667387895630/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.256715-342-265667387895630/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.256715-342-265667387895630/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.256715-342-265667387895630/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878677.1486318-379-119888186676430 `" && echo ansible-tmp-1780878677.1486318-379-119888186676430="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.1486318-379-119888186676430 `" ) && 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-185bsn10jdd/tmp04p9k4bk TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.1486318-379-119888186676430/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.1486318-379-119888186676430/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.1486318-379-119888186676430/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.1486318-379-119888186676430/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.1486318-379-119888186676430/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } 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-1780878677.9877708-379-164442214552962 `" && echo ansible-tmp-1780878677.9877708-379-164442214552962="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.9877708-379-164442214552962 `" ) && 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-185bsn10jdd/tmpuxujsz2j TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.9877708-379-164442214552962/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.9877708-379-164442214552962/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.9877708-379-164442214552962/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.9877708-379-164442214552962/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.9877708-379-164442214552962/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39132",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713 `" && echo ansible-tmp-1780878678.9682367-462-42480569943713="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713 `" ) && 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-185bsn10jdd/tmptnu5j3kd TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9682367-462-42480569943713/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => {  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "create",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "creationTimestamp": "2026-06-08T00:31:19Z",  "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\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39160",  "uid": "2121c9e9-057d-4d02-b764-3d58102b0d29"  },  "spec": {  "clusterIP": "10.217.4.104",  "clusterIPs": [  "10.217.4.104"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:20Z","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":"6945887357752849486","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6945887357752849486","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:20Z","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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3922109579602214254","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:20Z","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 cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2955939825521481769","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2955939825521481769","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-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:12Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39066",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:12Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:12Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"7439073168618301447","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-06-08T00:31: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":"7439073168618301447","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:21Z","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":"6828965986482913545","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6828965986482913545","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:21Z","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: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3922109579602214254","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:21Z","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 cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:21Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6945887357752849486","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6945887357752849486","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7439073168618301447","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: 7337a659117d4170900c4d0a6ea04d8c ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/7337a659117d4170900c4d0a6ea04d8c 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/7337a659117d4170900c4d0a6ea04d8c PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658 `" && echo ansible-tmp-1780878675.4451454-323-118355040834658="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658 `" ) && 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-2565tfjtepk/tmp90elskl5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878675.4451454-323-118355040834658/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878676.5370429-359-49052359040189 `" && echo ansible-tmp-1780878676.5370429-359-49052359040189="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.5370429-359-49052359040189 `" ) && 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-2565tfjtepk/tmpps272uub TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.5370429-359-49052359040189/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.5370429-359-49052359040189/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.5370429-359-49052359040189/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.5370429-359-49052359040189/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878676.5370429-359-49052359040189/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878677.5264683-394-243829602122455 `" && echo ansible-tmp-1780878677.5264683-394-243829602122455="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.5264683-394-243829602122455 `" ) && 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-2565tfjtepk/tmpc82c76uf TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.5264683-394-243829602122455/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.5264683-394-243829602122455/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.5264683-394-243829602122455/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.5264683-394-243829602122455/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.5264683-394-243829602122455/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878678.3600254-441-222031882239714 `" && echo ansible-tmp-1780878678.3600254-441-222031882239714="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.3600254-441-222031882239714 `" ) && 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-2565tfjtepk/tmp99jv3yqc TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.3600254-441-222031882239714/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.3600254-441-222031882239714/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.3600254-441-222031882239714/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.3600254-441-222031882239714/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.3600254-441-222031882239714/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878679.3531451-493-269324537200485 `" && echo ansible-tmp-1780878679.3531451-493-269324537200485="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.3531451-493-269324537200485 `" ) && 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-2565tfjtepk/tmp_y8xn9av TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.3531451-493-269324537200485/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.3531451-493-269324537200485/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.3531451-493-269324537200485/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.3531451-493-269324537200485/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.3531451-493-269324537200485/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } 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-1780878680.2946277-493-94841069319581 `" && echo ansible-tmp-1780878680.2946277-493-94841069319581="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.2946277-493-94841069319581 `" ) && 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-2565tfjtepk/tmpujvmdkg9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.2946277-493-94841069319581/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.2946277-493-94841069319581/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.2946277-493-94841069319581/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.2946277-493-94841069319581/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.2946277-493-94841069319581/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:12Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39066",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:12Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:12Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377 `" && echo ansible-tmp-1780878681.2435653-613-181695725722377="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377 `" ) && 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-2565tfjtepk/tmpfe3c8lt_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2435653-613-181695725722377/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:13Z",  "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\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39077",  "uid": "03e2448b-76e4-4240-8a8e-40d28f42d2e0"  },  "spec": {  "clusterIP": "10.217.4.191",  "clusterIPs": [  "10.217.4.191"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2955939825521481769","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6828965986482913545","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6828965986482913545","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:22Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:31:23Z","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":"6945887357752849486","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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2955939825521481769","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:31:23Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-meter-smartgateway","Parts":["deployments","default-cloud1-ceil-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:23Z","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":"6828965986482913545","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:14Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39103",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:14Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:14Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3922109579602214254","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3922109579602214254","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6945887357752849486","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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2955939825521481769","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-06-08T00:31:24Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-ceil-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-ceil-meter","Parts":["services","default-cloud1-ceil-meter"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6828965986482913545","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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:24Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6945887357752849486","EventData.Name":"smartgateway : Deploy Smart Gateway"} ----- 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: 666bfbb546334e278783a7856219b983 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/666bfbb546334e278783a7856219b983 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/666bfbb546334e278783a7856219b983 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io{"level":"info","ts":"2026-06-08T00:31:25Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3922109579602214254","name":"default-cloud1-ceil-meter","namespace":"service-telemetry"} ",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313 `" && echo ansible-tmp-1780878677.7556527-411-261540627449313="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313 `" ) && 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-367ka_c4zp5/tmp06f3ucs_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878677.7556527-411-261540627449313/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878678.9833112-463-55897947430713 `" && echo ansible-tmp-1780878678.9833112-463-55897947430713="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9833112-463-55897947430713 `" ) && 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-367ka_c4zp5/tmpa8hrnhf0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9833112-463-55897947430713/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9833112-463-55897947430713/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9833112-463-55897947430713/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9833112-463-55897947430713/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878678.9833112-463-55897947430713/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878680.0698113-526-78125158859041 `" && echo ansible-tmp-1780878680.0698113-526-78125158859041="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.0698113-526-78125158859041 `" ) && 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-367ka_c4zp5/tmp9ju678zm TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.0698113-526-78125158859041/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.0698113-526-78125158859041/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.0698113-526-78125158859041/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.0698113-526-78125158859041/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.0698113-526-78125158859041/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878680.9828355-579-264479463474173 `" && echo ansible-tmp-1780878680.9828355-579-264479463474173="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.9828355-579-264479463474173 `" ) && 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-367ka_c4zp5/tmpalk9_m6r TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.9828355-579-264479463474173/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.9828355-579-264479463474173/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.9828355-579-264479463474173/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.9828355-579-264479463474173/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.9828355-579-264479463474173/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878681.9379013-646-210689134470472 `" && echo ansible-tmp-1780878681.9379013-646-210689134470472="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.9379013-646-210689134470472 `" ) && 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-367ka_c4zp5/tmp9xcydf61 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.9379013-646-210689134470472/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.9379013-646-210689134470472/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.9379013-646-210689134470472/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.9379013-646-210689134470472/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.9379013-646-210689134470472/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } 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-1780878683.1044443-646-164799490344398 `" && echo ansible-tmp-1780878683.1044443-646-164799490344398="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.1044443-646-164799490344398 `" ) && 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-367ka_c4zp5/tmpufemn69y TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.1044443-646-164799490344398/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.1044443-646-164799490344398/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.1044443-646-164799490344398/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.1044443-646-164799490344398/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.1044443-646-164799490344398/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:14Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39103",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:14Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:14Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-ceil-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707 `" && echo ansible-tmp-1780878683.9849312-774-134179264773707="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707 `" ) && 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-367ka_c4zp5/tmpwkmuvkg2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.9849312-774-134179264773707/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:15Z",  "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\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:15Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:16Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39113",  "uid": "eccac5ef-e1a4-4cd4-9adb-b503a126b7a7"  },  "spec": {  "clusterIP": "10.217.4.253",  "clusterIPs": [  "10.217.4.253"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-event-sg-core-configmap"} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:25Z","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":"6828965986482913545","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-event-sg-core-configmap"} {"level":"info","ts":"2026-06-08T00:31:25Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-event-smartgateway"} {"level":"info","ts":"2026-06-08T00:31:26Z","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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39223",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:26Z","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":"2955939825521481769","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:26Z","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-06-08T00:31:26Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2955939825521481769","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: 38d5ce7fa236486ea0825c713df86b1d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/38d5ce7fa236486ea0825c713df86b1d 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/38d5ce7fa236486ea0825c713df86b1d PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932 `" && echo ansible-tmp-1780878679.9394329-515-117005785737932="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932 `" ) && 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-454cl4fcif8/tmp95ot_oih TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878679.9394329-515-117005785737932/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878681.2021713-599-146034560047311 `" && echo ansible-tmp-1780878681.2021713-599-146034560047311="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2021713-599-146034560047311 `" ) && 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-454cl4fcif8/tmpyqo7ne1k TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2021713-599-146034560047311/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2021713-599-146034560047311/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2021713-599-146034560047311/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2021713-599-146034560047311/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.2021713-599-146034560047311/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878682.4591591-683-254653159796687 `" && echo ansible-tmp-1780878682.4591591-683-254653159796687="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.4591591-683-254653159796687 `" ) && 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-454cl4fcif8/tmpw64bkaar TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.4591591-683-254653159796687/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.4591591-683-254653159796687/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.4591591-683-254653159796687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.4591591-683-254653159796687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.4591591-683-254653159796687/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878683.3908815-743-62943786975991 `" && echo ansible-tmp-1780878683.3908815-743-62943786975991="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.3908815-743-62943786975991 `" ) && 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-454cl4fcif8/tmp87qzh79i TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.3908815-743-62943786975991/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.3908815-743-62943786975991/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.3908815-743-62943786975991/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.3908815-743-62943786975991/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.3908815-743-62943786975991/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878684.3655891-805-179859432839448 `" && echo ansible-tmp-1780878684.3655891-805-179859432839448="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.3655891-805-179859432839448 `" ) && 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-454cl4fcif8/tmpg18zkga8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.3655891-805-179859432839448/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.3655891-805-179859432839448/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.3655891-805-179859432839448/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.3655891-805-179859432839448/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.3655891-805-179859432839448/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } 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-1780878685.2945974-805-52375394679476 `" && echo ansible-tmp-1780878685.2945974-805-52375394679476="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.2945974-805-52375394679476 `" ) && 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-454cl4fcif8/tmp63tm71dk TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.2945974-805-52375394679476/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.2945974-805-52375394679476/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.2945974-805-52375394679476/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.2945974-805-52375394679476/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.2945974-805-52375394679476/ > /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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39223",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-event-smartgateway"} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39243",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:26Z","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":"6945887357752849486","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6945887357752849486","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: 26a28f7ba6fb45798d71fc037eb5b4d9 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/26a28f7ba6fb45798d71fc037eb5b4d9 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/26a28f7ba6fb45798d71fc037eb5b4d9 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047 `" && echo ansible-tmp-1780878680.8607864-566-80392104506047="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047 `" ) && 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-50750uosuq0/tmpnzlmcpzo TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878680.8607864-566-80392104506047/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878682.0797071-666-73113856530830 `" && echo ansible-tmp-1780878682.0797071-666-73113856530830="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.0797071-666-73113856530830 `" ) && 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-50750uosuq0/tmp0g6n773t TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.0797071-666-73113856530830/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.0797071-666-73113856530830/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.0797071-666-73113856530830/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.0797071-666-73113856530830/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.0797071-666-73113856530830/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878683.2409685-728-106168697542591 `" && echo ansible-tmp-1780878683.2409685-728-106168697542591="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.2409685-728-106168697542591 `" ) && 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-50750uosuq0/tmp_lpqt4ru TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.2409685-728-106168697542591/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.2409685-728-106168697542591/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.2409685-728-106168697542591/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.2409685-728-106168697542591/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.2409685-728-106168697542591/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878684.025607-786-255335027735262 `" && echo ansible-tmp-1780878684.025607-786-255335027735262="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.025607-786-255335027735262 `" ) && 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-50750uosuq0/tmpoeedfqcd TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.025607-786-255335027735262/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.025607-786-255335027735262/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.025607-786-255335027735262/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.025607-786-255335027735262/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.025607-786-255335027735262/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878684.9049559-838-275573773520552 `" && echo ansible-tmp-1780878684.9049559-838-275573773520552="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.9049559-838-275573773520552 `" ) && 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-50750uosuq0/tmp8lan94ik TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.9049559-838-275573773520552/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.9049559-838-275573773520552/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.9049559-838-275573773520552/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.9049559-838-275573773520552/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.9049559-838-275573773520552/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } 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-1780878685.838235-838-145698802285300 `" && echo ansible-tmp-1780878685.838235-838-145698802285300="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.838235-838-145698802285300 `" ) && 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-50750uosuq0/tmpmeufx539 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.838235-838-145698802285300/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.838235-838-145698802285300/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.838235-838-145698802285300/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.838235-838-145698802285300/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.838235-838-145698802285300/ > /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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39243",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:26Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:27Z","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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:18Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39145",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:18Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:18Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6828965986482913545","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6828965986482913545","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:28Z","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":"5668265004435897192","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:28Z","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":"5668265004435897192","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/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:28Z","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":"3021977894459373829","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:28Z","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:28Z","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":"3021977894459373829","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:29Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6828965986482913545","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 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: 04cc439b7a4042179cd9efc9f33d1ca2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/04cc439b7a4042179cd9efc9f33d1ca2 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/04cc439b7a4042179cd9efc9f33d1ca2 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090 `" && echo ansible-tmp-1780878681.6536443-634-113244667068090="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090 `" ) && 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-5606j4h_xwk/tmpp2zkdpyl TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878681.6536443-634-113244667068090/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878682.8834376-699-224043008606662 `" && echo ansible-tmp-1780878682.8834376-699-224043008606662="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.8834376-699-224043008606662 `" ) && 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-5606j4h_xwk/tmpo_nvv8hj TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.8834376-699-224043008606662/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.8834376-699-224043008606662/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.8834376-699-224043008606662/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.8834376-699-224043008606662/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878682.8834376-699-224043008606662/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878683.8726232-758-252073205264451 `" && echo ansible-tmp-1780878683.8726232-758-252073205264451="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.8726232-758-252073205264451 `" ) && 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-5606j4h_xwk/tmp2lz6r__m TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.8726232-758-252073205264451/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.8726232-758-252073205264451/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.8726232-758-252073205264451/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.8726232-758-252073205264451/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878683.8726232-758-252073205264451/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878684.7442946-820-280659724595775 `" && echo ansible-tmp-1780878684.7442946-820-280659724595775="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.7442946-820-280659724595775 `" ) && 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-5606j4h_xwk/tmp8v6sta_c TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.7442946-820-280659724595775/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.7442946-820-280659724595775/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.7442946-820-280659724595775/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.7442946-820-280659724595775/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878684.7442946-820-280659724595775/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878685.6191719-868-226094476483928 `" && echo ansible-tmp-1780878685.6191719-868-226094476483928="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.6191719-868-226094476483928 `" ) && 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-5606j4h_xwk/tmp1ki_nqph TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.6191719-868-226094476483928/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.6191719-868-226094476483928/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.6191719-868-226094476483928/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.6191719-868-226094476483928/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878685.6191719-868-226094476483928/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } 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-1780878686.7047536-868-112973777900720 `" && echo ansible-tmp-1780878686.7047536-868-112973777900720="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878686.7047536-868-112973777900720 `" ) && 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-5606j4h_xwk/tmpdjt3moou TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878686.7047536-868-112973777900720/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878686.7047536-868-112973777900720/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878686.7047536-868-112973777900720/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878686.7047536-868-112973777900720/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878686.7047536-868-112973777900720/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:18Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39145",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:18Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:18Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175 `" && echo ansible-tmp-1780878687.7068813-926-91908339728175="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175 `" ) && 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-5606j4h_xwk/tmpksx56wvx TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878687.7068813-926-91908339728175/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:19Z",  "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\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39164",  "uid": "2121c9e9-057d-4d02-b764-3d58102b0d29"  },  "spec": {  "clusterIP": "10.217.4.104",  "clusterIPs": [  "10.217.4.104"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:29Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:29Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:29Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:29Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:29Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:29Z","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":"5668265004435897192","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-06-08T00:31:29Z","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-06-08T00:31:29Z","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":"5668265004435897192","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:29Z","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":"3021977894459373829","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2026-06-08T00:31:29Z","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":"3021977894459373829","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:30Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:30Z","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":"5668265004435897192","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31:30Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:31Z","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":"3021977894459373829","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:31Z","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":"5668265004435897192","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:32Z","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":"3021977894459373829","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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:32Z","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":"5668265004435897192","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:32Z","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":"3021977894459373829","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:33Z","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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:33Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:34Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} {"level":"info","ts":"2026-06-08T00:31:34Z","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-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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39235",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"5668265004435897192","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-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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39255",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:34Z","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":"3021977894459373829","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5668265004435897192","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: b3b0f52bde8b4109a9ad123cbdb460ab ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/b3b0f52bde8b4109a9ad123cbdb460ab 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/b3b0f52bde8b4109a9ad123cbdb460ab PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316 `" && echo ansible-tmp-1780878688.3949654-946-148418251567316="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316 `" ) && 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-916d7my5f_q/tmpttt5fguu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.3949654-946-148418251567316/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878689.7699757-981-221401863347199 `" && echo ansible-tmp-1780878689.7699757-981-221401863347199="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.7699757-981-221401863347199 `" ) && 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-916d7my5f_q/tmp6gl7k3l4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.7699757-981-221401863347199/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.7699757-981-221401863347199/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.7699757-981-221401863347199/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.7699757-981-221401863347199/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.7699757-981-221401863347199/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878690.896072-1012-37122520342589 `" && echo ansible-tmp-1780878690.896072-1012-37122520342589="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878690.896072-1012-37122520342589 `" ) && 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-916d7my5f_q/tmpi5z7j_l5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878690.896072-1012-37122520342589/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878690.896072-1012-37122520342589/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878690.896072-1012-37122520342589/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878690.896072-1012-37122520342589/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878690.896072-1012-37122520342589/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878691.8607798-1042-31115708058043 `" && echo ansible-tmp-1780878691.8607798-1042-31115708058043="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.8607798-1042-31115708058043 `" ) && 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-916d7my5f_q/tmpzgul1sz7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.8607798-1042-31115708058043/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.8607798-1042-31115708058043/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.8607798-1042-31115708058043/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.8607798-1042-31115708058043/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.8607798-1042-31115708058043/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878692.807716-1073-58408138166172 `" && echo ansible-tmp-1780878692.807716-1073-58408138166172="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.807716-1073-58408138166172 `" ) && 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-916d7my5f_q/tmpog2z5icy TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.807716-1073-58408138166172/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.807716-1073-58408138166172/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.807716-1073-58408138166172/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.807716-1073-58408138166172/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.807716-1073-58408138166172/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } 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-1780878693.6632574-1073-86245884342990 `" && echo ansible-tmp-1780878693.6632574-1073-86245884342990="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.6632574-1073-86245884342990 `" ) && 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-916d7my5f_q/tmpxub9es8p TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.6632574-1073-86245884342990/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.6632574-1073-86245884342990/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.6632574-1073-86245884342990/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.6632574-1073-86245884342990/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.6632574-1073-86245884342990/ > /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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39235",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} ----- 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: 516d7de595784ef2bae5bbd08dc53a42 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/516d7de595784ef2bae5bbd08dc53a42 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/516d7de595784ef2bae5bbd08dc53a42 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",[0m  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io{"level":"info","ts":"2026-06-08T00:31:35Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3021977894459373829","name":"default-cloud1-ceil-event","namespace":"service-telemetry"} ",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053 `" && echo ansible-tmp-1780878688.7239103-963-191640118831053="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053 `" ) && 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-9194nera7yw/tmpmxzcwmjr TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878688.7239103-963-191640118831053/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878689.9443927-993-234678286468525 `" && echo ansible-tmp-1780878689.9443927-993-234678286468525="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.9443927-993-234678286468525 `" ) && 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-9194nera7yw/tmpzp73564x TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.9443927-993-234678286468525/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.9443927-993-234678286468525/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.9443927-993-234678286468525/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.9443927-993-234678286468525/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878689.9443927-993-234678286468525/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878691.106778-1027-172180879309255 `" && echo ansible-tmp-1780878691.106778-1027-172180879309255="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.106778-1027-172180879309255 `" ) && 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-9194nera7yw/tmplay8ehz8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.106778-1027-172180879309255/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.106778-1027-172180879309255/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.106778-1027-172180879309255/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.106778-1027-172180879309255/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878691.106778-1027-172180879309255/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878692.1629574-1057-124244957743696 `" && echo ansible-tmp-1780878692.1629574-1057-124244957743696="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.1629574-1057-124244957743696 `" ) && 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-9194nera7yw/tmpid0ofe7e TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.1629574-1057-124244957743696/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.1629574-1057-124244957743696/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.1629574-1057-124244957743696/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.1629574-1057-124244957743696/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878692.1629574-1057-124244957743696/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878693.0143127-1089-261188635051793 `" && echo ansible-tmp-1780878693.0143127-1089-261188635051793="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.0143127-1089-261188635051793 `" ) && 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-9194nera7yw/tmp8zmvrfuk TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.0143127-1089-261188635051793/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.0143127-1089-261188635051793/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.0143127-1089-261188635051793/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.0143127-1089-261188635051793/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.0143127-1089-261188635051793/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } 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-1780878693.985069-1089-274347625839319 `" && echo ansible-tmp-1780878693.985069-1089-274347625839319="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.985069-1089-274347625839319 `" ) && 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-9194nera7yw/tmpjmu0v3e7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.985069-1089-274347625839319/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.985069-1089-274347625839319/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.985069-1089-274347625839319/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.985069-1089-274347625839319/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878693.985069-1089-274347625839319/ > /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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:26Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39255",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:26Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:35Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:36Z","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/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:36Z","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":"6196854156418436815","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:36Z","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":"6196854156418436815","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/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"822259635648085875","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9043807008428528612","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:37Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9185841990849512634","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:37Z","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":"6259998896749034603","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"822259635648085875","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9185841990849512634","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9043807008428528612","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:37Z","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":"6259998896749034603","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31: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-06-08T00:31: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-06-08T00:31: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":"822259635648085875","EventData.Name":"smartgateway : Create 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-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"822259635648085875","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31: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-06-08T00:31: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-06-08T00:31: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-06-08T00:31: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":"9043807008428528612","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9185841990849512634","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6259998896749034603","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9043807008428528612","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:39Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9185841990849512634","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6259998896749034603","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31: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"]}} {"level":"info","ts":"2026-06-08T00:31: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-06-08T00:31: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-06-08T00:31: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":"822259635648085875","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-06-08T00:31: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":"9043807008428528612","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9185841990849512634","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31: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-06-08T00:31: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":"6259998896749034603","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"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:41Z","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":"822259635648085875","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:41Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9185841990849512634","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:41Z","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":"9043807008428528612","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:41Z","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 [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:41Z","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":"6259998896749034603","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"822259635648085875","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9043807008428528612","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-06-08T00:31: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":"9185841990849512634","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', '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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6259998896749034603","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-06-08T00:31:42Z","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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:42Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39512",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:35Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:42Z",  "lastUpdateTime": "2026-06-08T00:31:42Z",  "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-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6196854156418436815","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} {"level":"info","ts":"2026-06-08T00:31:43Z","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: 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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:43Z","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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-sens-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-sens-meter","Parts":["services","default-cloud1-sens-meter"]}} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} {"level":"info","ts":"2026-06-08T00:31:43Z","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-06-08T00:31:43Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6196854156418436815","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: 0b650b53792e40489055679a7737c707 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/0b650b53792e40489055679a7737c707 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/0b650b53792e40489055679a7737c707 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777 `" && echo ansible-tmp-1780878696.7094264-1156-195527784141777="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777 `" ) && 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-1137mfwtdu4x/tmp8jaxm1hl TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878696.7094264-1156-195527784141777/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878697.7585125-1206-265725008231333 `" && echo ansible-tmp-1780878697.7585125-1206-265725008231333="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7585125-1206-265725008231333 `" ) && 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-1137mfwtdu4x/tmpxptqwcjl TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7585125-1206-265725008231333/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7585125-1206-265725008231333/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7585125-1206-265725008231333/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7585125-1206-265725008231333/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7585125-1206-265725008231333/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878698.7897623-1268-198715638997813 `" && echo ansible-tmp-1780878698.7897623-1268-198715638997813="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.7897623-1268-198715638997813 `" ) && 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-1137mfwtdu4x/tmp564_rjs1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.7897623-1268-198715638997813/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.7897623-1268-198715638997813/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.7897623-1268-198715638997813/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.7897623-1268-198715638997813/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.7897623-1268-198715638997813/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878699.5549018-1344-291942631924 `" && echo ansible-tmp-1780878699.5549018-1344-291942631924="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.5549018-1344-291942631924 `" ) && 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-1137mfwtdu4x/tmpzo_lm8ix TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.5549018-1344-291942631924/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.5549018-1344-291942631924/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.5549018-1344-291942631924/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.5549018-1344-291942631924/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.5549018-1344-291942631924/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878700.642139-1420-127396782775342 `" && echo ansible-tmp-1780878700.642139-1420-127396782775342="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.642139-1420-127396782775342 `" ) && 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-1137mfwtdu4x/tmppxbtb8sa TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.642139-1420-127396782775342/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.642139-1420-127396782775342/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.642139-1420-127396782775342/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.642139-1420-127396782775342/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.642139-1420-127396782775342/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } 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-1780878701.6000812-1420-248968626328965 `" && echo ansible-tmp-1780878701.6000812-1420-248968626328965="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.6000812-1420-248968626328965 `" ) && 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-1137mfwtdu4x/tmp59ujif6w TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.6000812-1420-248968626328965/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.6000812-1420-248968626328965/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.6000812-1420-248968626328965/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.6000812-1420-248968626328965/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.6000812-1420-248968626328965/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:42Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39512",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:35Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:42Z",  "lastUpdateTime": "2026-06-08T00:31:42Z",  "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-1780878702.9118018-1574-112994556744868 `" && echo ansible-tmp-1780878702.9118018-1574-112994556744868="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.9118018-1574-112994556744868 `" ) && 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-1137mfwtdu4x/tmposf8bcr9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.9118018-1574-112994556744868/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.9118018-1574-112994556744868/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.9118018-1574-112994556744868/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.9118018-1574-112994556744868/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.9118018-1574-112994556744868/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:19Z",  "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\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39164",  "uid": "2121c9e9-057d-4d02-b764-3d58102b0d29"  },  "spec": {  "clusterIP": "10.217.4.104",  "clusterIPs": [  "10.217.4.104"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:43Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:43Z","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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39524",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31:44Z","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":"9043807008428528612","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": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39539",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31: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":"822259635648085875","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"822259635648085875","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:44Z","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-06-08T00:31:44Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"9043807008428528612","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: 53d24a8db37f4e46b8d8a1615c457803 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/53d24a8db37f4e46b8d8a1615c457803 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/53d24a8db37f4e46b8d8a1615c457803 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862 `" && echo ansible-tmp-1780878697.8005662-1215-29928964632862="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862 `" ) && 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-1149mrw__a36/tmpttan2cxu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8005662-1215-29928964632862/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878699.0510955-1299-101574374123291 `" && echo ansible-tmp-1780878699.0510955-1299-101574374123291="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.0510955-1299-101574374123291 `" ) && 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-1149mrw__a36/tmpxhk1yflm TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.0510955-1299-101574374123291/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.0510955-1299-101574374123291/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.0510955-1299-101574374123291/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.0510955-1299-101574374123291/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.0510955-1299-101574374123291/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878700.217248-1362-169254111351545 `" && echo ansible-tmp-1780878700.217248-1362-169254111351545="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.217248-1362-169254111351545 `" ) && 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-1149mrw__a36/tmpcjmgz7hk TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.217248-1362-169254111351545/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.217248-1362-169254111351545/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.217248-1362-169254111351545/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.217248-1362-169254111351545/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.217248-1362-169254111351545/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878701.1998854-1460-126644573042165 `" && echo ansible-tmp-1780878701.1998854-1460-126644573042165="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1998854-1460-126644573042165 `" ) && 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-1149mrw__a36/tmp473ohoo5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1998854-1460-126644573042165/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1998854-1460-126644573042165/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1998854-1460-126644573042165/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1998854-1460-126644573042165/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1998854-1460-126644573042165/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878702.2541645-1515-90855987282510 `" && echo ansible-tmp-1780878702.2541645-1515-90855987282510="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2541645-1515-90855987282510 `" ) && 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-1149mrw__a36/tmpk3_7nz13 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2541645-1515-90855987282510/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2541645-1515-90855987282510/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2541645-1515-90855987282510/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2541645-1515-90855987282510/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2541645-1515-90855987282510/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } 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-1780878703.217613-1515-188827935372437 `" && echo ansible-tmp-1780878703.217613-1515-188827935372437="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.217613-1515-188827935372437 `" ) && 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-1149mrw__a36/tmpyyzr8l3f TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.217613-1515-188827935372437/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.217613-1515-188827935372437/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.217613-1515-188827935372437/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.217613-1515-188827935372437/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.217613-1515-188827935372437/ > /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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39524",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","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": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39534",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31: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":"9185841990849512634","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"9185841990849512634","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-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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39508",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:42Z",  "lastUpdateTime": "2026-06-08T00:31:42Z",  "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-06-08T00:31:44Z","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":"6259998896749034603","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6259998896749034603","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: 8b318d2dd9564f32b419f6bec356d4b6 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/8b318d2dd9564f32b419f6bec356d4b6 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/8b318d2dd9564f32b419f6bec356d4b6 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703 `" && echo ansible-tmp-1780878697.8070674-1218-19338906805703="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703 `" ) && 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-11507pze_07e/tmptnpvw3kj TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.8070674-1218-19338906805703/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878699.098685-1302-255904135120684 `" && echo ansible-tmp-1780878699.098685-1302-255904135120684="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.098685-1302-255904135120684 `" ) && 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-11507pze_07e/tmpc_yv6m11 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.098685-1302-255904135120684/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.098685-1302-255904135120684/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.098685-1302-255904135120684/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.098685-1302-255904135120684/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.098685-1302-255904135120684/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878700.4900043-1404-26308592004134 `" && echo ansible-tmp-1780878700.4900043-1404-26308592004134="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.4900043-1404-26308592004134 `" ) && 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-11507pze_07e/tmpt_cpsdqu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.4900043-1404-26308592004134/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.4900043-1404-26308592004134/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.4900043-1404-26308592004134/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.4900043-1404-26308592004134/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.4900043-1404-26308592004134/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878701.4222188-1480-232342182792938 `" && echo ansible-tmp-1780878701.4222188-1480-232342182792938="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.4222188-1480-232342182792938 `" ) && 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-11507pze_07e/tmp1xve1low TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.4222188-1480-232342182792938/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.4222188-1480-232342182792938/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.4222188-1480-232342182792938/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.4222188-1480-232342182792938/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.4222188-1480-232342182792938/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878702.6734366-1558-110402044588450 `" && echo ansible-tmp-1780878702.6734366-1558-110402044588450="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.6734366-1558-110402044588450 `" ) && 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-11507pze_07e/tmp99rpgb8i TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.6734366-1558-110402044588450/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.6734366-1558-110402044588450/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.6734366-1558-110402044588450/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.6734366-1558-110402044588450/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.6734366-1558-110402044588450/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } 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-1780878703.616113-1558-228547009505034 `" && echo ansible-tmp-1780878703.616113-1558-228547009505034="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.616113-1558-228547009505034 `" ) && 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-11507pze_07e/tmphftaw0up TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.616113-1558-228547009505034/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.616113-1558-228547009505034/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.616113-1558-228547009505034/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.616113-1558-228547009505034/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.616113-1558-228547009505034/ > /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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39508",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:42Z",  "lastUpdateTime": "2026-06-08T00:31:42Z",  "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-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:44Z","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-06-08T00:31:45Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-coll-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-coll-meter","Parts":["services","default-cloud1-coll-meter"]}} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"822259635648085875","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: 871ce006ee0b489287a5e5333ba244a1 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/871ce006ee0b489287a5e5333ba244a1 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/871ce006ee0b489287a5e5333ba244a1 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520 `" && echo ansible-tmp-1780878697.7003133-1196-59335442866520="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520 `" ) && 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-1148ktfgdxw7/tmpwhrgszez TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7003133-1196-59335442866520/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878698.836544-1271-32261519025801 `" && echo ansible-tmp-1780878698.836544-1271-32261519025801="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.836544-1271-32261519025801 `" ) && 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-1148ktfgdxw7/tmpga6k9vfa TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.836544-1271-32261519025801/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.836544-1271-32261519025801/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.836544-1271-32261519025801/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.836544-1271-32261519025801/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878698.836544-1271-32261519025801/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878700.1926825-1360-151217365785783 `" && echo ansible-tmp-1780878700.1926825-1360-151217365785783="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.1926825-1360-151217365785783 `" ) && 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-1148ktfgdxw7/tmppz6huc0j TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.1926825-1360-151217365785783/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.1926825-1360-151217365785783/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.1926825-1360-151217365785783/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.1926825-1360-151217365785783/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.1926825-1360-151217365785783/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878701.1348536-1435-46364894737499 `" && echo ansible-tmp-1780878701.1348536-1435-46364894737499="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1348536-1435-46364894737499 `" ) && 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-1148ktfgdxw7/tmpo7qxl4ef TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1348536-1435-46364894737499/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1348536-1435-46364894737499/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1348536-1435-46364894737499/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1348536-1435-46364894737499/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1348536-1435-46364894737499/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878702.2111797-1513-161220917426778 `" && echo ansible-tmp-1780878702.2111797-1513-161220917426778="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2111797-1513-161220917426778 `" ) && 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-1148ktfgdxw7/tmpovhy5fgp TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2111797-1513-161220917426778/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2111797-1513-161220917426778/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2111797-1513-161220917426778/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2111797-1513-161220917426778/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.2111797-1513-161220917426778/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } 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-1780878703.221211-1513-90462014923203 `" && echo ansible-tmp-1780878703.221211-1513-90462014923203="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.221211-1513-90462014923203 `" ) && 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-1148ktfgdxw7/tmptzffm9lp TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.221211-1513-90462014923203/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.221211-1513-90462014923203/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.221211-1513-90462014923203/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.221211-1513-90462014923203/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.221211-1513-90462014923203/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39539",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-1780878704.138248-1652-238414083794104 `" && echo ansible-tmp-1780878704.138248-1652-238414083794104="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.138248-1652-238414083794104 `" ) && 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-1148ktfgdxw7/tmpxjijb5qs TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.138248-1652-238414083794104/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.138248-1652-238414083794104/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.138248-1652-238414083794104/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.138248-1652-238414083794104/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.138248-1652-238414083794104/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:15Z",  "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\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:15Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:16Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39113",  "uid": "eccac5ef-e1a4-4cd4-9adb-b503a126b7a7"  },  "spec": {  "clusterIP": "10.217.4.253",  "clusterIPs": [  "10.217.4.253"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","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":"682122454233135466","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 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: e4f8867a8196415fb936171cd0ce3e02 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/e4f8867a8196415fb936171cd0ce3e02 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/e4f8867a8196415fb936171cd0ce3e02 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io{"level":"info","ts":"2026-06-08T00:31:45Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"9185841990849512634","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} ",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126 `" && echo ansible-tmp-1780878697.7827442-1208-8661497487126="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126 `" ) && 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-1146fg8u1sdg/tmpqu3sqy0y TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878697.7827442-1208-8661497487126/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878699.04689-1300-18063186821614 `" && echo ansible-tmp-1780878699.04689-1300-18063186821614="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.04689-1300-18063186821614 `" ) && 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-1146fg8u1sdg/tmp6yptb215 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.04689-1300-18063186821614/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.04689-1300-18063186821614/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.04689-1300-18063186821614/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.04689-1300-18063186821614/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878699.04689-1300-18063186821614/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878700.3164837-1389-50689883338967 `" && echo ansible-tmp-1780878700.3164837-1389-50689883338967="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.3164837-1389-50689883338967 `" ) && 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-1146fg8u1sdg/tmpay5pfkaa TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.3164837-1389-50689883338967/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.3164837-1389-50689883338967/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.3164837-1389-50689883338967/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.3164837-1389-50689883338967/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878700.3164837-1389-50689883338967/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878701.1707067-1445-218179115728512 `" && echo ansible-tmp-1780878701.1707067-1445-218179115728512="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1707067-1445-218179115728512 `" ) && 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-1146fg8u1sdg/tmpcdrxiruf TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1707067-1445-218179115728512/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1707067-1445-218179115728512/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1707067-1445-218179115728512/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1707067-1445-218179115728512/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878701.1707067-1445-218179115728512/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878702.5301178-1542-111549246811754 `" && echo ansible-tmp-1780878702.5301178-1542-111549246811754="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.5301178-1542-111549246811754 `" ) && 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-1146fg8u1sdg/tmp32uz8_sj TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.5301178-1542-111549246811754/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.5301178-1542-111549246811754/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.5301178-1542-111549246811754/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.5301178-1542-111549246811754/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878702.5301178-1542-111549246811754/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } 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-1780878703.5048814-1542-119544187037166 `" && echo ansible-tmp-1780878703.5048814-1542-119544187037166="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.5048814-1542-119544187037166 `" ) && 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-1146fg8u1sdg/tmptw_6jevq TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.5048814-1542-119544187037166/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.5048814-1542-119544187037166/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.5048814-1542-119544187037166/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.5048814-1542-119544187037166/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878703.5048814-1542-119544187037166/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39534",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-1780878704.4247568-1670-16040704686843 `" && echo ansible-tmp-1780878704.4247568-1670-16040704686843="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.4247568-1670-16040704686843 `" ) && 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-1146fg8u1sdg/tmp4u3ptu1e TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.4247568-1670-16040704686843/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.4247568-1670-16040704686843/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.4247568-1670-16040704686843/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.4247568-1670-16040704686843/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878704.4247568-1670-16040704686843/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:13Z",  "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\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39077",  "uid": "03e2448b-76e4-4240-8a8e-40d28f42d2e0"  },  "spec": {  "clusterIP": "10.217.4.191",  "clusterIPs": [  "10.217.4.191"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:45Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:45Z","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":"682122454233135466","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/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:45Z","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":"4316447539561662652","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:45Z","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":"4316447539561662652","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/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2409314107844213529","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:46Z","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":"2409314107844213529","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","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":"682122454233135466","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","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":"682122454233135466","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:46Z","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":"1723176140321887662","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",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","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":"3114623150738524150","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1723176140321887662","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:46Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","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":"4316447539561662652","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3114623150738524150","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:46Z","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":"4316447539561662652","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31: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"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2409314107844213529","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2409314107844213529","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:47Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:47Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"682122454233135466","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31:47Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-08T00:31: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"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:47Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1723176140321887662","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:47Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1723176140321887662","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:47Z","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 cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:47Z","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":"3114623150738524150","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:47Z","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":"3114623150738524150","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:47Z","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":"4316447539561662652","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31:48Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:48Z","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":"2409314107844213529","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:31: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":"682122454233135466","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:48Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:31:48Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"1723176140321887662","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:48Z","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":"4316447539561662652","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:31:48Z","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":"3114623150738524150","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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:49Z","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":"2409314107844213529","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-06-08T00:31: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":"682122454233135466","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1723176140321887662","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3114623150738524150","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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"4316447539561662652","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:49Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2409314107844213529","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:50Z","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":"1723176140321887662","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-06-08T00:31:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3114623150738524150","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:50Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:50Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} {"level":"info","ts":"2026-06-08T00:31:50Z","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': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39529",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:35Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"682122454233135466","EventData.Name":"smartgateway : Deploy services requested by this 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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"682122454233135466","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31:51Z","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"]}} {"level":"info","ts":"2026-06-08T00:31:51Z","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: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:51Z","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-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39524",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31: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":"4316447539561662652","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31: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-06-08T00:31:51Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} {"level":"info","ts":"2026-06-08T00:31:51Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4316447539561662652","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: a7d45bb542b146248f0ba64b005d867f ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/a7d45bb542b146248f0ba64b005d867f 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/a7d45bb542b146248f0ba64b005d867f PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325 `" && echo ansible-tmp-1780878705.7492287-1728-29938379511325="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325 `" ) && 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-1687bth_mk66/tmpco27dlhm TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.7492287-1728-29938379511325/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878706.9257927-1805-198054762635652 `" && echo ansible-tmp-1780878706.9257927-1805-198054762635652="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.9257927-1805-198054762635652 `" ) && 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-1687bth_mk66/tmp65y82oom TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.9257927-1805-198054762635652/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.9257927-1805-198054762635652/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.9257927-1805-198054762635652/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.9257927-1805-198054762635652/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.9257927-1805-198054762635652/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878707.9616249-1886-277880057900920 `" && echo ansible-tmp-1780878707.9616249-1886-277880057900920="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.9616249-1886-277880057900920 `" ) && 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-1687bth_mk66/tmp0c17akyd TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.9616249-1886-277880057900920/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.9616249-1886-277880057900920/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.9616249-1886-277880057900920/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.9616249-1886-277880057900920/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.9616249-1886-277880057900920/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878708.8881683-1956-201799553605129 `" && echo ansible-tmp-1780878708.8881683-1956-201799553605129="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.8881683-1956-201799553605129 `" ) && 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-1687bth_mk66/tmpt6f0xfm2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.8881683-1956-201799553605129/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.8881683-1956-201799553605129/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.8881683-1956-201799553605129/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.8881683-1956-201799553605129/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.8881683-1956-201799553605129/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878709.9515183-2046-57876369392708 `" && echo ansible-tmp-1780878709.9515183-2046-57876369392708="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.9515183-2046-57876369392708 `" ) && 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-1687bth_mk66/tmpsm4mw0yd TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.9515183-2046-57876369392708/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.9515183-2046-57876369392708/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.9515183-2046-57876369392708/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.9515183-2046-57876369392708/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.9515183-2046-57876369392708/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } 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-1780878710.8671-2046-65286537473980 `" && echo ansible-tmp-1780878710.8671-2046-65286537473980="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.8671-2046-65286537473980 `" ) && 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-1687bth_mk66/tmpb9im0zon TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.8671-2046-65286537473980/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.8671-2046-65286537473980/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.8671-2046-65286537473980/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.8671-2046-65286537473980/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.8671-2046-65286537473980/ > /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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39524",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31:51Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:51Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:51Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:51Z","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-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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39508",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:42Z",  "lastUpdateTime": "2026-06-08T00:31:42Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2409314107844213529","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"682122454233135466","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: 90612196d6dd42b78574723033c46a5a ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/90612196d6dd42b78574723033c46a5a 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/90612196d6dd42b78574723033c46a5a PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738 `" && echo ansible-tmp-1780878705.4951363-1709-85783209902738="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738 `" ) && 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-1665tfnmqr4m/tmp2_1wff_t TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878705.4951363-1709-85783209902738/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878706.4870045-1767-238705330924350 `" && echo ansible-tmp-1780878706.4870045-1767-238705330924350="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.4870045-1767-238705330924350 `" ) && 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-1665tfnmqr4m/tmppor_vfsu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.4870045-1767-238705330924350/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.4870045-1767-238705330924350/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.4870045-1767-238705330924350/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.4870045-1767-238705330924350/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.4870045-1767-238705330924350/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878707.544849-1843-75385200723463 `" && echo ansible-tmp-1780878707.544849-1843-75385200723463="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.544849-1843-75385200723463 `" ) && 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-1665tfnmqr4m/tmpo_zejb1k TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.544849-1843-75385200723463/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.544849-1843-75385200723463/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.544849-1843-75385200723463/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.544849-1843-75385200723463/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.544849-1843-75385200723463/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878708.4342034-1924-112478027419897 `" && echo ansible-tmp-1780878708.4342034-1924-112478027419897="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.4342034-1924-112478027419897 `" ) && 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-1665tfnmqr4m/tmp4lri0u9a TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.4342034-1924-112478027419897/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.4342034-1924-112478027419897/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.4342034-1924-112478027419897/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.4342034-1924-112478027419897/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.4342034-1924-112478027419897/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878709.2912054-2000-63087223043776 `" && echo ansible-tmp-1780878709.2912054-2000-63087223043776="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.2912054-2000-63087223043776 `" ) && 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-1665tfnmqr4m/tmpp9aussre TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.2912054-2000-63087223043776/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.2912054-2000-63087223043776/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.2912054-2000-63087223043776/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.2912054-2000-63087223043776/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.2912054-2000-63087223043776/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } 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-1780878710.1473846-2000-101526287531535 `" && echo ansible-tmp-1780878710.1473846-2000-101526287531535="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1473846-2000-101526287531535 `" ) && 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-1665tfnmqr4m/tmp0ylt97_4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1473846-2000-101526287531535/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1473846-2000-101526287531535/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1473846-2000-101526287531535/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1473846-2000-101526287531535/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1473846-2000-101526287531535/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39529",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:35Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-1780878711.0263088-2140-34055208743916 `" && echo ansible-tmp-1780878711.0263088-2140-34055208743916="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0263088-2140-34055208743916 `" ) && 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-1665tfnmqr4m/tmpqpfvpivm TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0263088-2140-34055208743916/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0263088-2140-34055208743916/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0263088-2140-34055208743916/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0263088-2140-34055208743916/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0263088-2140-34055208743916/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:19Z",  "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\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39164",  "uid": "2121c9e9-057d-4d02-b764-3d58102b0d29"  },  "spec": {  "clusterIP": "10.217.4.104",  "clusterIPs": [  "10.217.4.104"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2409314107844213529","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 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: 28ed0c3fe14e4ddfbb06641ed78d60b0 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/28ed0c3fe14e4ddfbb06641ed78d60b0 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/28ed0c3fe14e4ddfbb06641ed78d60b0 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429 `" && echo ansible-tmp-1780878706.1140223-1748-269857596256429="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429 `" ) && 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-16948_ptoqwf/tmpxc6yw2ea TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.1140223-1748-269857596256429/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878707.2853901-1832-242842830597855 `" && echo ansible-tmp-1780878707.2853901-1832-242842830597855="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.2853901-1832-242842830597855 `" ) && 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-16948_ptoqwf/tmpbb8x6rql TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.2853901-1832-242842830597855/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.2853901-1832-242842830597855/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.2853901-1832-242842830597855/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.2853901-1832-242842830597855/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.2853901-1832-242842830597855/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878708.3444507-1909-245640733901550 `" && echo ansible-tmp-1780878708.3444507-1909-245640733901550="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.3444507-1909-245640733901550 `" ) && 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-16948_ptoqwf/tmp12w6eyzj TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.3444507-1909-245640733901550/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.3444507-1909-245640733901550/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.3444507-1909-245640733901550/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.3444507-1909-245640733901550/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.3444507-1909-245640733901550/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878709.1846573-1986-24228681742069 `" && echo ansible-tmp-1780878709.1846573-1986-24228681742069="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.1846573-1986-24228681742069 `" ) && 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-16948_ptoqwf/tmpab1if4rn TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.1846573-1986-24228681742069/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.1846573-1986-24228681742069/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.1846573-1986-24228681742069/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.1846573-1986-24228681742069/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.1846573-1986-24228681742069/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878710.1770256-2064-239484720285543 `" && echo ansible-tmp-1780878710.1770256-2064-239484720285543="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1770256-2064-239484720285543 `" ) && 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-16948_ptoqwf/tmpklry1ecv TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1770256-2064-239484720285543/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1770256-2064-239484720285543/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1770256-2064-239484720285543/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1770256-2064-239484720285543/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.1770256-2064-239484720285543/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } 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-1780878711.0511973-2064-30054028722590 `" && echo ansible-tmp-1780878711.0511973-2064-30054028722590="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0511973-2064-30054028722590 `" ) && 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-16948_ptoqwf/tmpnmnzy9bd TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0511973-2064-30054028722590/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0511973-2064-30054028722590/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0511973-2064-30054028722590/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0511973-2064-30054028722590/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.0511973-2064-30054028722590/ > /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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39508",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:42Z",  "lastUpdateTime": "2026-06-08T00:31:42Z",  "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-06-08T00:31:52Z","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-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:52Z","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": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39539",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1723176140321887662","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-06-08T00:31:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1723176140321887662","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": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39534",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-06-08T00:31: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":"3114623150738524150","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"3114623150738524150","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:31: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"]}} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-ceil-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-ceil-meter","Parts":["services","default-cloud1-ceil-meter"]}} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3114623150738524150","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} ----- 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: 99da150f5a0d4886a153a0daa5b68b07 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/99da150f5a0d4886a153a0daa5b68b07 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/99da150f5a0d4886a153a0daa5b68b07 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758 `" && echo ansible-tmp-1780878706.8644228-1799-29780702695758="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758 `" ) && 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-1722lf6qisql/tmpw00z57uy TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.8644228-1799-29780702695758/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878707.8958435-1875-241917438925698 `" && echo ansible-tmp-1780878707.8958435-1875-241917438925698="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8958435-1875-241917438925698 `" ) && 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-1722lf6qisql/tmpvf8nuq85 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8958435-1875-241917438925698/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8958435-1875-241917438925698/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8958435-1875-241917438925698/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8958435-1875-241917438925698/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8958435-1875-241917438925698/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878708.9115002-1957-210935043771516 `" && echo ansible-tmp-1780878708.9115002-1957-210935043771516="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.9115002-1957-210935043771516 `" ) && 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-1722lf6qisql/tmp_b5yej5t TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.9115002-1957-210935043771516/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.9115002-1957-210935043771516/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.9115002-1957-210935043771516/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.9115002-1957-210935043771516/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.9115002-1957-210935043771516/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878709.7634618-2030-15526270949422 `" && echo ansible-tmp-1780878709.7634618-2030-15526270949422="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.7634618-2030-15526270949422 `" ) && 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-1722lf6qisql/tmp7u45j4hg TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.7634618-2030-15526270949422/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.7634618-2030-15526270949422/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.7634618-2030-15526270949422/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.7634618-2030-15526270949422/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.7634618-2030-15526270949422/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878710.6255605-2096-103393767537856 `" && echo ansible-tmp-1780878710.6255605-2096-103393767537856="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.6255605-2096-103393767537856 `" ) && 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-1722lf6qisql/tmp_w32aqlm TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.6255605-2096-103393767537856/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.6255605-2096-103393767537856/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.6255605-2096-103393767537856/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.6255605-2096-103393767537856/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.6255605-2096-103393767537856/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } 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-1780878711.5650733-2096-12263309039087 `" && echo ansible-tmp-1780878711.5650733-2096-12263309039087="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.5650733-2096-12263309039087 `" ) && 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-1722lf6qisql/tmpmrhpsthz TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.5650733-2096-12263309039087/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.5650733-2096-12263309039087/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.5650733-2096-12263309039087/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.5650733-2096-12263309039087/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.5650733-2096-12263309039087/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39534",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-1780878712.4531682-2220-240426659024977 `" && echo ansible-tmp-1780878712.4531682-2220-240426659024977="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.4531682-2220-240426659024977 `" ) && 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-1722lf6qisql/tmpawh83uru TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.4531682-2220-240426659024977/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.4531682-2220-240426659024977/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.4531682-2220-240426659024977/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.4531682-2220-240426659024977/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.4531682-2220-240426659024977/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:13Z",  "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\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39077",  "uid": "03e2448b-76e4-4240-8a8e-40d28f42d2e0"  },  "spec": {  "clusterIP": "10.217.4.191",  "clusterIPs": [  "10.217.4.191"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} ----- 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: f12c393256f148c6b1df49b5e9250e7b ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/f12c393256f148c6b1df49b5e9250e7b 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/f12c393256f148c6b1df49b5e9250e7b PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.i{"level":"info","ts":"2026-06-08T00:31:53Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1723176140321887662","name":"default-cloud1-ceil-meter","namespace":"service-telemetry"} o",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022 `" && echo ansible-tmp-1780878706.6919134-1781-203086432912022="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022 `" ) && 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-17041oijzej1/tmpz7gprxgs TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878706.6919134-1781-203086432912022/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878707.8387501-1864-180755909679157 `" && echo ansible-tmp-1780878707.8387501-1864-180755909679157="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8387501-1864-180755909679157 `" ) && 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-17041oijzej1/tmpdfjaotjt TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8387501-1864-180755909679157/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8387501-1864-180755909679157/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8387501-1864-180755909679157/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8387501-1864-180755909679157/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878707.8387501-1864-180755909679157/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878708.812971-1939-160943339434810 `" && echo ansible-tmp-1780878708.812971-1939-160943339434810="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.812971-1939-160943339434810 `" ) && 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-17041oijzej1/tmp9lsxqdad TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.812971-1939-160943339434810/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.812971-1939-160943339434810/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.812971-1939-160943339434810/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.812971-1939-160943339434810/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878708.812971-1939-160943339434810/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878709.6385303-2015-86805141514619 `" && echo ansible-tmp-1780878709.6385303-2015-86805141514619="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.6385303-2015-86805141514619 `" ) && 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-17041oijzej1/tmp0scuqudu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.6385303-2015-86805141514619/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.6385303-2015-86805141514619/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.6385303-2015-86805141514619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.6385303-2015-86805141514619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878709.6385303-2015-86805141514619/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878710.5944183-2095-89927379731475 `" && echo ansible-tmp-1780878710.5944183-2095-89927379731475="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.5944183-2095-89927379731475 `" ) && 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-17041oijzej1/tmpygorqzhu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.5944183-2095-89927379731475/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.5944183-2095-89927379731475/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.5944183-2095-89927379731475/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.5944183-2095-89927379731475/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878710.5944183-2095-89927379731475/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } 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-1780878711.483377-2095-192994467856183 `" && echo ansible-tmp-1780878711.483377-2095-192994467856183="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.483377-2095-192994467856183 `" ) && 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-17041oijzej1/tmpli1i93_n TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.483377-2095-192994467856183/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.483377-2095-192994467856183/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.483377-2095-192994467856183/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.483377-2095-192994467856183/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878711.483377-2095-192994467856183/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:43Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39539",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:43Z",  "lastUpdateTime": "2026-06-08T00:31:43Z",  "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-1780878712.3811948-2206-127500491301619 `" && echo ansible-tmp-1780878712.3811948-2206-127500491301619="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.3811948-2206-127500491301619 `" ) && 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-17041oijzej1/tmpoz4p92z8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.3811948-2206-127500491301619/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.3811948-2206-127500491301619/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.3811948-2206-127500491301619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.3811948-2206-127500491301619/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878712.3811948-2206-127500491301619/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:15Z",  "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\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:15Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:16Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39113",  "uid": "eccac5ef-e1a4-4cd4-9adb-b503a126b7a7"  },  "spec": {  "clusterIP": "10.217.4.253",  "clusterIPs": [  "10.217.4.253"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:53Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:56Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:57Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:57Z","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":"4563480794329226414","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:57Z","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":"2477485412596751818","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31: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":"4563480794329226414","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2477485412596751818","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2026-06-08T00:31:58Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:58Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:58Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:31:58Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:58Z","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":"6200200748930978988","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:58Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"4563480794329226414","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"2477485412596751818","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"4563480794329226414","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31: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":"6200200748930978988","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:59Z","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":"2477485412596751818","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:31:59Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:31:59Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:31:59Z","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/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:31:59Z","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":"6360251494042020210","EventData.TaskArgs":""} {"level":"info","ts":"2026-06-08T00:31:59Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-08T00:31:59Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:32:00Z","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 cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"6200200748930978988","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"6360251494042020210","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"6200200748930978988","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4563480794329226414","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:32: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":"2477485412596751818","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:00Z","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":"4285866225221588775","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:01Z","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":"4563480794329226414","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:32:01Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2026-06-08T00:32: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":"4285866225221588775","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6360251494042020210","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-06-08T00:32:01Z","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":"2477485412596751818","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-06-08T00:32:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6360251494042020210","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6200200748930978988","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: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:02Z","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":"4563480794329226414","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"6200200748930978988","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: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:02Z","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":"2477485412596751818","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:32:02Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2026-06-08T00:32:02Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:02Z","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":"6360251494042020210","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4285866225221588775","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4285866225221588775","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2026-06-08T00:32:02Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-meter-sg-core-configmap"]}} {"level":"info","ts":"2026-06-08T00:32:02Z","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-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:03Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"6200200748930978988","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"6360251494042020210","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:32:03Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4285866225221588775","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2026-06-08T00:32:03Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-event-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-event-sg-core-configmap"]}} {"level":"info","ts":"2026-06-08T00:32:03Z","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-06-08T00:32:03Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-meter-smartgateway","Parts":["deployments","default-cloud1-ceil-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:56Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39640",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:56Z",  "lastUpdateTime": "2026-06-08T00:31:56Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4563480794329226414","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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:56Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39634",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:56Z",  "lastUpdateTime": "2026-06-08T00:31:56Z",  "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-06-08T00:32: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":"2477485412596751818","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4563480794329226414","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-06-08T00:32: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":"2477485412596751818","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:04Z","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":"6360251494042020210","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4285866225221588775","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2026-06-08T00:32:04Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} {"level":"info","ts":"2026-06-08T00:32:04Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-coll-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-coll-meter","Parts":["services","default-cloud1-coll-meter"]}} {"level":"info","ts":"2026-06-08T00:32:04Z","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-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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:57Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39656",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:57Z",  "lastUpdateTime": "2026-06-08T00:31:57Z",  "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-06-08T00:32: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":"6200200748930978988","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2026-06-08T00:32:04Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4563480794329226414","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 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: 8dec79d2ed5143bf8f1f9928f4164a10 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/8dec79d2ed5143bf8f1f9928f4164a10 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/8dec79d2ed5143bf8f1f9928f4164a10 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448 `" && echo ansible-tmp-1780878717.929669-2258-140514952055448="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448 `" ) && 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-2240qknorteb/tmp3bdru9yg TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.929669-2258-140514952055448/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878719.0121837-2299-73992812300106 `" && echo ansible-tmp-1780878719.0121837-2299-73992812300106="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0121837-2299-73992812300106 `" ) && 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-2240qknorteb/tmpj6e6bdin TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0121837-2299-73992812300106/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0121837-2299-73992812300106/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0121837-2299-73992812300106/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0121837-2299-73992812300106/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0121837-2299-73992812300106/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878720.1826053-2364-170286891980195 `" && echo ansible-tmp-1780878720.1826053-2364-170286891980195="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1826053-2364-170286891980195 `" ) && 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-2240qknorteb/tmpgcygw1rr TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1826053-2364-170286891980195/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1826053-2364-170286891980195/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1826053-2364-170286891980195/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1826053-2364-170286891980195/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1826053-2364-170286891980195/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878721.0551562-2414-73390775527111 `" && echo ansible-tmp-1780878721.0551562-2414-73390775527111="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.0551562-2414-73390775527111 `" ) && 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-2240qknorteb/tmp7s__opl8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.0551562-2414-73390775527111/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.0551562-2414-73390775527111/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.0551562-2414-73390775527111/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.0551562-2414-73390775527111/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.0551562-2414-73390775527111/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878722.1157782-2489-128783030457731 `" && echo ansible-tmp-1780878722.1157782-2489-128783030457731="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1157782-2489-128783030457731 `" ) && 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-2240qknorteb/tmp1p028757 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1157782-2489-128783030457731/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1157782-2489-128783030457731/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1157782-2489-128783030457731/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1157782-2489-128783030457731/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1157782-2489-128783030457731/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:10Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:10Z"  }  ],  "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": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39049",  "uid": "e85fe8ec-fd16-49a1-95bb-f6f4384f14b7"  }  } } 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-1780878723.086637-2489-158844873743297 `" && echo ansible-tmp-1780878723.086637-2489-158844873743297="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.086637-2489-158844873743297 `" ) && 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-2240qknorteb/tmpsaxljleu TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.086637-2489-158844873743297/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.086637-2489-158844873743297/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.086637-2489-158844873743297/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.086637-2489-158844873743297/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.086637-2489-158844873743297/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:12Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-coll-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:12Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:56Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39640",  "uid": "479974a4-b99c-4fad-be63-ddbb0b58462d"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:12Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-7996dc9458\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:56Z",  "lastUpdateTime": "2026-06-08T00:31:56Z",  "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-1780878724.0113845-2654-182773963519559 `" && echo ansible-tmp-1780878724.0113845-2654-182773963519559="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0113845-2654-182773963519559 `" ) && 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-2240qknorteb/tmplk0vsxu2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0113845-2654-182773963519559/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0113845-2654-182773963519559/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0113845-2654-182773963519559/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0113845-2654-182773963519559/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0113845-2654-182773963519559/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-coll-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:13Z",  "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\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:13Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39077",  "uid": "03e2448b-76e4-4240-8a8e-40d28f42d2e0"  },  "spec": {  "clusterIP": "10.217.4.191",  "clusterIPs": [  "10.217.4.191"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6200200748930978988","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: c868e278d5c549d582b1229a8e66b86d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/c868e278d5c549d582b1229a8e66b86d 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/c868e278d5c549d582b1229a8e66b86d PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896 `" && echo ansible-tmp-1780878719.0010881-2300-190016213577896="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896 `" ) && 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-2250ytv9gy88/tmp2ghh6wku TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0010881-2300-190016213577896/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878720.1889796-2361-164527989000011 `" && echo ansible-tmp-1780878720.1889796-2361-164527989000011="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1889796-2361-164527989000011 `" ) && 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-2250ytv9gy88/tmpan91xh0x TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1889796-2361-164527989000011/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1889796-2361-164527989000011/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1889796-2361-164527989000011/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1889796-2361-164527989000011/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.1889796-2361-164527989000011/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878721.3065257-2453-17946889776473 `" && echo ansible-tmp-1780878721.3065257-2453-17946889776473="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.3065257-2453-17946889776473 `" ) && 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-2250ytv9gy88/tmplj5zti6q TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.3065257-2453-17946889776473/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.3065257-2453-17946889776473/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.3065257-2453-17946889776473/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.3065257-2453-17946889776473/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.3065257-2453-17946889776473/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878722.1453748-2497-194580346025566 `" && echo ansible-tmp-1780878722.1453748-2497-194580346025566="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1453748-2497-194580346025566 `" ) && 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-2250ytv9gy88/tmputxu727l TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1453748-2497-194580346025566/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1453748-2497-194580346025566/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1453748-2497-194580346025566/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1453748-2497-194580346025566/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.1453748-2497-194580346025566/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878723.0960598-2571-185028595208623 `" && echo ansible-tmp-1780878723.0960598-2571-185028595208623="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.0960598-2571-185028595208623 `" ) && 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-2250ytv9gy88/tmpfts90btc TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.0960598-2571-185028595208623/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.0960598-2571-185028595208623/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.0960598-2571-185028595208623/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.0960598-2571-185028595208623/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.0960598-2571-185028595208623/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39219",  "uid": "123eebfe-e288-462d-8f30-eec53952948e"  }  } } 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-1780878723.9599242-2571-273562433043101 `" && echo ansible-tmp-1780878723.9599242-2571-273562433043101="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.9599242-2571-273562433043101 `" ) && 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-2250ytv9gy88/tmp3d2b4kyb TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.9599242-2571-273562433043101/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.9599242-2571-273562433043101/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.9599242-2571-273562433043101/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.9599242-2571-273562433043101/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.9599242-2571-273562433043101/ > /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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"7bab7626-96c8-41c6-9750-859c15b66e9b\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:57Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "7bab7626-96c8-41c6-9750-859c15b66e9b"  }  ],  "resourceVersion": "39656",  "uid": "0fc9b572-22a2-4a3e-a44e-a0374b794b3d"  },  "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-h574hhmmcg",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-69bb8f89bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:57Z",  "lastUpdateTime": "2026-06-08T00:31:57Z",  "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-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2477485412596751818","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: 3acb63671d804923a2207b34dd99f51c ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/3acb63671d804923a2207b34dd99f51c 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/3acb63671d804923a2207b34dd99f51c PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645 `" && echo ansible-tmp-1780878717.9741693-2267-252681719638645="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645 `" ) && 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-2239yje5ppoa/tmpnnchk897 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878717.9741693-2267-252681719638645/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878719.0530467-2304-115929522480001 `" && echo ansible-tmp-1780878719.0530467-2304-115929522480001="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0530467-2304-115929522480001 `" ) && 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-2239yje5ppoa/tmpqx3uo6da TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0530467-2304-115929522480001/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0530467-2304-115929522480001/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0530467-2304-115929522480001/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0530467-2304-115929522480001/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878719.0530467-2304-115929522480001/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878720.2123153-2366-80533697014641 `" && echo ansible-tmp-1780878720.2123153-2366-80533697014641="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.2123153-2366-80533697014641 `" ) && 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-2239yje5ppoa/tmp7pvlai47 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.2123153-2366-80533697014641/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.2123153-2366-80533697014641/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.2123153-2366-80533697014641/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.2123153-2366-80533697014641/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.2123153-2366-80533697014641/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878721.2573268-2443-65892667571260 `" && echo ansible-tmp-1780878721.2573268-2443-65892667571260="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.2573268-2443-65892667571260 `" ) && 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-2239yje5ppoa/tmpci0njnlh TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.2573268-2443-65892667571260/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.2573268-2443-65892667571260/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.2573268-2443-65892667571260/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.2573268-2443-65892667571260/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.2573268-2443-65892667571260/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878722.2338147-2518-271012877604127 `" && echo ansible-tmp-1780878722.2338147-2518-271012877604127="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.2338147-2518-271012877604127 `" ) && 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-2239yje5ppoa/tmpz333c1my TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.2338147-2518-271012877604127/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.2338147-2518-271012877604127/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.2338147-2518-271012877604127/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.2338147-2518-271012877604127/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.2338147-2518-271012877604127/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  }  ],  "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": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39085",  "uid": "fa4ac0be-0a0d-4938-a762-be387f3f228f"  }  } } 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-1780878723.1117616-2518-276026897429315 `" && echo ansible-tmp-1780878723.1117616-2518-276026897429315="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1117616-2518-276026897429315 `" ) && 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-2239yje5ppoa/tmpfz8oa193 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1117616-2518-276026897429315/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1117616-2518-276026897429315/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1117616-2518-276026897429315/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1117616-2518-276026897429315/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1117616-2518-276026897429315/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:14Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-ceil-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:14Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:56Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39634",  "uid": "88a70940-5a73-4a87-96a2-1df3cbb7efc1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:14Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-b57f974ff\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:56Z",  "lastUpdateTime": "2026-06-08T00:31:56Z",  "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-1780878724.030679-2658-190309290338328 `" && echo ansible-tmp-1780878724.030679-2658-190309290338328="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.030679-2658-190309290338328 `" ) && 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-2239yje5ppoa/tmpgcw7xx2r TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.030679-2658-190309290338328/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.030679-2658-190309290338328/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.030679-2658-190309290338328/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.030679-2658-190309290338328/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.030679-2658-190309290338328/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-ceil-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:15Z",  "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\":\"0a1c7663-14af-4d24-90a3-433ddbf88037\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:15Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:16Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "0a1c7663-14af-4d24-90a3-433ddbf88037"  }  ],  "resourceVersion": "39113",  "uid": "eccac5ef-e1a4-4cd4-9adb-b503a126b7a7"  },  "spec": {  "clusterIP": "10.217.4.253",  "clusterIPs": [  "10.217.4.253"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:32:05Z","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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-event-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"4285866225221588775","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2026-06-08T00:32:05Z","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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:58Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39669",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:35Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:58Z",  "lastUpdateTime": "2026-06-08T00:31:58Z",  "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-06-08T00:32: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":"6360251494042020210","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32: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":"6360251494042020210","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-sens-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-sens-meter","Parts":["services","default-cloud1-sens-meter"]}} {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"6360251494042020210","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: e41c6795d44f46ea96595eea1903ef4c ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/e41c6795d44f46ea96595eea1903ef4c 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/e41c6795d44f46ea96595eea1903ef4c PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093 `" && echo ansible-tmp-1780878720.082269-2350-226911406132093="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093 `" ) && 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-2287thu184di/tmp37z3a9i_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878720.082269-2350-226911406132093/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878721.320061-2445-75494833185791 `" && echo ansible-tmp-1780878721.320061-2445-75494833185791="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.320061-2445-75494833185791 `" ) && 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-2287thu184di/tmpwwu11zr4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.320061-2445-75494833185791/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.320061-2445-75494833185791/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.320061-2445-75494833185791/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.320061-2445-75494833185791/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.320061-2445-75494833185791/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878722.3592584-2535-174515595187314 `" && echo ansible-tmp-1780878722.3592584-2535-174515595187314="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.3592584-2535-174515595187314 `" ) && 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-2287thu184di/tmp47rdt9r9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.3592584-2535-174515595187314/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.3592584-2535-174515595187314/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.3592584-2535-174515595187314/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.3592584-2535-174515595187314/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.3592584-2535-174515595187314/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878723.1557264-2602-95535921470687 `" && echo ansible-tmp-1780878723.1557264-2602-95535921470687="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1557264-2602-95535921470687 `" ) && 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-2287thu184di/tmpucbcniia TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1557264-2602-95535921470687/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1557264-2602-95535921470687/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1557264-2602-95535921470687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1557264-2602-95535921470687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.1557264-2602-95535921470687/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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-1780878724.0710814-2668-87847034476903 `" && echo ansible-tmp-1780878724.0710814-2668-87847034476903="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0710814-2668-87847034476903 `" ) && 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-2287thu184di/tmp739nce1t TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0710814-2668-87847034476903/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0710814-2668-87847034476903/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0710814-2668-87847034476903/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0710814-2668-87847034476903/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.0710814-2668-87847034476903/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:17Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:17Z"  }  ],  "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": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39124",  "uid": "9902467d-7f3c-4e15-9943-1553c80efe26"  }  } } 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-1780878724.9700506-2668-72013982785772 `" && echo ansible-tmp-1780878724.9700506-2668-72013982785772="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.9700506-2668-72013982785772 `" ) && 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-2287thu184di/tmpjx8gf5gi TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.9700506-2668-72013982785772/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.9700506-2668-72013982785772/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.9700506-2668-72013982785772/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.9700506-2668-72013982785772/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.9700506-2668-72013982785772/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:18Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"oauth-proxy\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/proxy/secrets\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/tls/private\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:ports": {  ".": {},  "k:{\"containerPort\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:containerPort": {},  "f:name": {},  "f:protocol": {}  }  },  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"default-cloud1-sens-meter-proxy-tls\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:18Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2026-06-08T00:31:58Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39669",  "uid": "19776d8e-c120-47d1-bc71-e464fedd9b62"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:18Z",  "lastUpdateTime": "2026-06-08T00:31:35Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-6864f4fb65\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:58Z",  "lastUpdateTime": "2026-06-08T00:31:58Z",  "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-1780878725.879003-2755-202902499561962 `" && echo ansible-tmp-1780878725.879003-2755-202902499561962="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.879003-2755-202902499561962 `" ) && 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-2287thu184di/tmpdi00i5ho TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.879003-2755-202902499561962/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.879003-2755-202902499561962/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.879003-2755-202902499561962/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.879003-2755-202902499561962/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.879003-2755-202902499561962/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls"  },  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry"  },  "spec": {  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "v1",  "kind": "Service",  "metadata": {  "annotations": {  "service.alpha.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168",  "service.beta.openshift.io/serving-cert-secret-name": "default-cloud1-sens-meter-proxy-tls",  "service.beta.openshift.io/serving-cert-signed-by": "openshift-service-serving-signer@1740288168"  },  "creationTimestamp": "2026-06-08T00:31:19Z",  "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\":\"be34f717-f7a0-4237-84c8-77e43ee3a89a\"}": {}  }  },  "f:spec": {  "f:internalTrafficPolicy": {},  "f:ports": {  ".": {},  "k:{\"port\":8083,\"protocol\":\"TCP\"}": {  ".": {},  "f:name": {},  "f:port": {},  "f:protocol": {},  "f:targetPort": {}  }  },  "f:selector": {},  "f:sessionAffinity": {},  "f:type": {}  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2026-06-08T00:31:19Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "be34f717-f7a0-4237-84c8-77e43ee3a89a"  }  ],  "resourceVersion": "39164",  "uid": "2121c9e9-057d-4d02-b764-3d58102b0d29"  },  "spec": {  "clusterIP": "10.217.4.104",  "clusterIPs": [  "10.217.4.104"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:32:06Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2026-06-08T00:32:07Z","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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:59Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39681",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:59Z",  "lastUpdateTime": "2026-06-08T00:31:59Z",  "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-06-08T00:32: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":"4285866225221588775","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} ----- 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 ---------- {"level":"info","ts":"2026-06-08T00:32:07Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4285866225221588775","name":"default-cloud1-ceil-event","namespace":"service-telemetry"} ----- 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: 80a82b19b0e04260bf067a46f8144277 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/80a82b19b0e04260bf067a46f8144277 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/80a82b19b0e04260bf067a46f8144277 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoops.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "packageregistry.k8s.elastic.co",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "trust.cert-manager.io",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000670000  EXEC /bin/sh -c 'echo ~1000670000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302 `" && echo ansible-tmp-1780878721.1379647-2425-138748704916302="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302 `" ) && 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-23426gg5q4tp/tmpj4zzbp_w TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878721.1379647-2425-138748704916302/ > /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": "aktMQ05DbDh5Ml9oYTFwellnYUg="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:07Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39019",  "uid": "b8920c90-e470-4faa-8556-31527414f729"  },  "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-1780878722.5035746-2551-185427140265005 `" && echo ansible-tmp-1780878722.5035746-2551-185427140265005="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.5035746-2551-185427140265005 `" ) && 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-23426gg5q4tp/tmpicgq9rqw TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.5035746-2551-185427140265005/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.5035746-2551-185427140265005/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.5035746-2551-185427140265005/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.5035746-2551-185427140265005/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878722.5035746-2551-185427140265005/ > /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-n8lvx"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-n8lvx"  },  "creationTimestamp": "2026-06-08T00:31:08Z",  "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-n8lvx\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2026-06-08T00:31:08Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"95bd8377-aa23-43f3-b81c-a4f107e1fa0d\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:08Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "95bd8377-aa23-43f3-b81c-a4f107e1fa0d"  }  ],  "resourceVersion": "39036",  "uid": "580d4824-927d-42d8-84d9-4396fc071ba6"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-n8lvx"  }  ]  } } 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-1780878723.5205276-2625-179410550612172 `" && echo ansible-tmp-1780878723.5205276-2625-179410550612172="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.5205276-2625-179410550612172 `" ) && 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-23426gg5q4tp/tmpf8mebz9r TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.5205276-2625-179410550612172/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.5205276-2625-179410550612172/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.5205276-2625-179410550612172/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.5205276-2625-179410550612172/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878723.5205276-2625-179410550612172/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "name": "smart-gateway"  },  "rules": [  {  "apiGroups": [  "authentication.k8s.io"  ],  "resources": [  "tokenreviews"  ],  "verbs": [  "create"  ]  },  {  "apiGroups": [  "authorization.k8s.io"  ],  "resources": [  "subjectaccessreviews"  ],  "verbs": [  "create"  ]  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRole",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  }  },  "f:rules": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39040",  "uid": "ba88df28-f07d-4ec4-b6e6-e4abf6dedf5a"  },  "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-1780878724.3819458-2702-248665589636101 `" && echo ansible-tmp-1780878724.3819458-2702-248665589636101="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.3819458-2702-248665589636101 `" ) && 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-23426gg5q4tp/tmpnqlsxxn0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.3819458-2702-248665589636101/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.3819458-2702-248665589636101/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.3819458-2702-248665589636101/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.3819458-2702-248665589636101/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878724.3819458-2702-248665589636101/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "name": "smart-gateway"  },  "roleRef": {  "apiGroup": "rbac.authorization.k8s.io",  "kind": "ClusterRole",  "name": "smart-gateway"  },  "subjects": [  {  "kind": "ServiceAccount",  "name": "smart-gateway",  "namespace": "service-telemetry"  }  ]  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "method": "update",  "result": {  "apiVersion": "rbac.authorization.k8s.io/v1",  "kind": "ClusterRoleBinding",  "metadata": {  "annotations": {  "operator-sdk/primary-resource": "service-telemetry/default-cloud1-coll-meter",  "operator-sdk/primary-resource-type": "SmartGateway.smartgateway.infra.watch"  },  "creationTimestamp": "2026-06-08T00:31:09Z",  "labels": {  "app.kubernetes.io/component": "smart-gateway",  "app.kubernetes.io/name": "smart-gateway",  "app.kubernetes.io/part-of": "service-telemetry-framework"  },  "managedFields": [  {  "apiVersion": "rbac.authorization.k8s.io/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:operator-sdk/primary-resource": {},  "f:operator-sdk/primary-resource-type": {}  },  "f:labels": {  ".": {},  "f:app.kubernetes.io/component": {},  "f:app.kubernetes.io/name": {},  "f:app.kubernetes.io/part-of": {}  }  },  "f:roleRef": {},  "f:subjects": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:09Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "39044",  "uid": "e7473f95-88e3-4b67-9882-8d7c09c7af22"  },  "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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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-1780878725.2917361-2739-206385652886878 `" && echo ansible-tmp-1780878725.2917361-2739-206385652886878="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.2917361-2739-206385652886878 `" ) && 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-23426gg5q4tp/tmp30ldq2ng TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.2917361-2739-206385652886878/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.2917361-2739-206385652886878/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.2917361-2739-206385652886878/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.2917361-2739-206385652886878/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878725.2917361-2739-206385652886878/ > /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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', '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': 'CDSd0SItDdjtBQYSTOCWBOxB', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2026-06-08T00:31:25Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31:25Z"  }  ],  "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": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39221",  "uid": "1b00173b-fee1-489a-8ada-c3a087767c3a"  }  } } 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-1780878726.3104558-2739-573946051022 `" && echo ansible-tmp-1780878726.3104558-2739-573946051022="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1780878726.3104558-2739-573946051022 `" ) && 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-23426gg5q4tp/tmp6xg56voo TO /opt/ansible/.ansible/tmp/ansible-tmp-1780878726.3104558-2739-573946051022/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1780878726.3104558-2739-573946051022/ /opt/ansible/.ansible/tmp/ansible-tmp-1780878726.3104558-2739-573946051022/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1780878726.3104558-2739-573946051022/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1780878726.3104558-2739-573946051022/ > /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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2026-06-08T00:31:26Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"258de6ec-a1a2-48a5-a1e3-34d1be4f43d2\"}": {}  }  },  "f:spec": {  "f:progressDeadlineSeconds": {},  "f:replicas": {},  "f:revisionHistoryLimit": {},  "f:selector": {},  "f:strategy": {  "f:rollingUpdate": {  ".": {},  "f:maxSurge": {},  "f:maxUnavailable": {}  },  "f:type": {}  },  "f:template": {  "f:metadata": {  "f:labels": {  ".": {},  "f:app": {},  "f:sg-config-resource-name": {},  "f:smart-gateway": {}  }  },  "f:spec": {  "f:containers": {  "k:{\"name\":\"bridge\"}": {  ".": {},  "f:args": {},  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  },  "k:{\"name\":\"sg-core\"}": {  ".": {},  "f:args": {},  "f:env": {  ".": {},  "k:{\"name\":\"MY_POD_NAME\"}": {  ".": {},  "f:name": {},  "f:valueFrom": {  ".": {},  "f:fieldRef": {}  }  }  },  "f:image": {},  "f:imagePullPolicy": {},  "f:name": {},  "f:resources": {},  "f:terminationMessagePath": {},  "f:terminationMessagePolicy": {},  "f:volumeMounts": {  ".": {},  "k:{\"mountPath\":\"/config/certs\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  },  "k:{\"mountPath\":\"/etc/sg-core/\"}": {  ".": {},  "f:mountPath": {},  "f:name": {},  "f:readOnly": {}  },  "k:{\"mountPath\":\"/tmp\"}": {  ".": {},  "f:mountPath": {},  "f:name": {}  }  }  }  },  "f:dnsPolicy": {},  "f:restartPolicy": {},  "f:schedulerName": {},  "f:securityContext": {},  "f:serviceAccount": {},  "f:serviceAccountName": {},  "f:terminationGracePeriodSeconds": {},  "f:volumes": {  ".": {},  "k:{\"name\":\"elastic-certs\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"session-secret\"}": {  ".": {},  "f:name": {},  "f:secret": {  ".": {},  "f:defaultMode": {},  "f:secretName": {}  }  },  "k:{\"name\":\"sg-core-config\"}": {  ".": {},  "f:configMap": {  ".": {},  "f:defaultMode": {},  "f:name": {}  },  "f:name": {}  },  "k:{\"name\":\"socket-dir\"}": {  ".": {},  "f:emptyDir": {},  "f:name": {}  }  }  }  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2026-06-08T00:31: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-06-08T00:31:59Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "258de6ec-a1a2-48a5-a1e3-34d1be4f43d2"  }  ],  "resourceVersion": "39681",  "uid": "4bec42bc-cde1-4c6f-b27e-24ddb24c8f12"  },  "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-bf99b9g694",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2026-06-08T00:31:26Z",  "lastUpdateTime": "2026-06-08T00:31:36Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-79bbb9d8dc\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2026-06-08T00:31:59Z",  "lastUpdateTime": "2026-06-08T00:31:59Z",  "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-06-08T00:32:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2026-06-08T00:32:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].message\""} {"level":"info","ts":"2026-06-08T00:32:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2026-06-08T00:32:07Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""}