{"level":"info","ts":"2025-10-06T00:28:52Z","logger":"cmd","msg":"Version","Go Version":"go1.22.5","GOOS":"linux","GOARCH":"amd64","ansible-operator":"v1.36.1","commit":"60db7ce358a45ffb3ec8303944aaeb1a601aa560"} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"cmd","msg":"Environment variable OPERATOR_NAME has been deprecated, use --leader-election-id instead."} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"cmd","msg":"Watching namespaces","namespaces":["service-telemetry"]} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"ansible-controller","msg":"Watching resource","Options.Group":"smartgateway.infra.watch","Options.Version":"v2","Options.Kind":"SmartGateway"} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8443","secure":false} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"proxy","msg":"Starting to serve","Address":"127.0.0.1:8888"} {"level":"info","ts":"2025-10-06T00:28:52Z","logger":"apiserver","msg":"Starting to serve metrics listener","Address":"localhost:5050"} {"level":"info","ts":"2025-10-06T00:28:52Z","msg":"starting server","name":"health probe","addr":"[::]:6789"} {"level":"info","ts":"2025-10-06T00:28:52Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2025-10-06T00:28:52Z","msg":"Starting Controller","controller":"smartgateway-controller"} {"level":"info","ts":"2025-10-06T00:28:52Z","msg":"Starting workers","controller":"smartgateway-controller","worker count":12} {"level":"info","ts":"2025-10-06T00:29:57Z","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":"2025-10-06T00:29:59Z","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":"283967809161358782","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":"2025-10-06T00:29:59Z","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":"283967809161358782","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:00Z","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":"2025-10-06T00:30: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":"283967809161358782","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-10-06T00:30:01Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} {"level":"info","ts":"2025-10-06T00:30:01Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:01Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Secret","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-10-06T00:30:01Z","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":"2025-10-06T00:30: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":"283967809161358782","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:02Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ServiceAccount, service-telemetry/smart-gateway"} {"level":"info","ts":"2025-10-06T00:30:02Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:02Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ServiceAccount","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-10-06T00:30:02Z","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":"2025-10-06T00:30: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":"283967809161358782","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:03Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:03Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"1498314051151424665","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1498314051151424665","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 : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"283967809161358782","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:04Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:05Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:05Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1498314051151424665","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-10-06T00:30: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":"283967809161358782","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":"2025-10-06T00:30:05Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1498314051151424665","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:06Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-meter-sg-core-configmap"} {"level":"info","ts":"2025-10-06T00:30:06Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:06Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ConfigMap","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-10-06T00:30:06Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2025-10-06T00:30:06Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:06Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1498314051151424665","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:07Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-meter-smartgateway"} {"level":"info","ts":"2025-10-06T00:30:07Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:07Z","logger":"proxy","msg":"Watching child resource","kind":"apps/v1, Kind=Deployment","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-10-06T00:30:07Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:07Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1498314051151424665","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50989",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- 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":"2025-10-06T00:30: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":"283967809161358782","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":"2025-10-06T00:30: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":"283967809161358782","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":"2025-10-06T00:30:08Z","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":"5873966117955517258","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":"2025-10-06T00:30:08Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5873966117955517258","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:08Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-coll-meter"} {"level":"info","ts":"2025-10-06T00:30:08Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:08Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Service","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-10-06T00:30:08Z","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":"2025-10-06T00:30:08Z","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":"1498314051151424665","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:09Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"283967809161358782","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 7cfab3b6679b46d182a1c5f76334d7ab ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/7cfab3b6679b46d182a1c5f76334d7ab 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/7cfab3b6679b46d182a1c5f76334d7ab PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112 `" && echo ansible-tmp-1759710599.304582-30-109615818831112="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112 `" ) && 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-226onkyfx8/tmp273s2num TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710599.304582-30-109615818831112/ > /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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485 `" && echo ansible-tmp-1759710600.689712-45-168598054142485="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmpegd1uhek TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710600.689712-45-168598054142485/ > /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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818 `" && echo ansible-tmp-1759710601.8889804-60-243534950178818="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmpt0ejctpr TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710601.8889804-60-243534950178818/ > /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": "2025-10-06T00:30:02Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50929",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  }  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957 `" && echo ansible-tmp-1759710603.0321274-78-52452806105957="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmpj5nsfw5j TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710603.0321274-78-52452806105957/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700 `" && echo ansible-tmp-1759710604.0941217-108-159373686414700="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmpen0dx2lt TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.0941217-108-159373686414700/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839 `" && echo ansible-tmp-1759710605.323768-130-119163146449839="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmpm2j4ungv TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.323768-130-119163146449839/ > /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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075 `" && echo ansible-tmp-1759710606.6141586-130-237837308003075="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmp2cbwu724 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6141586-130-237837308003075/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50989",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } [WARNING]: spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029 `" && echo ansible-tmp-1759710607.8186517-212-214094862992029="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-226onkyfx8/tmpgtozk5ci TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.8186517-212-214094862992029/ > /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": "2025-10-06T00:30:08Z",  "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\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:08Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51015",  "uid": "ef0a1613-1f63-4593-8599-186f6e859a66"  },  "spec": {  "clusterIP": "10.217.5.38",  "clusterIPs": [  "10.217.5.38"  ],  "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":"2025-10-06T00:30:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2025-10-06T00:30:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2025-10-06T00:30:09Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2025-10-06T00:30: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":"2025-10-06T00:30:09Z","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":"5873966117955517258","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":"2025-10-06T00:30:09Z","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":"5873966117955517258","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:09Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-meter-sg-core-configmap"} {"level":"info","ts":"2025-10-06T00:30:09Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"2025-10-06T00:30:11Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-meter-smartgateway"} {"level":"info","ts":"2025-10-06T00:30:11Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-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":"2025-10-06T00:30:11Z","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":"5306514799632006940","EventData.TaskArgs":""} {"level":"info","ts":"2025-10-06T00:30:11Z","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":"5873966117955517258","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":"2025-10-06T00:30:11Z","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":"5306514799632006940","EventData.Name":"smartgateway : Check for existing 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-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51042",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1498314051151424665","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":"2025-10-06T00:30: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":"1498314051151424665","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"5873966117955517258","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:12Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-ceil-meter"} {"level":"info","ts":"2025-10-06T00:30:12Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-10-06T00:30:12Z","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":"2025-10-06T00:30: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":"5306514799632006940","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":"2025-10-06T00:30: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":"5306514799632006940","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:12Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1498314051151424665","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: 7d3bf8a097a24f3d9c3174b47504f7f8 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/7d3bf8a097a24f3d9c3174b47504f7f8 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/7d3bf8a097a24f3d9c3174b47504f7f8 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750 `" && echo ansible-tmp-1759710604.009723-97-130853956438750="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750 `" ) && 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-74ekto7p3b/tmppcqrzzh3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710604.009723-97-130853956438750/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087 `" && echo ansible-tmp-1759710605.3068495-132-86744726598087="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-74ekto7p3b/tmp622bzkib TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710605.3068495-132-86744726598087/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724 `" && echo ansible-tmp-1759710606.6411436-161-198555474734724="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-74ekto7p3b/tmpa075k5gj TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710606.6411436-161-198555474734724/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174 `" && echo ansible-tmp-1759710607.6715775-194-214745318036174="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-74ekto7p3b/tmpae7c6uwn TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710607.6715775-194-214745318036174/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953 `" && echo ansible-tmp-1759710608.9695084-241-100027559698953="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-74ekto7p3b/tmpuasgukrc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.9695084-241-100027559698953/ > /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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926 `" && echo ansible-tmp-1759710610.4623146-241-172636228591926="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-74ekto7p3b/tmpvj3y4ydk TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.4623146-241-172636228591926/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51042",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } [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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553 `" && echo ansible-tmp-1759710611.5918064-326-205328995960553="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-74ekto7p3b/tmppmge96uh TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.5918064-326-205328995960553/ > /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": "2025-10-06T00:30:12Z",  "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\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:12Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51066",  "uid": "65aafa7f-b2fe-4252-96c7-d41c25572e9d"  },  "spec": {  "clusterIP": "10.217.5.33",  "clusterIPs": [  "10.217.5.33"  ],  "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 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:13Z","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":"5873966117955517258","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":"2025-10-06T00:30:14Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2025-10-06T00:30:14Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-sens-meter-sg-core-configmap"} --------------------------- 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":"2025-10-06T00:30:14Z","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":"3167815799699923844","EventData.TaskArgs":""} {"level":"info","ts":"2025-10-06T00:30:14Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:14Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5306514799632006940","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:14Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3167815799699923844","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"5306514799632006940","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":"2025-10-06T00:30:15Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-sens-meter-smartgateway"} {"level":"info","ts":"2025-10-06T00:30:15Z","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-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51090",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- 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":"2025-10-06T00:30: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":"5873966117955517258","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:15Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"5873966117955517258","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"3167815799699923844","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":"2025-10-06T00:30: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":"3167815799699923844","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":"2025-10-06T00:30: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":"5306514799632006940","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:16Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-sens-meter"} {"level":"info","ts":"2025-10-06T00:30:16Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:16Z","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":"4556863860459743615","EventData.TaskArgs":""} ----- 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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 759990c3fc0749d8aea2f2a2b364ee78 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/759990c3fc0749d8aea2f2a2b364ee78 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/759990c3fc0749d8aea2f2a2b364ee78 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.e{"level":"info","ts":"2025-10-06T00:30:16Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5873966117955517258","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} lastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728 `" && echo ansible-tmp-1759710608.5321717-229-263309761207728="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728 `" ) && 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-1905xjb1p2r/tmp2cql9qkc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710608.5321717-229-263309761207728/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734 `" && echo ansible-tmp-1759710610.008366-266-181221892190734="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1905xjb1p2r/tmpoit116ar TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710610.008366-266-181221892190734/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865 `" && echo ansible-tmp-1759710611.4326978-300-10543337555865="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1905xjb1p2r/tmprtf7c_br TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4326978-300-10543337555865/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231 `" && echo ansible-tmp-1759710612.317702-345-212826182021231="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1905xjb1p2r/tmpaqz155jk TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.317702-345-212826182021231/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248 `" && echo ansible-tmp-1759710613.4815-382-36542436006248="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1905xjb1p2r/tmpuno023k9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710613.4815-382-36542436006248/ > /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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775 `" && echo ansible-tmp-1759710614.4479659-382-13400379238775="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1905xjb1p2r/tmp1s3r62n1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4479659-382-13400379238775/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51090",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169 `" && echo ansible-tmp-1759710615.594917-466-271095573146169="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1905xjb1p2r/tmp52xggxx7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.594917-466-271095573146169/ > /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": "2025-10-06T00:30:16Z",  "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\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:16Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51111",  "uid": "1d64e2cc-3d67-456c-8de8-a85ce2468aba"  },  "spec": {  "clusterIP": "10.217.4.176",  "clusterIPs": [  "10.217.4.176"  ],  "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 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:17Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4556863860459743615","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30: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"]}} {"level":"info","ts":"2025-10-06T00:30:17Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-meter-sg-core-configmap"]}} --------------------------- 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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"3167815799699923844","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"8921689172333962025","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":"2025-10-06T00:30:18Z","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":"8921689172333962025","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:18Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} {"level":"info","ts":"2025-10-06T00:30:18Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [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":"2025-10-06T00:30:18Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"7267559767083985201","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:07Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51002",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:07Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:07Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" 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":"2025-10-06T00:30: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":"5306514799632006940","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:18Z","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":"4556863860459743615","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"5306514799632006940","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":"2025-10-06T00:30:18Z","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":"4556863860459743615","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":"2025-10-06T00:30: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":"7267559767083985201","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"3167815799699923844","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-10-06T00:30:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2025-10-06T00:30:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-coll-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-coll-meter","Parts":["services","default-cloud1-coll-meter"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8921689172333962025","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":"2025-10-06T00:30:19Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8921689172333962025","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":"2025-10-06T00:30: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":"4556863860459743615","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:20Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5306514799632006940","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: 8e15a4691e9e44e49937ebbe611f6840 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/8e15a4691e9e44e49937ebbe611f6840 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/8e15a4691e9e44e49937ebbe611f6840 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223 `" && echo ansible-tmp-1759710611.4451075-304-223948027159223="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223 `" ) && 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-261wnm0ee7g/tmpopeg9dnc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710611.4451075-304-223948027159223/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853 `" && echo ansible-tmp-1759710612.7891388-363-165038746339853="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-261wnm0ee7g/tmpgf7zad4o TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710612.7891388-363-165038746339853/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226 `" && echo ansible-tmp-1759710614.3533647-401-243830928024226="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-261wnm0ee7g/tmplhs39q5l TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.3533647-401-243830928024226/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177 `" && echo ansible-tmp-1759710615.210675-445-243467835693177="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-261wnm0ee7g/tmpn7u_0uih TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.210675-445-243467835693177/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523 `" && echo ansible-tmp-1759710616.3222027-501-66623447111523="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-261wnm0ee7g/tmppx0eff0l TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710616.3222027-501-66623447111523/ > /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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805 `" && echo ansible-tmp-1759710617.532024-501-36917169893805="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-261wnm0ee7g/tmpt75psuo2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.532024-501-36917169893805/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:07Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51002",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:07Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:07Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734 `" && echo ansible-tmp-1759710618.7906008-598-124316048758734="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-261wnm0ee7g/tmp738vx3mu TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.7906008-598-124316048758734/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:08Z",  "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\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:08Z"  },  {  "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": "2025-10-06T00:30:08Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51019",  "uid": "ef0a1613-1f63-4593-8599-186f6e859a66"  },  "spec": {  "clusterIP": "10.217.5.38",  "clusterIPs": [  "10.217.5.38"  ],  "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":"2025-10-06T00:30: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 [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":"2025-10-06T00:30: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":"3167815799699923844","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7267559767083985201","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":"2025-10-06T00:30:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7267559767083985201","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":"2025-10-06T00:30: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":"4556863860459743615","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:21Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"8921689172333962025","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:21Z","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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:21Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7267559767083985201","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:30: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":"4556863860459743615","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30: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":"8921689172333962025","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":"2025-10-06T00:30:22Z","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': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:11Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51055",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:11Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:11Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3167815799699923844","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":"2025-10-06T00:30:22Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3167815799699923844","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7267559767083985201","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:22Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-event-sg-core-configmap"} {"level":"info","ts":"2025-10-06T00:30:22Z","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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:30: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":"8921689172333962025","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:23Z","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 [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7267559767083985201","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":"2025-10-06T00:30:24Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-event-smartgateway"} {"level":"info","ts":"2025-10-06T00:30:24Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3167815799699923844","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: ef2b32a7bfc5475c94d3b6b06dd40399 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/ef2b32a7bfc5475c94d3b6b06dd40399 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/ef2b32a7bfc5475c94d3b6b06dd40399 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698 `" && echo ansible-tmp-1759710614.4100492-414-244875510445698="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698 `" ) && 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-373k24xefr9/tmpdp7hj5wj TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710614.4100492-414-244875510445698/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984 `" && echo ansible-tmp-1759710615.7789152-483-176028441895984="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-373k24xefr9/tmpeckch9d8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710615.7789152-483-176028441895984/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974 `" && echo ansible-tmp-1759710617.6410897-550-181995798979974="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-373k24xefr9/tmphtu61qqz TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.6410897-550-181995798979974/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064 `" && echo ansible-tmp-1759710618.8809307-628-161861064505064="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-373k24xefr9/tmpij97fkdb TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.8809307-628-161861064505064/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874 `" && echo ansible-tmp-1759710620.4811022-689-193925517066874="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-373k24xefr9/tmptp3u3duo TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.4811022-689-193925517066874/ > /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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091 `" && echo ansible-tmp-1759710621.560845-689-204029902780091="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-373k24xefr9/tmp0untq_wa TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.560845-689-204029902780091/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:11Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51055",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:11Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:11Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578 `" && echo ansible-tmp-1759710622.7617838-811-241533651006578="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-373k24xefr9/tmplo_6yoay TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.7617838-811-241533651006578/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:12Z",  "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\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:12Z"  },  {  "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": "2025-10-06T00:30:12Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51074",  "uid": "65aafa7f-b2fe-4252-96c7-d41c25572e9d"  },  "spec": {  "clusterIP": "10.217.5.33",  "clusterIPs": [  "10.217.5.33"  ],  "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":"2025-10-06T00:30:24Z","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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51199",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- 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":"2025-10-06T00:30: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":"4556863860459743615","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:24Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-event-sg-core-configmap"} {"level":"info","ts":"2025-10-06T00:30:24Z","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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:24Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4556863860459743615","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: d8350503cb6e41b9bff20b4b88794ce1 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/d8350503cb6e41b9bff20b4b88794ce1 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/d8350503cb6e41b9bff20b4b88794ce1 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262 `" && echo ansible-tmp-1759710617.0520573-522-184817547553262="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262 `" ) && 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-462wuxug4bs/tmpmsy6x8y2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710617.0520573-522-184817547553262/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573 `" && echo ansible-tmp-1759710618.758486-597-104886908573573="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-462wuxug4bs/tmpm30ujlt8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.758486-597-104886908573573/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613 `" && echo ansible-tmp-1759710620.0212271-669-69229090665613="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-462wuxug4bs/tmppmwbzl6h TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.0212271-669-69229090665613/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759 `" && echo ansible-tmp-1759710621.058707-720-177877732092759="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-462wuxug4bs/tmp929mbatx TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.058707-720-177877732092759/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782 `" && echo ansible-tmp-1759710622.197045-780-234654689966782="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-462wuxug4bs/tmprhv9y9ps TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.197045-780-234654689966782/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026 `" && echo ansible-tmp-1759710623.1943305-780-261686549227026="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-462wuxug4bs/tmpl8ulqxhf TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.1943305-780-261686549227026/ > /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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51199",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-10-06T00:30:24Z","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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:25Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-event-smartgateway"} {"level":"info","ts":"2025-10-06T00:30:25Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/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":"2025-10-06T00:30:25Z","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":"7732156459212545967","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":"2025-10-06T00:30:25Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","EventData.Name":"smartgateway : Check for existing 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-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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51229",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:25Z","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":"8921689172333962025","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:26Z","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":"8205749686719190754","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":"2025-10-06T00:30: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":"8205749686719190754","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:26Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8921689172333962025","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: f08b76203c4149c7ae619693c1c17e54 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/f08b76203c4149c7ae619693c1c17e54 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/f08b76203c4149c7ae619693c1c17e54 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607 `" && echo ansible-tmp-1759710618.4106674-576-180132280766607="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607 `" ) && 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-518wysafhll/tmpzkwe3bd9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.4106674-576-180132280766607/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508 `" && echo ansible-tmp-1759710619.8703084-656-230239423787508="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-518wysafhll/tmplmp531mm TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710619.8703084-656-230239423787508/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336 `" && echo ansible-tmp-1759710621.3247335-735-275832152167336="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-518wysafhll/tmprkqcmneg TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.3247335-735-275832152167336/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956 `" && echo ansible-tmp-1759710622.4215949-795-78944984169956="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-518wysafhll/tmprh_ie182 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.4215949-795-78944984169956/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403 `" && echo ansible-tmp-1759710623.555691-856-239650818525403="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-518wysafhll/tmpnlckjke5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.555691-856-239650818525403/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632 `" && echo ansible-tmp-1759710624.5097115-856-33067922895632="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-518wysafhll/tmpzkrma8y6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710624.5097115-856-33067922895632/ > /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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51229",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-10-06T00:30:26Z","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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:15Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51104",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:15Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:15Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:26Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:26Z","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":"7267559767083985201","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":"2025-10-06T00:30: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":"7267559767083985201","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:27Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","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":"2025-10-06T00:30:27Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:27Z","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":"2025-10-06T00:30:27Z","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":"8205749686719190754","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":"2025-10-06T00:30:27Z","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":"8205749686719190754","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30: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 [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":"2025-10-06T00:30: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":"1987699052747796500","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":"2025-10-06T00:30: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":"1987699052747796500","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:28Z","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":"2025-10-06T00:30:28Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7267559767083985201","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 4c1748f6fcc043a18d134c74692525e4 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/4c1748f6fcc043a18d134c74692525e4 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/4c1748f6fcc043a18d134c74692525e4 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630 `" && echo ansible-tmp-1759710618.80946-604-52383549281630="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630 `" ) && 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-5337okt3nzj/tmpk3gcakx3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710618.80946-604-52383549281630/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829 `" && echo ansible-tmp-1759710620.5365348-701-175698038344829="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5337okt3nzj/tmp06xj9skd TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710620.5365348-701-175698038344829/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805 `" && echo ansible-tmp-1759710621.9205787-764-127568142264805="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5337okt3nzj/tmpg8me3nfv TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710621.9205787-764-127568142264805/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253 `" && echo ansible-tmp-1759710622.8754065-826-131177761439253="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5337okt3nzj/tmp6n0ldnvh TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710622.8754065-826-131177761439253/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099 `" && echo ansible-tmp-1759710623.9821064-874-165053216214099="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5337okt3nzj/tmppgocd4v2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710623.9821064-874-165053216214099/ > /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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488 `" && echo ansible-tmp-1759710625.1516056-874-255447417806488="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5337okt3nzj/tmpe34lgs0r TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.1516056-874-255447417806488/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:15Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51104",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:15Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:15Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409 `" && echo ansible-tmp-1759710627.1031573-970-95577564242409="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-5337okt3nzj/tmpvyhslysc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.1031573-970-95577564242409/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:16Z",  "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\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:16Z"  },  {  "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": "2025-10-06T00:30:16Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51119",  "uid": "1d64e2cc-3d67-456c-8de8-a85ce2468aba"  },  "spec": {  "clusterIP": "10.217.4.176",  "clusterIPs": [  "10.217.4.176"  ],  "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 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:28Z","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":"7732156459212545967","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:29Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} {"level":"info","ts":"2025-10-06T00:30: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 Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"8205749686719190754","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":"2025-10-06T00:30: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":"1987699052747796500","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":"2025-10-06T00:30: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":"1987699052747796500","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":"2025-10-06T00:30:29Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30: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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"8205749686719190754","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":"2025-10-06T00:30:30Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:30Z","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":"1987699052747796500","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:30: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":"8205749686719190754","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:31Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1987699052747796500","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: 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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:32Z","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":"2025-10-06T00:30:32Z","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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:30Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51324",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:30Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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 services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:32Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1987699052747796500","EventData.Name":"smartgateway : Deploy 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":"2025-10-06T00:30:32Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7732156459212545967","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":"2025-10-06T00:30:33Z","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":"8170574658081543220","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":"2025-10-06T00:30:33Z","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":"7600915637239893119","EventData.TaskArgs":""} {"level":"info","ts":"2025-10-06T00:30:33Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- {"level":"info","ts":"2025-10-06T00:30:33Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8170574658081543220","EventData.Name":"smartgateway : Check for existing cookie secret"} TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:33Z","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":"7600915637239893119","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":"2025-10-06T00:30:33Z","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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:30:31Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51353",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:31Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:33Z","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":"8205749686719190754","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30: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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } ------------------------------------------------------------------------------- ----- 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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: e964a5e4695b4283b524f6fdea3b2bd1 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/e964a5e4695b4283b524f6fdea3b2bd1 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/e964a5e4695b4283b524f6fdea3b2bd1 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway {"level":"info","ts":"2025-10-06T00:30:33Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8205749686719190754","name":"default-cloud1-coll-event","namespace":"service-telemetry"} : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181 `" && echo ansible-tmp-1759710626.4959824-952-206840750990181="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181 `" ) && 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-9084qy_rk22/tmpk2dt27im TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710626.4959824-952-206840750990181/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546 `" && echo ansible-tmp-1759710628.053526-1005-21672829733546="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-9084qy_rk22/tmpo79zosjl TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.053526-1005-21672829733546/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003 `" && echo ansible-tmp-1759710629.3498278-1054-193046625352003="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-9084qy_rk22/tmp5knt7zy5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.3498278-1054-193046625352003/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959 `" && echo ansible-tmp-1759710630.4391499-1100-166228458544959="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-9084qy_rk22/tmpb7ewtk07 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.4391499-1100-166228458544959/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993 `" && echo ansible-tmp-1759710631.5224302-1147-236040377785993="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-9084qy_rk22/tmpu4tkhgvr TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.5224302-1147-236040377785993/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624 `" && echo ansible-tmp-1759710632.5699918-1147-61733911849624="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-9084qy_rk22/tmph72uu14c TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.5699918-1147-61733911849624/ > /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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  { [0;32m "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:30:31Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51353",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:31Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-10-06T00:30:34Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7732156459212545967","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: c26c167a38f042d0b78f4a50f0c08f61 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/c26c167a38f042d0b78f4a50f0c08f61 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/c26c167a38f042d0b78f4a50f0c08f61 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518 `" && echo ansible-tmp-1759710625.8539279-934-252302031822518="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518 `" ) && 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-890co6wcbes/tmpd4y3iu6b TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710625.8539279-934-252302031822518/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522 `" && echo ansible-tmp-1759710627.4033718-987-158644902440522="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-890co6wcbes/tmp4_wgwl09 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710627.4033718-987-158644902440522/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393 `" && echo ansible-tmp-1759710628.697453-1038-54488402061393="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-890co6wcbes/tmpa2h86mvr TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.697453-1038-54488402061393/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345 `" && echo ansible-tmp-1759710629.5966392-1081-202137990832345="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-890co6wcbes/tmpvj0ddepr TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.5966392-1081-202137990832345/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110 `" && echo ansible-tmp-1759710630.7122936-1116-147721801451110="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-890co6wcbes/tmpdykihyl1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.7122936-1116-147721801451110/ > /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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444 `" && echo ansible-tmp-1759710631.7222319-1116-88646927055444="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-890co6wcbes/tmpfx92c3sd TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.7222319-1116-88646927055444/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:30Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51324",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:30Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-ceil-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360 `" && echo ansible-tmp-1759710632.8256812-1220-150146863027360="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-890co6wcbes/tmpc0lwpl_p TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8256812-1220-150146863027360/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:12Z",  "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\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:12Z"  },  {  "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": "2025-10-06T00:30:12Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51074",  "uid": "65aafa7f-b2fe-4252-96c7-d41c25572e9d"  },  "spec": {  "clusterIP": "10.217.5.33",  "clusterIPs": [  "10.217.5.33"  ],  "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":"2025-10-06T00:30:34Z","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":"2025-10-06T00:30:34Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8170574658081543220","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":"2025-10-06T00:30:34Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8170574658081543220","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:34Z","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":"2025-10-06T00:30: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 [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:34Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7600915637239893119","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":"2025-10-06T00:30:34Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7600915637239893119","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:30:31Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51344",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:31Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1987699052747796500","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:35Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1987699052747796500","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: b6b606ff44a142c99e258cea12a42d4e ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/b6b606ff44a142c99e258cea12a42d4e 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/b6b606ff44a142c99e258cea12a42d4e PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900 `" && echo ansible-tmp-1759710628.4000626-1024-177076005911900="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900 `" ) && 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-968y8hjmtqu/tmpmhmimo8b TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710628.4000626-1024-177076005911900/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393 `" && echo ansible-tmp-1759710629.4779837-1070-168442790224393="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-968y8hjmtqu/tmpb7ff8yhj TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710629.4779837-1070-168442790224393/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699 `" && echo ansible-tmp-1759710630.6943104-1119-171932830079699="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-968y8hjmtqu/tmpk4tgtc_6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710630.6943104-1119-171932830079699/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546 `" && echo ansible-tmp-1759710631.659513-1162-239970887021546="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-968y8hjmtqu/tmp4e6bxz23 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710631.659513-1162-239970887021546/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042 `" && echo ansible-tmp-1759710632.8619337-1218-248532794828042="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-968y8hjmtqu/tmpbdlto4ej TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710632.8619337-1218-248532794828042/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656 `" && echo ansible-tmp-1759710634.0014017-1218-90259704684656="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-968y8hjmtqu/tmpl9n3pdhd TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.0014017-1218-90259704684656/ > /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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:30:31Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51344",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:31Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [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":"2025-10-06T00:30:35Z","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":"2677683689430020659","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":"2025-10-06T00:30:35Z","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":"2677683689430020659","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:35Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- 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":"2025-10-06T00:30:35Z","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":"449500700781891371","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:35Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8170574658081543220","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:35Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"449500700781891371","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:35Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7600915637239893119","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":"2025-10-06T00:30:36Z","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":"8170574658081543220","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:36Z","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":"2025-10-06T00:30:36Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:36Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"1863229733520309606","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:36Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2677683689430020659","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-10-06T00:30:36Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2677683689430020659","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:36Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"449500700781891371","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-10-06T00:30:36Z","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":"1863229733520309606","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":"2025-10-06T00:30:36Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"449500700781891371","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7600915637239893119","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"8170574658081543220","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:37Z","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":"2025-10-06T00:30: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"]}} {"level":"info","ts":"2025-10-06T00:30:37Z","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":"2025-10-06T00:30: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":"2677683689430020659","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":"2025-10-06T00:30: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":"1863229733520309606","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":"2025-10-06T00:30: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":"1863229733520309606","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 : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"449500700781891371","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7600915637239893119","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:38Z","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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:38Z","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":"2025-10-06T00:30: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":"2677683689430020659","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:39Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:39Z","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":"449500700781891371","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:39Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1863229733520309606","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:39Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:31Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51340",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:31Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"8170574658081543220","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":"2025-10-06T00:30: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":"8170574658081543220","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:40Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:30: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":"2677683689430020659","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: ceilometer-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-ceil-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"449500700781891371","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:39Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51430",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:39Z",  "lastUpdateTime": "2025-10-06T00:30:39Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7600915637239893119","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":"2025-10-06T00:30: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":"7600915637239893119","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1863229733520309606","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:40Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-coll-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-coll-meter","Parts":["services","default-cloud1-coll-meter"]}} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=13  changed=0 unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-meter/service-telemetry) ----- ansible-playbook [core 2.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: 31aabdabb1a3444088fdc772007424fd ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/31aabdabb1a3444088fdc772007424fd 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/31aabdabb1a3444088fdc772007424fd PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway {"level":"info","ts":"2025-10-06T00:30:40Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8170574658081543220","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949 `" && echo ansible-tmp-1759710633.3272307-1251-113934670145949="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949 `" ) && 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-1191hyt4wbyn/tmpyb7_v0wn TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.3272307-1251-113934670145949/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250 `" && echo ansible-tmp-1759710634.5088277-1306-100639248949250="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1191hyt4wbyn/tmp341zg6au TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.5088277-1306-100639248949250/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043 `" && echo ansible-tmp-1759710635.6543493-1362-113805342117043="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1191hyt4wbyn/tmputsefli9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.6543493-1362-113805342117043/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888 `" && echo ansible-tmp-1759710636.5259905-1414-197133095981888="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1191hyt4wbyn/tmpbk0vdq7n TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.5259905-1414-197133095981888/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424 `" && echo ansible-tmp-1759710637.6487188-1494-183151815414424="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1191hyt4wbyn/tmp8hd1q26b TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.6487188-1494-183151815414424/ > /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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392 `" && echo ansible-tmp-1759710638.5784118-1494-229017686179392="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1191hyt4wbyn/tmpdyzzbf5f TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.5784118-1494-229017686179392/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:31Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51340",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:31Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  },  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507 `" && echo ansible-tmp-1759710639.5407698-1647-130570618728507="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1191hyt4wbyn/tmp78ispb94 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.5407698-1647-130570618728507/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:08Z",  "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\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:08Z"  },  {  "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": "2025-10-06T00:30:08Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51019",  "uid": "ef0a1613-1f63-4593-8599-186f6e859a66"  },  "spec": {  "clusterIP": "10.217.5.38",  "clusterIPs": [  "10.217.5.38"  ],  "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":"2025-10-06T00:30:41Z","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":"2025-10-06T00:30:41Z","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: 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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:41Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/services/default-cloud1-sens-meter","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"services","Subresource":"","Name":"default-cloud1-sens-meter","Parts":["services","default-cloud1-sens-meter"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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"  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1863229733520309606","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- ----- Ansible Task 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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: 1430c656b7ab4970938d84c0320824ba ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/1430c656b7ab4970938d84c0320824ba 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/1430c656b7ab4970938d84c0320824ba PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "----------------------------------{"level":"info","ts":"2025-10-06T00:30:41Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7600915637239893119","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ----------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482 `" && echo ansible-tmp-1759710633.5524552-1262-157074771045482="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482 `" ) && 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-1192iap4p6j5/tmpjxhoizdm TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710633.5524552-1262-157074771045482/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913 `" && echo ansible-tmp-1759710634.9247673-1327-261242431064913="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1192iap4p6j5/tmpcr7hqzna TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710634.9247673-1327-261242431064913/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504 `" && echo ansible-tmp-1759710636.093513-1397-258440183064504="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1192iap4p6j5/tmp_3zzvtba TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.093513-1397-258440183064504/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292 `" && echo ansible-tmp-1759710637.046977-1466-214560155670292="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1192iap4p6j5/tmp4agrh6r5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710637.046977-1466-214560155670292/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910 `" && echo ansible-tmp-1759710638.1853929-1539-125662069419910="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1192iap4p6j5/tmpcdnm7tci TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.1853929-1539-125662069419910/ > /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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900 `" && echo ansible-tmp-1759710639.1500852-1539-27234159472900="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1192iap4p6j5/tmp9s_13u1l TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1500852-1539-27234159472900/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:39Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51430",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:39Z",  "lastUpdateTime": "2025-10-06T00:30:39Z",  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509 `" && echo ansible-tmp-1759710640.4392-1695-50217381039509="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1192iap4p6j5/tmp6o2jxhmp TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.4392-1695-50217381039509/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:16Z",  "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\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:16Z"  },  {  "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": "2025-10-06T00:30:16Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51119",  "uid": "1d64e2cc-3d67-456c-8de8-a85ce2468aba"  },  "spec": {  "clusterIP": "10.217.4.176",  "clusterIPs": [  "10.217.4.176"  ],  "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":"2025-10-06T00:30:42Z","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': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51517",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"449500700781891371","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":"2025-10-06T00:30: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":"449500700781891371","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":"2025-10-06T00:30:42Z","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":"7797763359470975784","EventData.TaskArgs":""} {"level":"info","ts":"2025-10-06T00:30:42Z","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":"2025-10-06T00:30:42Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-ceil-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-ceil-event-sg-core-configmap","Parts":["configmaps","default-cloud1-ceil-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7797763359470975784","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51511",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"2677683689430020659","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:43Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2677683689430020659","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: 37b08bfc35c84bb1bea5eec9a9f1c9d7 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/37b08bfc35c84bb1bea5eec9a9f1c9d7 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/37b08bfc35c84bb1bea5eec9a9f1c9d7 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045 `" && echo ansible-tmp-1759710635.449132-1348-212935261608045="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045 `" ) && 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-1300seoqr3mn/tmpty80a6tv TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.449132-1348-212935261608045/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726 `" && echo ansible-tmp-1759710636.7920544-1434-247775718453726="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1300seoqr3mn/tmpcmkf12_s TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.7920544-1434-247775718453726/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321 `" && echo ansible-tmp-1759710638.0277665-1509-235934535756321="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1300seoqr3mn/tmpvkioczwv TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0277665-1509-235934535756321/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378 `" && echo ansible-tmp-1759710638.958736-1587-280057889886378="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1300seoqr3mn/tmptpg7ujsw TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.958736-1587-280057889886378/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811 `" && echo ansible-tmp-1759710640.2279558-1665-145852862069811="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1300seoqr3mn/tmp583imqro TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.2279558-1665-145852862069811/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249 `" && echo ansible-tmp-1759710641.419566-1665-158211834675249="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1300seoqr3mn/tmpjihmtuo6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.419566-1665-158211834675249/ > /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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51511",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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":"2025-10-06T00:30:43Z","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 [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":"2025-10-06T00:30:43Z","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":"2407018193604686179","EventData.TaskArgs":""} {"level":"info","ts":"2025-10-06T00:30: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"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2407018193604686179","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:43Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"449500700781891371","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 4f4245bf2410490d85dd34bbe44f911a ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/4f4245bf2410490d85dd34bbe44f911a 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/4f4245bf2410490d85dd34bbe44f911a PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497 `" && echo ansible-tmp-1759710635.71334-1380-122979485798497="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497 `" ) && 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-1301j4zgyprn/tmph03hk_8k TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710635.71334-1380-122979485798497/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240 `" && echo ansible-tmp-1759710636.849217-1447-248282530910240="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1301j4zgyprn/tmp7zsijfy5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.849217-1447-248282530910240/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677 `" && echo ansible-tmp-1759710638.193926-1540-280760117502677="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1301j4zgyprn/tmpart2mr_j TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.193926-1540-280760117502677/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033 `" && echo ansible-tmp-1759710639.1233435-1604-217943760488033="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1301j4zgyprn/tmp4dlx4pg8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.1233435-1604-217943760488033/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469 `" && echo ansible-tmp-1759710640.3241975-1667-45132547830469="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1301j4zgyprn/tmp9w9ejhlj TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.3241975-1667-45132547830469/ > /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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903 `" && echo ansible-tmp-1759710641.2894485-1667-35370744936903="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1301j4zgyprn/tmpubeqjuwf TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.2894485-1667-35370744936903/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51517",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612 `" && echo ansible-tmp-1759710642.5161548-1782-212127958171612="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1301j4zgyprn/tmpl1v4_277 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.5161548-1782-212127958171612/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:12Z",  "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\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:12Z"  },  {  "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": "2025-10-06T00:30:12Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51074",  "uid": "65aafa7f-b2fe-4252-96c7-d41c25572e9d"  },  "spec": {  "clusterIP": "10.217.5.33",  "clusterIPs": [  "10.217.5.33"  ],  "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 ---------- --------------------------- 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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:30:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51559",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:43Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30:43Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:43Z","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":"1863229733520309606","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7797763359470975784","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":"2025-10-06T00:30: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":"7797763359470975784","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:44Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1863229733520309606","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 299f97d69ad140c9a27bc0789d05120d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/299f97d69ad140c9a27bc0789d05120d 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/299f97d69ad140c9a27bc0789d05120d PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277 `" && echo ansible-tmp-1759710636.8567946-1446-590827974277="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277 `" ) && 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-1357phfc6641/tmpv_ube_un TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710636.8567946-1446-590827974277/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893 `" && echo ansible-tmp-1759710638.0835454-1524-6154561643893="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1357phfc6641/tmp0efymazv TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710638.0835454-1524-6154561643893/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646 `" && echo ansible-tmp-1759710639.285017-1631-25496801242646="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1357phfc6641/tmpm1kzh0j_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710639.285017-1631-25496801242646/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441 `" && echo ansible-tmp-1759710640.466165-1700-250099057903441="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1357phfc6641/tmps9rrs9nm TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710640.466165-1700-250099057903441/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733 `" && echo ansible-tmp-1759710641.6332643-1760-242264189533733="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1357phfc6641/tmp265flwvp TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710641.6332643-1760-242264189533733/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288 `" && echo ansible-tmp-1759710642.8270512-1760-140495386472288="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1357phfc6641/tmp17lmqi_4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.8270512-1760-140495386472288/ > /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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:30:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51559",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:43Z",  "lastUpdateTime": "2025-10-06T00:30: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 ---------- --------------------------- 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":"2025-10-06T00:30:44Z","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":"8416367231065059758","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":"2025-10-06T00:30: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":"8416367231065059758","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:44Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"2407018193604686179","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-10-06T00:30:45Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"2407018193604686179","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/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":"2025-10-06T00:30:45Z","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":"668782751899522933","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":"2025-10-06T00:30:45Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"668782751899522933","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":"2025-10-06T00:30:45Z","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":"7797763359470975784","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30: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":"1352177812708108390","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":"2025-10-06T00:30: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":"1352177812708108390","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":"2025-10-06T00:30: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"]}} {"level":"info","ts":"2025-10-06T00:30:46Z","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":"2025-10-06T00:30: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":"8416367231065059758","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":"2025-10-06T00:30: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":"8416367231065059758","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":"2025-10-06T00:30: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":"2407018193604686179","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":"2025-10-06T00:30: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":"7797763359470975784","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30: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":"2025-10-06T00:30: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":"668782751899522933","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":"2025-10-06T00:30: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":"668782751899522933","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30: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":"2025-10-06T00:30: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":"1352177812708108390","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":"2025-10-06T00:30: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":"1352177812708108390","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30: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 RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"2407018193604686179","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"8416367231065059758","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":"2025-10-06T00:30: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":"7797763359470975784","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30: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":"2025-10-06T00:30: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":"2025-10-06T00:30: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":"668782751899522933","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":"2025-10-06T00:30: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":"1352177812708108390","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":"2025-10-06T00:30: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":"2407018193604686179","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":"2025-10-06T00:30: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":"8416367231065059758","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:48Z","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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"668782751899522933","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30: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 [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"1352177812708108390","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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:30: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":"8416367231065059758","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":"2025-10-06T00:30:49Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51528",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"7797763359470975784","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":"2025-10-06T00:30: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":"7797763359470975784","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: 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":"2025-10-06T00:30: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":"668782751899522933","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30: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"]}} --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:30:50Z","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":"1352177812708108390","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30: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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51522",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"2407018193604686179","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":"2025-10-06T00:30: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":"2407018193604686179","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: 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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:50Z","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":"2025-10-06T00:30: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":"2025-10-06T00:30:51Z","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: 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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:51Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7797763359470975784","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 75b902d02e244109b61bf47e1870bbcb ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/75b902d02e244109b61bf47e1870bbcb 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/75b902d02e244109b61bf47e1870bbcb PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674 `" && echo ansible-tmp-1759710642.721699-1799-102139663558674="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674 `" ) && 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-17280xdiuymc/tmpkpuinbb2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710642.721699-1799-102139663558674/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655 `" && echo ansible-tmp-1759710644.1218553-1863-165348382218655="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17280xdiuymc/tmp8dnwfwxv TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.1218553-1863-165348382218655/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787 `" && echo ansible-tmp-1759710645.6109316-1925-208567851238787="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17280xdiuymc/tmpje3vl50q TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.6109316-1925-208567851238787/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345 `" && echo ansible-tmp-1759710646.6014984-1995-23107726661345="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17280xdiuymc/tmpd0c56ndi TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.6014984-1995-23107726661345/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385 `" && echo ansible-tmp-1759710647.878628-2077-101963018185385="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17280xdiuymc/tmpt8mjhrr5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.878628-2077-101963018185385/ > /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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207 `" && echo ansible-tmp-1759710648.9468992-2077-81888133982207="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17280xdiuymc/tmp82qnteqz TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.9468992-2077-81888133982207/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51528",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314 `" && echo ansible-tmp-1759710650.0678272-2228-57304640990314="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17280xdiuymc/tmp5zhbizbx TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.0678272-2228-57304640990314/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:08Z",  "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\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:08Z"  },  {  "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": "2025-10-06T00:30:08Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51019",  "uid": "ef0a1613-1f63-4593-8599-186f6e859a66"  },  "spec": {  "clusterIP": "10.217.5.38",  "clusterIPs": [  "10.217.5.38"  ],  "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 ---------- --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"2025-10-06T00:30: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"]}} --------------------------- 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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:30:43Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51555",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:43Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"8416367231065059758","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} ----- 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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 68c7ac1cc7514998a6fdd9e023450523 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/68c7ac1cc7514998a6fdd9e023450523 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/68c7ac1cc7514998a6fdd9e023450523 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co"{"level":"info","ts":"2025-10-06T00:30:51Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2407018193604686179","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ,  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538 `" && echo ansible-tmp-1759710643.6581953-1839-40586103693538="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538 `" ) && 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-17773h06f8fx/tmp2w5hqkqt TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710643.6581953-1839-40586103693538/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940 `" && echo ansible-tmp-1759710645.210935-1901-121993959762940="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17773h06f8fx/tmpucylq8h4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.210935-1901-121993959762940/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732 `" && echo ansible-tmp-1759710646.4479487-1980-184132751665732="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17773h06f8fx/tmp1iz1wn8n TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.4479487-1980-184132751665732/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010 `" && echo ansible-tmp-1759710647.4305658-2042-65499536258010="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17773h06f8fx/tmp0htevg7p TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.4305658-2042-65499536258010/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310 `" && echo ansible-tmp-1759710648.614433-2124-253270881851310="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17773h06f8fx/tmpt76fa_tt TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.614433-2124-253270881851310/ > /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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012 `" && echo ansible-tmp-1759710649.5905735-2124-76210394982012="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17773h06f8fx/tmpir8fbgjl TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.5905735-2124-76210394982012/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51522",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541 `" && echo ansible-tmp-1759710650.625979-2266-18375403852541="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-17773h06f8fx/tmpodjzmbd9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.625979-2266-18375403852541/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:16Z",  "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\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:16Z"  },  {  "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": "2025-10-06T00:30:16Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51119",  "uid": "1d64e2cc-3d67-456c-8de8-a85ce2468aba"  },  "spec": {  "clusterIP": "10.217.4.176",  "clusterIPs": [  "10.217.4.176"  ],  "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 ---------- ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-10-06T00:30:52Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8416367231065059758","name":"default-cloud1-coll-event","namespace":"service-telemetry"} ----- Ansible Debug Result (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-coll-event/service-telemetry) ----- ansible-playbook [core 2.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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 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: 10802e8d75b24b7cb060efcbbaf3b4fd ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/10802e8d75b24b7cb060efcbbaf3b4fd 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/10802e8d75b24b7cb060efcbbaf3b4fd PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697 `" && echo ansible-tmp-1759710644.9100294-1886-280649532754697="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697 `" ) && 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-1832hjbi92gk/tmpi8d984qd TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710644.9100294-1886-280649532754697/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740 `" && echo ansible-tmp-1759710646.32327-1969-93721933495740="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1832hjbi92gk/tmpj690wr_3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.32327-1969-93721933495740/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865 `" && echo ansible-tmp-1759710647.6218352-2061-97119481230865="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1832hjbi92gk/tmp72d2719q TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.6218352-2061-97119481230865/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211 `" && echo ansible-tmp-1759710648.559695-2126-165579216537211="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1832hjbi92gk/tmp4lnms1gu TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.559695-2126-165579216537211/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256 `" && echo ansible-tmp-1759710649.7606533-2212-246999089498256="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1832hjbi92gk/tmp92p2j02a TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.7606533-2212-246999089498256/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779 `" && echo ansible-tmp-1759710650.7010977-2212-60806954504779="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1832hjbi92gk/tmp84m5nljk TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.7010977-2212-60806954504779/ > /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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:30:43Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51555",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:43Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"2025-10-06T00:30:52Z","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-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51517",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30: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":"668782751899522933","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":"2025-10-06T00:30: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":"668782751899522933","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-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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:30:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51559",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:43Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1352177812708108390","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:52Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1352177812708108390","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: de89b0e868724c9999772e571a1406bc ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/de89b0e868724c9999772e571a1406bc 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/de89b0e868724c9999772e571a1406bc PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732 `" && echo ansible-tmp-1759710646.036513-1953-93312963365732="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732 `" ) && 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-18782vnshiyd/tmpvyvum0yh TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.036513-1953-93312963365732/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576 `" && echo ansible-tmp-1759710647.255208-2027-209763018612576="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-18782vnshiyd/tmpedpyy1go TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710647.255208-2027-209763018612576/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898 `" && echo ansible-tmp-1759710648.3951154-2096-259595773460898="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-18782vnshiyd/tmpwlpbf9qc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3951154-2096-259595773460898/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942 `" && echo ansible-tmp-1759710649.472056-2182-51289542954942="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-18782vnshiyd/tmpnj79kn04 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.472056-2182-51289542954942/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801 `" && echo ansible-tmp-1759710650.5735154-2262-161196419906801="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-18782vnshiyd/tmpekezkouu TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.5735154-2262-161196419906801/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885 `" && echo ansible-tmp-1759710651.4986472-2262-63040081665885="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-18782vnshiyd/tmpfnir93y8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.4986472-2262-63040081665885/ > /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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:30:43Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51559",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:43Z",  "lastUpdateTime": "2025-10-06T00:30: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 ---------- --------------------------- Ansible Task StdOut ------------------------------- {"level":"info","ts":"2025-10-06T00:30:52Z","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":"7763236685564747280","EventData.TaskArgs":""} 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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7763236685564747280","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30: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 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":"2025-10-06T00:30:53Z","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":"159550889839904826","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":"2025-10-06T00:30:53Z","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":"159550889839904826","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:30:53Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"668782751899522933","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 26c8fe5dcbe543f79bebecebec7f67fb ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/26c8fe5dcbe543f79bebecebec7f67fb 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/26c8fe5dcbe543f79bebecebec7f67fb PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137 `" && echo ansible-tmp-1759710645.5508375-1920-46298159177137="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137 `" ) && 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-1859xi4vfpcz/tmp6f9asv2z TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710645.5508375-1920-46298159177137/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554 `" && echo ansible-tmp-1759710646.9993718-2015-228316068740554="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1859xi4vfpcz/tmpamhqamu7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710646.9993718-2015-228316068740554/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276 `" && echo ansible-tmp-1759710648.3225498-2092-146780458056276="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1859xi4vfpcz/tmpqtr30jcs TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710648.3225498-2092-146780458056276/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678 `" && echo ansible-tmp-1759710649.2739418-2167-172297176033678="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1859xi4vfpcz/tmpwbcrdva1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710649.2739418-2167-172297176033678/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484 `" && echo ansible-tmp-1759710650.3853152-2244-7136027088484="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1859xi4vfpcz/tmpz_qe6640 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710650.3853152-2244-7136027088484/ > /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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825 `" && echo ansible-tmp-1759710651.3585396-2244-254187764647825="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1859xi4vfpcz/tmpfklc5sbc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710651.3585396-2244-254187764647825/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51517",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812 `" && echo ansible-tmp-1759710652.4220486-2349-40580302768812="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1859xi4vfpcz/tmpt3pk5shy TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.4220486-2349-40580302768812/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:12Z",  "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\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:12Z"  },  {  "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": "2025-10-06T00:30:12Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51074",  "uid": "65aafa7f-b2fe-4252-96c7-d41c25572e9d"  },  "spec": {  "clusterIP": "10.217.5.33",  "clusterIPs": [  "10.217.5.33"  ],  "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":"2025-10-06T00:30:54Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7763236685564747280","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":"2025-10-06T00:30:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7763236685564747280","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:30:54Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-10-06T00:30:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"159550889839904826","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":"2025-10-06T00:30:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"159550889839904826","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":"2025-10-06T00:30:55Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7763236685564747280","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":"2025-10-06T00:30:55Z","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":"7788892868201069655","EventData.TaskArgs":""} {"level":"info","ts":"2025-10-06T00:30:55Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7788892868201069655","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":"2025-10-06T00:30:55Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"159550889839904826","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":"2025-10-06T00:30:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7763236685564747280","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-10-06T00:30:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7788892868201069655","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7788892868201069655","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":"2025-10-06T00:30:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"159550889839904826","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7763236685564747280","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:57Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [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":"2025-10-06T00:30:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"159550889839904826","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7788892868201069655","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:30:58Z","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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30:58Z","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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:30: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":"7788892868201069655","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-10-06T00:30:59Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51528",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:30:59Z","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":"7763236685564747280","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":"2025-10-06T00:30:59Z","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":"7763236685564747280","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-10-06T00:30:59Z","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": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51522",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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":"2025-10-06T00:31: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":"159550889839904826","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":"2025-10-06T00:31: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":"159550889839904826","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: 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":"2025-10-06T00:31: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":"7788892868201069655","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:31:00Z","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":"2025-10-06T00:31:00Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7763236685564747280","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: f7cdd35e7f474fee80d99a7abdd81bf2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/f7cdd35e7f474fee80d99a7abdd81bf2 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/f7cdd35e7f474fee80d99a7abdd81bf2 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813 `" && echo ansible-tmp-1759710652.999024-2371-231437725743813="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813 `" ) && 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-2336nv8q3e_y/tmpc9e_96sk TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710652.999024-2371-231437725743813/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860 `" && echo ansible-tmp-1759710654.2224526-2406-157887641285860="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2336nv8q3e_y/tmp03ia7m7x TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.2224526-2406-157887641285860/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614 `" && echo ansible-tmp-1759710655.434234-2442-186383600791614="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2336nv8q3e_y/tmpiqtug9y0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.434234-2442-186383600791614/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791 `" && echo ansible-tmp-1759710656.3727684-2489-89444712743791="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2336nv8q3e_y/tmp3qi0nq4y TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.3727684-2489-89444712743791/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179 `" && echo ansible-tmp-1759710657.4824517-2536-239042739419179="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2336nv8q3e_y/tmputkw6_3_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.4824517-2536-239042739419179/ > /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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871 `" && echo ansible-tmp-1759710658.4993227-2536-254961250854871="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2336nv8q3e_y/tmpdjls2u59 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.4993227-2536-254961250854871/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51528",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462 `" && echo ansible-tmp-1759710659.4834037-2626-117111730879462="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2336nv8q3e_y/tmphb_8rsjn TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.4834037-2626-117111730879462/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:08Z",  "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\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:08Z"  },  {  "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": "2025-10-06T00:30:08Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51019",  "uid": "ef0a1613-1f63-4593-8599-186f6e859a66"  },  "spec": {  "clusterIP": "10.217.5.38",  "clusterIPs": [  "10.217.5.38"  ],  "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":"2025-10-06T00:31:00Z","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":"2025-10-06T00:31:00Z","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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:31:01Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"159550889839904826","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: b8451b8572064e088f82486798523df2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/b8451b8572064e088f82486798523df2 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/b8451b8572064e088f82486798523df2 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767 `" && echo ansible-tmp-1759710653.5436413-2390-148958471289767="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767 `" ) && 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-2344xm3uhx2w/tmpw6zo16bc TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710653.5436413-2390-148958471289767/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399 `" && echo ansible-tmp-1759710654.7282186-2425-267217754050399="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2344xm3uhx2w/tmptfun100h TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710654.7282186-2425-267217754050399/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606 `" && echo ansible-tmp-1759710655.9474971-2470-2011201844606="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2344xm3uhx2w/tmp8hsa_vha TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.9474971-2470-2011201844606/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641 `" && echo ansible-tmp-1759710657.076355-2516-242739261235641="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2344xm3uhx2w/tmpa8yxqcmr TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710657.076355-2516-242739261235641/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499 `" && echo ansible-tmp-1759710658.180162-2554-22631344896499="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2344xm3uhx2w/tmpl7ogitck TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.180162-2554-22631344896499/ > /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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257 `" && echo ansible-tmp-1759710659.0778825-2554-134857090720257="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2344xm3uhx2w/tmpq0hb_mcx TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.0778825-2554-134857090720257/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:30:42Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51522",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:42Z",  "lastUpdateTime": "2025-10-06T00:30: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 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793 `" && echo ansible-tmp-1759710660.1922412-2645-123004686400793="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2344xm3uhx2w/tmpsku4unkz TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.1922412-2645-123004686400793/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:16Z",  "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\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:16Z"  },  {  "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": "2025-10-06T00:30:16Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51119",  "uid": "1d64e2cc-3d67-456c-8de8-a85ce2468aba"  },  "spec": {  "clusterIP": "10.217.4.176",  "clusterIPs": [  "10.217.4.176"  ],  "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":"2025-10-06T00:31:01Z","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': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:54Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51663",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:54Z",  "lastUpdateTime": "2025-10-06T00:30:54Z",  "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":"2025-10-06T00:31: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":"7788892868201069655","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":"2025-10-06T00:31: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":"7788892868201069655","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-10-06T00:31:02Z","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":"2025-10-06T00:31:03Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7788892868201069655","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: efd8798f9e364337ac9986e5da956a95 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/efd8798f9e364337ac9986e5da956a95 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/efd8798f9e364337ac9986e5da956a95 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245 `" && echo ansible-tmp-1759710655.7652118-2459-26610861886245="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245 `" ) && 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-2416vsju4ylg/tmpqmqwf51v TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710655.7652118-2459-26610861886245/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075 `" && echo ansible-tmp-1759710656.9272604-2505-157873715555075="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2416vsju4ylg/tmphz52hkzt TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710656.9272604-2505-157873715555075/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535 `" && echo ansible-tmp-1759710658.1374512-2555-257934588195535="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2416vsju4ylg/tmpmi5lfb6h TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710658.1374512-2555-257934588195535/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437 `" && echo ansible-tmp-1759710659.1403341-2608-39706083414437="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2416vsju4ylg/tmpe5_ruchx TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710659.1403341-2608-39706083414437/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886 `" && echo ansible-tmp-1759710660.2754722-2646-180909636641886="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2416vsju4ylg/tmppghgxst7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710660.2754722-2646-180909636641886/ > /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": "2025-10-06T00:30:09Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:09Z"  }  ],  "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": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51035",  "uid": "ff19a859-e807-4356-985b-bfd5a8af6494"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971 `" && echo ansible-tmp-1759710661.16644-2646-18636696254971="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2416vsju4ylg/tmpo4w4_14j TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710661.16644-2646-18636696254971/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:11Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:11Z"  },  {  "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": "2025-10-06T00:30:54Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51663",  "uid": "1a436d9f-18dc-4f6f-af10-049b29ebdf5f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:11Z",  "lastUpdateTime": "2025-10-06T00:30:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7866965967\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:30:54Z",  "lastUpdateTime": "2025-10-06T00:30:54Z",  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948 `" && echo ansible-tmp-1759710662.1918855-2692-77101676433948="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2416vsju4ylg/tmp3y5_hjb6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710662.1918855-2692-77101676433948/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:12Z",  "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\":\"23c881fc-4aed-4f5b-ae68-4db96ef96270\"}": {}  }  },  "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": "2025-10-06T00:30:12Z"  },  {  "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": "2025-10-06T00:30:12Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "23c881fc-4aed-4f5b-ae68-4db96ef96270"  }  ],  "resourceVersion": "51074",  "uid": "65aafa7f-b2fe-4252-96c7-d41c25572e9d"  },  "spec": {  "clusterIP": "10.217.5.33",  "clusterIPs": [  "10.217.5.33"  ],  "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 ---------- --------------------------- 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":"2025-10-06T00:31:07Z","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":"3296939489843475199","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:31:07Z","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":"2506176935182121206","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":"2025-10-06T00:31:07Z","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":"5710646481614414103","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":"2025-10-06T00:31:07Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3296939489843475199","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":"2025-10-06T00: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":"2506176935182121206","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":"2025-10-06T00:31:07Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"5093579501061230422","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":"2025-10-06T00:31:07Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5710646481614414103","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":"2025-10-06T00:31:08Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5093579501061230422","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-10-06T00:31:08Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-10-06T00:31:08Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00: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":"2506176935182121206","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":"2025-10-06T00:31:09Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3296939489843475199","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":"2025-10-06T00: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":"2506176935182121206","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00: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 Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:31:09Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3296939489843475199","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00: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":"2025-10-06T00:31:09Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5093579501061230422","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":"2025-10-06T00:31:09Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5093579501061230422","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":"2025-10-06T00:31:09Z","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":"5710646481614414103","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":"2025-10-06T00:31:09Z","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":"5710646481614414103","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-10-06T00:31:10Z","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":"2025-10-06T00:31:10Z","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":"2025-10-06T00: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":"2506176935182121206","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:31:10Z","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":"2025-10-06T00:31:10Z","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":"3296939489843475199","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:31:10Z","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":"2025-10-06T00:31:10Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5093579501061230422","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-10-06T00:31:10Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5710646481614414103","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":"2025-10-06T00:31:11Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3296939489843475199","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":"2025-10-06T00:31:11Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5093579501061230422","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":"2025-10-06T00:31:11Z","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":"2506176935182121206","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":"2025-10-06T00:31:11Z","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":"5710646481614414103","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': '3z9GP8n85nO7n1rO45DRRJs3', '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 ------------------------------------------------------------------------------- --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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":"2025-10-06T00:31:12Z","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":"5093579501061230422","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":"2025-10-06T00:31:12Z","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":"3296939489843475199","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":"2025-10-06T00:31:13Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2506176935182121206","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:31:13Z","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":"5710646481614414103","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-10-06T00:31:13Z","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":"2025-10-06T00:31:14Z","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":"2025-10-06T00:31:14Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } ------------------------------------------------------------------------------- --------------------------- 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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:31:14Z","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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-10-06T00:31:15Z","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":"2025-10-06T00:31:15Z","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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51759",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "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":"2025-10-06T00:31:15Z","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":"3296939489843475199","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00:31:15Z","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-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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  {"level":"info","ts":"2025-10-06T00:31:15Z","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"]}} ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": 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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51763",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- {"level":"info","ts":"2025-10-06T00:31:15Z","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":"5093579501061230422","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} 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-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51767",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- {"level":"info","ts":"2025-10-06T00: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":"5710646481614414103","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} 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":"2025-10-06T00: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":"5710646481614414103","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51773",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "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":"2025-10-06T00: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":"2506176935182121206","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-10-06T00: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":"2506176935182121206","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":"2025-10-06T00:31:16Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5093579501061230422","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: a96749ad4a084fe08612575ed524d293 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/a96749ad4a084fe08612575ed524d293 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/a96749ad4a084fe08612575ed524d293 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426 `" && echo ansible-tmp-1759710668.0545607-2770-145115581935426="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426 `" ) && 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-2712by20d7g8/tmpei962hpt TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0545607-2770-145115581935426/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455 `" && echo ansible-tmp-1759710669.3213403-2822-11909608738455="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2712by20d7g8/tmpapl4zpfa TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.3213403-2822-11909608738455/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818 `" && echo ansible-tmp-1759710670.6471152-2891-237891835635818="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2712by20d7g8/tmpziy4b8y7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.6471152-2891-237891835635818/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278 `" && echo ansible-tmp-1759710671.6856308-2938-263548686408278="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2712by20d7g8/tmp4uek61y0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6856308-2938-263548686408278/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459 `" && echo ansible-tmp-1759710672.9596047-2986-39025671576459="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2712by20d7g8/tmpk6qv5h99 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710672.9596047-2986-39025671576459/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:24Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:24Z"  }  ],  "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": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51216",  "uid": "a96ceee3-4a82-4fde-864c-eef120429ef5"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687 `" && echo ansible-tmp-1759710674.5500646-2986-265899557430687="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2712by20d7g8/tmp28svfdr6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5500646-2986-265899557430687/ > /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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:25Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"47e7b713-7ace-4636-8aa7-67945b45f191\"}": {}  }  },  "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": "2025-10-06T00:30:25Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "47e7b713-7ace-4636-8aa7-67945b45f191"  }  ],  "resourceVersion": "51763",  "uid": "409ca4c5-d035-41f6-825c-ed085dc431ee"  },  "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-g67b856tdh",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:25Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-6f8fdff5bf\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "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":"2025-10-06T00:31:16Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3296939489843475199","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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: 4e68de55298e4bc39671b8ea8ba2b9c9 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/4e68de55298e4bc39671b8ea8ba2b9c9 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/4e68de55298e4bc39671b8ea8ba2b9c9 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch",  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641 `" && echo ansible-tmp-1759710667.8888364-2738-219524737080641="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641 `" ) && 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-2711ke_n8g_k/tmpxmdt_t4m TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.8888364-2738-219524737080641/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174 `" && echo ansible-tmp-1759710669.1558309-2808-186791030777174="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2711ke_n8g_k/tmpsnxm3pbk TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.1558309-2808-186791030777174/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467 `" && echo ansible-tmp-1759710670.4478564-2872-277321654832467="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2711ke_n8g_k/tmpr3rk8igi TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.4478564-2872-277321654832467/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174 `" && echo ansible-tmp-1759710671.588424-2921-237156537152174="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2711ke_n8g_k/tmpbfh149at TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.588424-2921-237156537152174/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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': '3z9GP8n85nO7n1rO45DRRJs3', '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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304 `" && echo ansible-tmp-1759710673.1875072-2985-34767582801304="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2711ke_n8g_k/tmpxjddj2wt TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.1875072-2985-34767582801304/ > /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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', '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': '3z9GP8n85nO7n1rO45DRRJs3', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:22Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:22Z"  }  ],  "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": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51189",  "uid": "2ebc2298-6e9a-4822-94ed-4de3ef0398d2"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182 `" && echo ansible-tmp-1759710674.6184716-2985-9324483481182="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2711ke_n8g_k/tmp9514ad4n TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.6184716-2985-9324483481182/ > /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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:24Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10\"}": {}  }  },  "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": "2025-10-06T00:30:24Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "c3b5113c-d9fd-4cdf-ab6e-1e7668b2ae10"  }  ],  "resourceVersion": "51759",  "uid": "27d9fc0d-8452-41bc-84c6-9e3e3c07d908"  },  "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-khm5t68t42",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:24Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-58bddc4d7d\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "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":"2025-10-06T00:31:17Z","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":"2025-10-06T00:31:17Z","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 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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  libyaml = True Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Loading collection ansible.builtin from  host_list declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method script declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method auto declined parsing /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts as it did not pass its verify_file() method Set default localhost to localhost Parsed /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/inventory/hosts inventory source with ini plugin redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info Loading collection kubernetes.core from /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible/plugins/callback/default.py Loading callback plugin awx_display of type stdout, v2.0 from /usr/local/lib/python3.12/site-packages/ansible_runner/display_callback/callback/awx_display.py Skipping callback 'awx_display', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 1ca81837b76a4c33a7c60a0c603d2573 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/1ca81837b76a4c33a7c60a0c603d2573 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/1ca81837b76a4c33a7c60a0c603d2573 PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch"{"level":"info","ts":"2025-10-06T00:31:17Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5710646481614414103","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ,  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463 `" && echo ansible-tmp-1759710668.0162454-2760-110184591511463="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463 `" ) && 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-27136nfdu23j/tmp0wlo354i TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710668.0162454-2760-110184591511463/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931 `" && echo ansible-tmp-1759710669.41677-2834-68030794442931="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-27136nfdu23j/tmptwn51kk1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.41677-2834-68030794442931/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837 `" && echo ansible-tmp-1759710670.8147807-2903-223489489908837="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-27136nfdu23j/tmp58xwkmtb TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.8147807-2903-223489489908837/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849 `" && echo ansible-tmp-1759710671.971292-2966-131769584781849="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-27136nfdu23j/tmpobtrepym TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.971292-2966-131769584781849/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345 `" && echo ansible-tmp-1759710673.5696473-3018-111792692304345="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-27136nfdu23j/tmpfh0guzae TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.5696473-3018-111792692304345/ > /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": "2025-10-06T00:30:14Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:14Z"  }  ],  "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": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51083",  "uid": "5192cef6-3ef8-4e39-bd22-afff018472b9"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089 `" && echo ansible-tmp-1759710674.5871053-3018-169044333019089="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-27136nfdu23j/tmputewg5m5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.5871053-3018-169044333019089/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:15Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:15Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51767",  "uid": "24a974de-e063-4c33-bcf5-9e29f61c3665"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:15Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-c774c44f7\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171 `" && echo ansible-tmp-1759710676.0898516-3108-174300588876171="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-27136nfdu23j/tmp0f666bzw TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.0898516-3108-174300588876171/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:16Z",  "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\":\"b7b7106e-db16-4234-99b2-8cf3c23d4bb4\"}": {}  }  },  "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": "2025-10-06T00:30:16Z"  },  {  "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": "2025-10-06T00:30:16Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "b7b7106e-db16-4234-99b2-8cf3c23d4bb4"  }  ],  "resourceVersion": "51119",  "uid": "1d64e2cc-3d67-456c-8de8-a85ce2468aba"  },  "spec": {  "clusterIP": "10.217.4.176",  "clusterIPs": [  "10.217.4.176"  ],  "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 ---------- ----- 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.17.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.5 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/local/bin/python3)  jinja version = 3.1.4  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: ac96ad8612a54a10a648c0d6978ce5bb ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/ac96ad8612a54a10a648c0d6978ce5bb 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/ac96ad8612a54a10a648c0d6978ce5bb PLAY [localhost] *************************************************************** TASK [smartgateway : Get information about the cluster] ************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:3 redirecting (type: lookup) ansible.builtin.k8s to kubernetes.core.k8s ok: [localhost] => {  "ansible_facts": {  "api_groups": [  "",  "apiregistration.k8s.io",  "apps",  "events.k8s.io",  "authentication.k8s.io",  "authorization.k8s.io",  "autoscaling",  "batch",  "certificates.k8s.io",  "networking.k8s.io",  "policy",  "rbac.authorization.k8s.io",  "storage.k8s.io",  "admissionregistration.k8s.io",  "apiextensions.k8s.io",  "scheduling.k8s.io",  "coordination.k8s.io",  "node.k8s.io",  "discovery.k8s.io",  "flowcontrol.apiserver.k8s.io",  "apps.openshift.io",  "authorization.openshift.io",  "build.openshift.io",  "image.openshift.io",  "oauth.openshift.io",  "project.openshift.io",  "quota.openshift.io",  "route.openshift.io",  "security.openshift.io",  "template.openshift.io",  "user.openshift.io",  "packages.operators.coreos.com",  "config.openshift.io",  "operator.openshift.io",  "acme.cert-manager.io",  "apiserver.openshift.io",  "apm.k8s.elastic.co",  "autoscaling.openshift.io",  "cert-manager.io",  "console.openshift.io",  "elasticsearch.k8s.elastic.co",  "enterprisesearch.k8s.elastic.co",  "imageregistry.operator.openshift.io",  "ingress.operator.openshift.io",  "k8s.cni.cncf.io",  "k8s.ovn.org",  "kibana.k8s.elastic.co",  "machine.openshift.io",  "machineconfiguration.openshift.io",  "monitoring.coreos.com",  "monitoring.openshift.io",  "monitoring.rhobs",  "network.operator.openshift.io",  "operators.coreos.com",  "samples.operator.openshift.io",  "security.internal.openshift.io",  "agent.k8s.elastic.co",  "autoscaling.k8s.elastic.co",  "controlplane.operator.openshift.io",  "interconnectedcloud.github.io",  "ipam.cluster.x-k8s.io",  "logstash.k8s.elastic.co",  "maps.k8s.elastic.co",  "migration.k8s.io",  "observability.openshift.io",  "perses.dev",  "policy.networking.k8s.io",  "stackconfigpolicy.k8s.elastic.co",  "whereabouts.cni.cncf.io",  "infrastructure.cluster.x-k8s.io",  "beat.k8s.elastic.co",  "helm.openshift.io",  "infra.watch"{"level":"info","ts":"2025-10-06T00:31:18Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2506176935182121206","name":"default-cloud1-coll-meter","namespace":"service-telemetry"} ,  "smartgateway.infra.watch"  ]  },  "changed": false } TASK [smartgateway : Print some debug information] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:7 ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133 `" && echo ansible-tmp-1759710667.9162319-2740-8512523457133="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133 `" ) && 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-2714ys2k5zhq/tmpjb3zii2h TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710667.9162319-2740-8512523457133/ > /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": "Y2tMT2o5dTNaOWk6T2suVXpPci4="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-10-06T00:30:01Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:01Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50907",  "uid": "c396af04-6ed6-4642-8051-c68a5ae12d79"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949 `" && echo ansible-tmp-1759710669.121292-2801-113608578697949="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2714ys2k5zhq/tmpt_vg48vu TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710669.121292-2801-113608578697949/ > /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-4n4dq"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-4n4dq"  },  "creationTimestamp": "2025-10-06T00:30:02Z",  "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-4n4dq\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-10-06T00:30:02Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:02Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50937",  "uid": "f954c733-a04a-4dbc-bcd7-0f1d29bee6e1"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-4n4dq"  }  ]  } } 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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955 `" && echo ansible-tmp-1759710670.3434696-2861-12553769609955="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2714ys2k5zhq/tmpi3tuf27e TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710670.3434696-2861-12553769609955/ > /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": "2025-10-06T00:30:03Z",  "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": "2025-10-06T00:30:03Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50949",  "uid": "13c68307-e77e-4ed3-b976-d6767e1afa40"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381 `" && echo ansible-tmp-1759710671.6901498-2939-125026824850381="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2714ys2k5zhq/tmphtz3bjub TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710671.6901498-2939-125026824850381/ > /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": "2025-10-06T00:30:04Z",  "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": "2025-10-06T00:30:04Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "50959",  "uid": "e37ee2e8-6adb-4bc7-9e6a-45e3d087d22e"  },  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233 `" && echo ansible-tmp-1759710673.513627-3017-30865601015233="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2714ys2k5zhq/tmpwcw_dbzx TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710673.513627-3017-30865601015233/ > /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": "2025-10-06T00:30:06Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-10-06T00:30:06Z"  }  ],  "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": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "50979",  "uid": "84d64cfb-e4c4-448b-bae7-9ffba452ce91"  }  } } 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 ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534 `" && echo ansible-tmp-1759710674.7860842-3017-43542508457534="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2714ys2k5zhq/tmpaxsyqk6p TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710674.7860842-3017-43542508457534/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-10-06T00:30:07Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:07Z"  },  {  "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": "2025-10-06T00:31:06Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51773",  "uid": "1a737442-e9c5-4ea9-a619-906a3a800053"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "image-registry.openshift-image-registry.svc:5000/service-telemetry/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-10-06T00:30:07Z",  "lastUpdateTime": "2025-10-06T00:30:31Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-68d7cdf9d4\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-10-06T00:31:06Z",  "lastUpdateTime": "2025-10-06T00:31:06Z",  "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: 1000660000  EXEC /bin/sh -c 'echo ~1000660000 && sleep 0'  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987 `" && echo ansible-tmp-1759710676.2394283-3124-37063818855987="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2714ys2k5zhq/tmp_an3ej3b TO /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987/ /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1759710676.2394283-3124-37063818855987/ > /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@1719406026",  "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@1719406026"  },  "creationTimestamp": "2025-10-06T00:30:08Z",  "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\":\"df9b26af-61d9-4ab7-877c-0453bdc77cec\"}": {}  }  },  "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": "2025-10-06T00:30:08Z"  },  {  "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": "2025-10-06T00:30:08Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "df9b26af-61d9-4ab7-877c-0453bdc77cec"  }  ],  "resourceVersion": "51019",  "uid": "ef0a1613-1f63-4593-8599-186f6e859a66"  },  "spec": {  "clusterIP": "10.217.5.38",  "clusterIPs": [  "10.217.5.38"  ],  "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 ----------