Already on project "service-telemetry" on server "https://api.crc.testing:6443". *** [INFO] Working in project service-telemetry *** [INFO] Getting ElasticSearch authentication password *** [INFO] Getting Prometheus authentication token *** [INFO] Creating configmaps... Error from server (NotFound): configmaps "stf-smoketest-healthcheck-log" not found Error from server (NotFound): configmaps "stf-smoketest-collectd-config" not found Error from server (NotFound): configmaps "stf-smoketest-sensubility-config" not found Error from server (NotFound): configmaps "stf-smoketest-collectd-entrypoint-script" not found Error from server (NotFound): configmaps "stf-smoketest-ceilometer-publisher" not found Error from server (NotFound): configmaps "stf-smoketest-ceilometer-entrypoint-script" not found Error from server (NotFound): jobs.batch "stf-smoketest" not found configmap/stf-smoketest-healthcheck-log created configmap/stf-smoketest-collectd-config created configmap/stf-smoketest-sensubility-config created configmap/stf-smoketest-collectd-entrypoint-script created configmap/stf-smoketest-ceilometer-publisher created configmap/stf-smoketest-ceilometer-entrypoint-script created *** [INFO] Waiting for QDR password upgrade *** [INFO] Creating Mock OSP Metrics QDR... Error from server (NotFound): pods "qdr-test" not found Error from server (NotFound): services "qdr-test" not found Error from server (NotFound): configmaps "qdr-test-config" not found configmap/qdr-test-config created Warning: would violate PodSecurity "restricted:v1.24": runAsNonRoot != true (pod or container "qdr" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "qdr" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost") pod/qdr-test created service/qdr-test created * [INFO] Waiting for OSP Metrics QDR pod to be Running pod/qdr-test condition met *** [INFO] Creating smoketest jobs... No resources found job.batch/stf-smoketest-smoke1 created *** [INFO] Triggering an alertmanager notification... *** [INFO] Create alert No resources found Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "curl" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "curl" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "curl" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "curl" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost") pod/curl created pod/curl condition met % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* SSLv3, TLS handshake, Client hello (1): } [data not shown] * SSLv3, TLS handshake, Server hello (2): { [data not shown] * SSLv3, TLS handshake, CERT (11): { [data not shown] * SSLv3, TLS handshake, Server key exchange (12): { [data not shown] * SSLv3, TLS handshake, Server finished (14): { [data not shown] * SSLv3, TLS handshake, Client key exchange (16): } [data not shown] * SSLv3, TLS change cipher, Client hello (1): } [data not shown] * SSLv3, TLS handshake, Finished (20): } [data not shown] * SSLv3, TLS change cipher, Client hello (1): { [data not shown] * SSLv3, TLS handshake, Finished (20): { [data not shown] > POST /api/v2/alerts HTTP/1.1 > User-Agent: curl/7.35.0 > Host: default-alertmanager-proxy:9095 > Accept: */* > Content-Type: application/json > Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkVpczFSMjFnSHBIRkxBa0pVLUdRLWF6U0Y2Vnp3bkMxWGhoenhzWngyUWcifQ.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjIl0sImV4cCI6MTc2NDU1MjM2OSwiaWF0IjoxNzY0NTQ4NzY5LCJpc3MiOiJodHRwczovL2t1YmVybmV0ZXMuZGVmYXVsdC5zdmMiLCJrdWJlcm5ldGVzLmlvIjp7Im5hbWVzcGFjZSI6InNlcnZpY2UtdGVsZW1ldHJ5Iiwic2VydmljZWFjY291bnQiOnsibmFtZSI6InByb21ldGhldXMtc3RmIiwidWlkIjoiZjBiNjJmMWQtZDk1ZC00Mzg4LTk4YTgtNTM4MDE2YjBhZDE5In19LCJuYmYiOjE3NjQ1NDg3NjksInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpzZXJ2aWNlLXRlbGVtZXRyeTpwcm9tZXRoZXVzLXN0ZiJ9.N9i1hbuzSrFYC3TINHBkTs5qxO_QzEcHy4P3yD1CWywUKYdqDrwFr-S_V-TVi3Hc_oPUAWIQdEDQBxiijcOMhXCwwVlC6tQbuSY_OffUwEzLx_HEdK0etopuaCH5djtn9we5zLpEdJ8KSh6H0pnaMkvH8yLIKq6b6Mi_oe61rK6UL3lz7ywdTUBIQcN0LPD6capFyfQA50Y5e5JBrJHKgfwtVpaie_J-PWEJ0fSUyrpcOHFrbB4GTx817KHy3N7nxK-2x84UAWFEPuKUfn6zFbUdBMSIzDXSrRUnB1FzokY_YS-qWscr7pK6IK6sPEhDePW1DmLmQVBWzxthKDnz7xCcgIq2lUW4NjNQ1TcAfX12ZrAMCL4tyqI1iFQIRmmyVv1BdMlMtSU3CoLL2KkV42_d360pq0nqeRk_9w1mA9SgIyoE1PPzlz104m65kNcWMk3IT0m0IkvSdHg3T3Bl1CSqfyE669Ju_YT90MPxESVvHPX-argqQ3tUY654Detam6a2v2HNIRq0EqKJKmodUqt48nhsaSUhBYjrxw4gyqt0JNc8d9s5ND0Rrcoi4dXr9oCZVKvltGG-coRe6fqSKQKcv3wbEHht8iU1C72xgXXFPz4A-ZABzQqkrAsIWbc30Tc6sQKqoQbJuAJRvOJ9oLRb12HphwWw2qDurRg_xtM > Content-Length: 116 > } [data not shown] < HTTP/1.1 200 OK < Cache-Control: no-store < Content-Length: 0 < Date: Mon, 01 Dec 2025 00:26:12 GMT < Gap-Auth: system:serviceaccount:service-telemetry:prometheus-stf@cluster.local < Gap-Upstream-Address: localhost:9093 < Vary: Origin < 100 116 0 0 100 116 0 1821 --:--:-- --:--:-- --:--:-- 2148 *** [INFO] Waiting to see SNMP trap message in webhook pod DEBUG:prometheus_webhook_snmp.utils:Sending SNMP trap: {'oid': '1.3.6.1.4.1.50495.15.1.2.1', 'alertname': 'smoketest', 'status': 'firing', 'severity': 'warning', 'instance': None, 'job': None, 'description': None, 'labels': {}, 'timestamp': 1764548769, 'rawdata': {'status': 'firing', 'labels': {}, 'annotations': {}, 'startsAt': '2025-12-01T00:26:09Z', 'endsAt': '0001-01-01T00:00:00Z', 'generatorURL': '', 'fingerprint': '47fa8d406c7155f6'}} *** [INFO] Waiting on job/stf-smoketest-smoke1... job.batch/stf-smoketest-smoke1 condition met *** [INFO] Checking that the qdr certificate has a long expiry *** [INFO] Showing oc get all... Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+ NAME READY STATUS RESTARTS AGE pod/27e4a3b82b847aaaac340f98fd9ec51c99f28242b589c6c251a26fbc3bg5hdc 0/1 Completed 0 4m15s pod/alertmanager-default-0 3/3 Running 0 2m40s pod/cd07ebce3b618aaffa8e106dab3e8eb93287fbb0e4c5a9c0f6ea8fc7ebjl7g6 0/1 Completed 0 4m15s pod/curl 0/1 Completed 0 56s pod/default-cloud1-ceil-event-smartgateway-f7fd9974c-jqvqr 2/2 Running 2 (94s ago) 115s pod/default-cloud1-ceil-meter-smartgateway-7db4658b87-qqc7z 3/3 Running 2 (94s ago) 2m17s pod/default-cloud1-coll-event-smartgateway-c9d669479-pl8pp 2/2 Running 2 (94s ago) 116s pod/default-cloud1-coll-meter-smartgateway-777b58f8fb-6576t 3/3 Running 2 (94s ago) 2m21s pod/default-cloud1-sens-meter-smartgateway-5c844d475c-6vjqx 3/3 Running 2 (95s ago) 2m10s pod/default-interconnect-84dbc59cb8-j2xjt 1/1 Running 0 99s pod/default-snmp-webhook-789c959b9-d255d 1/1 Running 0 2m42s pod/elastic-operator-5676c7f7c5-mxwzc 1/1 Running 0 7m17s pod/elasticsearch-es-default-0 1/1 Running 0 6m45s pod/infrawatch-operators-bgxqw 1/1 Running 0 4m48s pod/interconnect-operator-7b75f466d4-zdlgg 1/1 Running 0 4m pod/prometheus-default-0 3/3 Running 0 2m53s pod/qdr-test 1/1 Running 0 66s pod/service-telemetry-framework-index-1-build 0/1 Completed 0 5m49s pod/service-telemetry-operator-7bfc76d569-4kdrb 1/1 Running 0 3m57s pod/smart-gateway-operator-6f4fcf4889-gcpdm 1/1 Running 0 3m55s pod/stf-smoketest-smoke1-bst4v 0/2 Completed 0 57s NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/alertmanager-operated ClusterIP None 9093/TCP,9094/TCP,9094/UDP 2m44s service/default-alertmanager-proxy ClusterIP 10.217.5.193 9095/TCP 2m33s service/default-cloud1-ceil-meter ClusterIP 10.217.4.53 8083/TCP 2m16s service/default-cloud1-coll-meter ClusterIP 10.217.5.49 8083/TCP 2m19s service/default-cloud1-sens-meter ClusterIP 10.217.4.210 8083/TCP 2m9s service/default-interconnect ClusterIP 10.217.4.124 5672/TCP,55671/TCP,5671/TCP,5673/TCP 3m4s service/default-prometheus-proxy ClusterIP 10.217.4.83 9092/TCP 2m52s service/default-prometheus-webhook-snmp ClusterIP 10.217.5.14 9099/TCP 2m41s service/elastic-operator-service ClusterIP 10.217.5.71 443/TCP 7m17s service/elasticsearch-es-default ClusterIP None 9200/TCP 6m45s service/elasticsearch-es-http ClusterIP 10.217.5.13 9200/TCP 6m47s service/elasticsearch-es-internal-http ClusterIP 10.217.5.225 9200/TCP 6m47s service/elasticsearch-es-transport ClusterIP None 9300/TCP 6m47s service/infrawatch-operators ClusterIP 10.217.5.121 50051/TCP 4m50s service/prometheus-operated ClusterIP None 9090/TCP 2m53s service/qdr-test ClusterIP 10.217.5.153 5672/TCP 66s NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/default-cloud1-ceil-event-smartgateway 1/1 1 1 115s deployment.apps/default-cloud1-ceil-meter-smartgateway 1/1 1 1 2m17s deployment.apps/default-cloud1-coll-event-smartgateway 1/1 1 1 116s deployment.apps/default-cloud1-coll-meter-smartgateway 1/1 1 1 2m21s deployment.apps/default-cloud1-sens-meter-smartgateway 1/1 1 1 2m11s deployment.apps/default-interconnect 1/1 1 1 3m4s deployment.apps/default-snmp-webhook 1/1 1 1 2m42s deployment.apps/elastic-operator 1/1 1 1 7m17s deployment.apps/interconnect-operator 1/1 1 1 4m deployment.apps/service-telemetry-operator 1/1 1 1 3m57s deployment.apps/smart-gateway-operator 1/1 1 1 3m55s NAME DESIRED CURRENT READY AGE replicaset.apps/default-cloud1-ceil-event-smartgateway-f7fd9974c 1 1 1 115s replicaset.apps/default-cloud1-ceil-meter-smartgateway-7db4658b87 1 1 1 2m17s replicaset.apps/default-cloud1-coll-event-smartgateway-c9d669479 1 1 1 116s replicaset.apps/default-cloud1-coll-meter-smartgateway-777b58f8fb 1 1 1 2m21s replicaset.apps/default-cloud1-sens-meter-smartgateway-5c844d475c 1 1 1 2m11s replicaset.apps/default-interconnect-84dbc59cb8 1 1 1 3m4s replicaset.apps/default-snmp-webhook-789c959b9 1 1 1 2m42s replicaset.apps/elastic-operator-5676c7f7c5 1 1 1 7m17s replicaset.apps/interconnect-operator-7b75f466d4 1 1 1 4m replicaset.apps/service-telemetry-operator-7bfc76d569 1 1 1 3m57s replicaset.apps/smart-gateway-operator-6f4fcf4889 1 1 1 3m55s NAME READY AGE statefulset.apps/alertmanager-default 1/1 2m44s statefulset.apps/elasticsearch-es-default 1/1 6m45s statefulset.apps/prometheus-default 1/1 2m53s NAME COMPLETIONS DURATION AGE job.batch/27e4a3b82b847aaaac340f98fd9ec51c99f28242b589c6c251a26fbc3b2401d 1/1 6s 4m15s job.batch/cd07ebce3b618aaffa8e106dab3e8eb93287fbb0e4c5a9c0f6ea8fc7eb6dea5 1/1 5s 4m15s job.batch/stf-smoketest-smoke1 1/1 57s 57s NAME TYPE FROM LATEST buildconfig.build.openshift.io/service-telemetry-framework-index Docker Dockerfile 1 NAME TYPE FROM STATUS STARTED DURATION build.build.openshift.io/service-telemetry-framework-index-1 Docker Binary@902ff70 Complete 5 minutes ago 58s NAME IMAGE REPOSITORY TAGS UPDATED imagestream.image.openshift.io/ose-operator-registry default-route-openshift-image-registry.apps-crc.testing/service-telemetry/ose-operator-registry v4.13 5 minutes ago imagestream.image.openshift.io/service-telemetry-framework-index default-route-openshift-image-registry.apps-crc.testing/service-telemetry/service-telemetry-framework-index latest 4 minutes ago imagestream.image.openshift.io/service-telemetry-operator-bundle default-route-openshift-image-registry.apps-crc.testing/service-telemetry/service-telemetry-operator-bundle nightly-head 6 minutes ago imagestream.image.openshift.io/smart-gateway-operator-bundle default-route-openshift-image-registry.apps-crc.testing/service-telemetry/smart-gateway-operator-bundle nightly-head 6 minutes ago NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD route.route.openshift.io/default-alertmanager-proxy default-alertmanager-proxy-service-telemetry.apps-crc.testing default-alertmanager-proxy web reencrypt/Redirect None route.route.openshift.io/default-interconnect-5671 default-interconnect-5671-service-telemetry.apps-crc.testing default-interconnect 5671 passthrough/None None route.route.openshift.io/default-prometheus-proxy default-prometheus-proxy-service-telemetry.apps-crc.testing default-prometheus-proxy web reencrypt/Redirect None *** [INFO] Showing scrapeconfigs... apiVersion: v1 items: - apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: creationTimestamp: "2025-12-01T00:24:42Z" generation: 1 labels: app: smart-gateway name: default-cloud1-ceil-meter namespace: service-telemetry ownerReferences: - apiVersion: infra.watch/v1beta1 kind: ServiceTelemetry name: default uid: 29bb3b7a-5792-42f7-8610-f14fe5e57ce4 resourceVersion: "49276" uid: a4a3fcf6-7ae0-46a9-b64b-1f766730020a spec: authorization: credentials: key: token name: prometheus-stf-token type: bearer metricRelabelings: - action: labeldrop regex: pod - action: labeldrop regex: namespace - action: labeldrop regex: instance - action: replace regex: .*/(.*)$ replacement: $1 sourceLabels: - job targetLabel: service - action: labeldrop regex: job - action: labeldrop regex: publisher - action: replace replacement: sg-core targetLabel: container - action: replace replacement: prom-https targetLabel: endpoint scheme: HTTPS scrapeInterval: 30s staticConfigs: - targets: - default-cloud1-ceil-meter.service-telemetry.svc:8083 tlsConfig: ca: configMap: key: service-ca.crt name: serving-certs-ca-bundle serverName: default-cloud1-ceil-meter.service-telemetry.svc - apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: creationTimestamp: "2025-12-01T00:24:37Z" generation: 1 labels: app: smart-gateway name: default-cloud1-coll-meter namespace: service-telemetry ownerReferences: - apiVersion: infra.watch/v1beta1 kind: ServiceTelemetry name: default uid: 29bb3b7a-5792-42f7-8610-f14fe5e57ce4 resourceVersion: "49224" uid: c94e77f4-7fe6-45e0-bf90-e75c9a069d10 spec: authorization: credentials: key: token name: prometheus-stf-token type: bearer metricRelabelings: - action: labeldrop regex: pod - action: labeldrop regex: namespace - action: labeldrop regex: instance - action: replace regex: .*/(.*)$ replacement: $1 sourceLabels: - job targetLabel: service - action: labeldrop regex: job - action: labeldrop regex: publisher - action: replace replacement: sg-core targetLabel: container - action: replace replacement: prom-https targetLabel: endpoint scheme: HTTPS scrapeInterval: 30s staticConfigs: - targets: - default-cloud1-coll-meter.service-telemetry.svc:8083 tlsConfig: ca: configMap: key: service-ca.crt name: serving-certs-ca-bundle serverName: default-cloud1-coll-meter.service-telemetry.svc - apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: creationTimestamp: "2025-12-01T00:24:46Z" generation: 1 labels: app: smart-gateway name: default-cloud1-sens-meter namespace: service-telemetry ownerReferences: - apiVersion: infra.watch/v1beta1 kind: ServiceTelemetry name: default uid: 29bb3b7a-5792-42f7-8610-f14fe5e57ce4 resourceVersion: "49327" uid: 87d26f24-3e02-48cf-8558-085e0c2f90eb spec: authorization: credentials: key: token name: prometheus-stf-token type: bearer metricRelabelings: - action: labeldrop regex: pod - action: labeldrop regex: namespace - action: labeldrop regex: instance - action: replace regex: .*/(.*)$ replacement: $1 sourceLabels: - job targetLabel: service - action: labeldrop regex: job - action: labeldrop regex: publisher - action: replace replacement: sg-core targetLabel: container - action: replace replacement: prom-https targetLabel: endpoint scheme: HTTPS scrapeInterval: 30s staticConfigs: - targets: - default-cloud1-sens-meter.service-telemetry.svc:8083 tlsConfig: ca: configMap: key: service-ca.crt name: serving-certs-ca-bundle serverName: default-cloud1-sens-meter.service-telemetry.svc kind: List metadata: resourceVersion: "" *** [INFO] Logs from smoketest containers... *** [INFO] My pod is: stf-smoketest-smoke1-bst4v *** [INFO] Using this collectd.conf: Interval 1 LoadPlugin "logfile" LogLevel "debug" File stdout Timestamp true LoadPlugin cpu LoadPlugin amqp1 Host "qdr-test" Port "5672" Address "collectd" Format JSON PreSettle false Format JSON PreSettle false Notify true LoadPlugin interface IgnoreSelected true ReportInactive true LoadPlugin threshold Instance "lo" FailureMax 0 DataSource "rx" Persist true PersistOK true *** [INFO] Sleeping for 3 seconds waiting for collectd to enter read-loop [2025-12-01 00:26:23] plugin_load: plugin "logfile" successfully loaded. [2025-12-01 00:26:23] logfile: invalid loglevel [debug] defaulting to 'info' [2025-12-01 00:26:23] plugin_load: plugin "cpu" successfully loaded. grep: /tmp/collectd_output: No such file or directory [2025-12-01 00:26:23] plugin_load: plugin "amqp1" successfully loaded. [2025-12-01 00:26:23] plugin_load: plugin "interface" successfully loaded. [2025-12-01 00:26:23] plugin_load: plugin "threshold" successfully loaded. [2025-12-01 00:26:23] Initialization complete, entering read-loop. [2025-12-01 00:26:23] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is nan. [2025-12-01 00:26:24] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:25] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:23] Initialization complete, entering read-loop. *** [INFO] Sleeping for 30 seconds to collect 30s of metrics and events [2025-12-01 00:26:26] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] using configuration value. [result: default, parameter: log_file, value: ] [DEBUG] using configuration value. [parameter: log_level, value: DEBUG, result: parsed] [DEBUG] using configuration value. [parameter: allow_exec, value: true, result: default] [DEBUG] using configuration value. [parameter: connection, value: , result: default] [DEBUG] using configuration value. [result: default, parameter: subscriptions, value: all,default] [DEBUG] using configuration value. [parameter: client_name, value: stf-smoketest-smoke1-bst4v, result: default] [DEBUG] using configuration value. [parameter: client_address, value: 10.217.0.86, result: default] [DEBUG] using configuration value. [parameter: keepalive_interval, value: 20, result: parsed] [DEBUG] using configuration value. [parameter: tmp_base_dir, value: /var/tmp/collectd-sensubility-checks, result: parsed] [DEBUG] using configuration value. [parameter: shell_path, value: /usr/bin/sh, result: parsed] [DEBUG] using configuration value. [parameter: worker_count, value: 2, result: parsed] [DEBUG] using configuration value. [parameter: checks, value: {"check-container-health":{"command":"cat /healthcheck.log","handlers":[],"interval":3,"occurrences":3,"refresh":90,"standalone":true}}, result: parsed] [DEBUG] using configuration value. [value: amqp://qdr-test:5672, result: parsed, parameter: connection] [DEBUG] using configuration value. [parameter: client_name, value: smoketest.redhat.com, result: parsed] [DEBUG] using configuration value. [result: default, parameter: send_timeout, value: 2] [DEBUG] using configuration value. [result: parsed, parameter: results_channel, value: sensubility/cloud1-telemetry] [DEBUG] using configuration value. [value: smartgateway, result: parsed, parameter: results_format] [DEBUG] using configuration value. [result: default, parameter: listen_channels, value: ] [DEBUG] using configuration value. [parameter: listen_prefetch, value: -1, result: default] [2025-12-01 00:26:27] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:28] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:29] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Created check script. [command: cat /healthcheck.log, path: /var/tmp/collectd-sensubility-checks/check-3573378205] [DEBUG] Executed check script. [output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] , command: cat /healthcheck.log, status: 0] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.028853538,"executed":1764548788,"issued":1764548788,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548788,\"lastEpochMicrosec\":1764548788},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.028854\",\"executed\":\"1764548788\",\"issued\":\"1764548788\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:28Z"}] [2025-12-01 00:26:30] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:31] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:32] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.021681426,"executed":1764548791,"issued":1764548791,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548791,\"lastEpochMicrosec\":1764548791},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.021681\",\"executed\":\"1764548791\",\"issued\":\"1764548791\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:31Z"}] [2025-12-01 00:26:33] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:34] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:35] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.014802111,"executed":1764548794,"issued":1764548794,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548794,\"lastEpochMicrosec\":1764548794},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.014802\",\"executed\":\"1764548794\",\"issued\":\"1764548794\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:34Z"}] [2025-12-01 00:26:36] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:37] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:38] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.011528199,"executed":1764548797,"issued":1764548797,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548797,\"lastEpochMicrosec\":1764548797},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.011528\",\"executed\":\"1764548797\",\"issued\":\"1764548797\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:37Z"}] [2025-12-01 00:26:39] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:40] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:41] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.006916366,"executed":1764548800,"issued":1764548800,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548800,\"lastEpochMicrosec\":1764548800},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.006916\",\"executed\":\"1764548800\",\"issued\":\"1764548800\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:40Z"}] [2025-12-01 00:26:42] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:43] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:44] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.007281017,"executed":1764548803,"issued":1764548803,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548803,\"lastEpochMicrosec\":1764548803},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.007281\",\"executed\":\"1764548803\",\"issued\":\"1764548803\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:43Z"}] [2025-12-01 00:26:45] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:46] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [2025-12-01 00:26:47] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.009989161,"executed":1764548806,"issued":1764548806,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548806,\"lastEpochMicrosec\":1764548806},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.009989\",\"executed\":\"1764548806\",\"issued\":\"1764548806\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:46Z"}] [2025-12-01 00:26:48] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:49] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:50] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] , command: cat /healthcheck.log, status: 0] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.00770856,"executed":1764548809,"issued":1764548809,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548809,\"lastEpochMicrosec\":1764548809},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.007709\",\"executed\":\"1764548809\",\"issued\":\"1764548809\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:49Z"}] [2025-12-01 00:26:51] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:52] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:53] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.015686458,"executed":1764548812,"issued":1764548812,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548812,\"lastEpochMicrosec\":1764548812},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.015686\",\"executed\":\"1764548812\",\"issued\":\"1764548812\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:52Z"}] [2025-12-01 00:26:54] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:55] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. [2025-12-01 00:26:56] Notification: severity = OKAY, host = stf-smoketest-smoke1-bst4v, plugin = interface, plugin_instance = lo, type = if_octets, message = Host stf-smoketest-smoke1-bst4v, plugin interface (instance lo) type if_octets: All data sources are within range again. Current value of "rx" is 0.000000. *** [INFO] List of metric names for debugging... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[DEBUG] Requesting execution of check. [check: check-container-health] [DEBUG] Executed check script. [command: cat /healthcheck.log, status: 0, output: [{"service":"smoketest-svc","container":"smoketest-container","status":"unhealthy","healthy":0}] ] [DEBUG] Sending AMQP1.0 message [address: sensubility/cloud1-telemetry, body: {"labels":{"check":"check-container-health","client":"stf-smoketest-smoke1-bst4v","severity":"OKAY"},"annotations":{"command":"cat /healthcheck.log","duration":0.0067144,"executed":1764548815,"issued":1764548815,"output":"[{\"service\":\"smoketest-svc\",\"container\":\"smoketest-container\",\"status\":\"unhealthy\",\"healthy\":0}]\n","status":0,"ves":"{\"commonEventHeader\":{\"domain\":\"heartbeat\",\"eventType\":\"checkResult\",\"eventId\":\"stf-smoketest-smoke1-bst4v-check-container-health\",\"priority\":\"Normal\",\"reportingEntityId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"reportingEntityName\":\"stf-smoketest-smoke1-bst4v\",\"sourceId\":\"df4ac817-967e-4c23-ae0f-b02014c4e6bf\",\"sourceName\":\"stf-smoketest-smoke1-bst4v-collectd-sensubility\",\"startingEpochMicrosec\":1764548815,\"lastEpochMicrosec\":1764548815},\"heartbeatFields\":{\"additionalFields\":{\"check\":\"check-container-health\",\"command\":\"cat /healthcheck.log\",\"duration\":\"0.006714\",\"executed\":\"1764548815\",\"issued\":\"1764548815\",\"output\":\"[{\\\"service\\\":\\\"smoketest-svc\\\",\\\"container\\\":\\\"smoketest-container\\\",\\\"status\\\":\\\"unhealthy\\\",\\\"healthy\\\":0}]\\n\",\"status\":\"0\"}}}"},"startsAt":"2025-12-01T00:26:55Z"}] 100 944 0 944 0 0 12259 0 --:--:-- --:--:-- --:--:-- 12259 {"status":"success","data":["ceilometer_image_size","collectd_cpu_total","collectd_interface_if_dropped_rx_total","collectd_interface_if_dropped_tx_total","collectd_interface_if_errors_rx_total","collectd_interface_if_errors_tx_total","collectd_interface_if_octets_rx_total","collectd_interface_if_octets_tx_total","collectd_interface_if_packets_rx_total","collectd_interface_if_packets_tx_total","scrape_duration_seconds","scrape_samples_post_metric_relabeling","scrape_samples_scraped","scrape_series_added","sensubility_container_health_status","sg_total_ceilometer_metric_decode_count","sg_total_ceilometer_metric_decode_error_count","sg_total_ceilometer_msg_received_count","sg_total_collectd_metric_decode_count","sg_total_collectd_metric_decode_error_count","sg_total_collectd_msg_received_count","sg_total_sensubility_metric_decode_count","sg_total_sensubility_metric_decode_error_count","sg_total_sensubility_msg_received_count","up"]} *** [INFO] Checking for recent CPU metrics... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"collectd_cpu_total","container":"sg-core","endpoint":"prom-https","host":"stf-smoketest-smoke1-bst4v","plugin_instance":"0","service":"default-cloud1-coll-meter","type_instance":"user"},"values":[[1764548803,"29691"]]}]}} 100 510 0 304 100 206 6608 4478 --:--:-- --:--:-- --:--:-- 11086 *** [INFO] Checking for returned CPU metrics... {"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"collectd_cpu_total","container":"sg-core","endpoint":"prom-https","host":"stf-smoketest-smoke1-bst4v","plugin_instance":"0","service":"default-cloud1-coll-meter","type_instance":"user"},"values":[[1764548803,"29691"]]}]}} *** [INFO] Checking for recent healthcheck metrics... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 464 0 298 100 166 6478 3608 --:--:-- --:--:-- --:--:-- 10086 {"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"sensubility_container_health_status","container":"sg-core","endpoint":"prom-https","host":"stf-smoketest-smoke1-bst4v","process":"smoketest-svc","service":"default-cloud1-sens-meter"},"values":[[1764548794,"0"]]}]}} *** [INFO] Checking for returned healthcheck metrics... {"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"sensubility_container_health_status","container":"sg-core","endpoint":"prom-https","host":"stf-smoketest-smoke1-bst4v","process":"smoketest-svc","service":"default-cloud1-sens-meter"},"values":[[1764548794,"0"]]}]}} *** [INFO] Get documents for this test from Elasticsearch... *** [INFO] Found 34 documents [INFO] Verification exit codes (0 is passing, non-zero is a failure): events=0 metrics=0 *** [INFO] Testing completed with success *** [INFO] My pod is: stf-smoketest-smoke1-bst4v Sending event to event: {'message_id': 'b6f075ce-3c69-4cd1-b581-ad2c8e40a4ce', 'event_type': 'image.delete', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost'), ('project_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('user_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('resource_id', 1, 'fb2bbe17-24fd-4487-99c3-d4c5ef279550'), ('name', 1, 'cirros'), ('status', 1, 'deleted'), ('created_at', 4, '2025-12-01T00:26:31.660612'), ('deleted_at', 4, '2025-12-01T00:26:31.660612'), ('size', 2, 13287936)], 'raw': {}, 'message_signature': 'd0dbcb90395d48aed741e905240a1f92c534cc87f2139e8f7021d958d114942b'} Sending event to event: {'message_id': '49d16489-411d-4b9b-9a6c-0b29c7a2416a', 'event_type': 'image.create', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost'), ('project_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('user_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('resource_id', 1, '693d53eb-2b24-4761-87e4-2ffabc1cf410'), ('name', 1, 'cirros'), ('status', 1, 'queued'), ('created_at', 4, '2025-12-01T00:26:31.660612')], 'raw': {}, 'message_signature': '54dd3b3f5fcbe166f1ba7fec6625599f7a0e93422719f5626e09e8a560858695'} Sending event to event: {'message_id': 'b1570a8b-87f6-485a-afa6-16a738d56417', 'event_type': 'image.update', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost'), ('project_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('user_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('resource_id', 1, '693d53eb-2b24-4761-87e4-2ffabc1cf410'), ('name', 1, 'cirros'), ('status', 1, 'saving'), ('created_at', 4, '2025-12-01T00:26:31.660612')], 'raw': {}, 'message_signature': 'a64d2ec548d185b61576ac5f58cc869a543416f9a4b849ac7a51860cfac8a287'} Sending event to event: {'message_id': 'd37fa610-49c1-47b7-a47d-4a04cede9581', 'event_type': 'image.prepare', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost')], 'raw': {}, 'message_signature': '0766ab7620e1248516f515f7734bb85595e5066e1a27aca47a4106dd1bff4593'} Sending event to event: {'message_id': '49cb5cc8-fd50-444e-9abc-f3df6d9eb8ce', 'event_type': 'image.activate', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost')], 'raw': {}, 'message_signature': 'ca7d224444b4cd2ce4fe55cf9a9f25c5ea7d25b81c4526cadb80180a95c0127c'} Sending event to event: {'message_id': 'fc26a59c-7a13-45d2-bd78-ee35ecbb002a', 'event_type': 'image.upload', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost'), ('project_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('user_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('resource_id', 1, '693d53eb-2b24-4761-87e4-2ffabc1cf410'), ('name', 1, 'cirros'), ('status', 1, 'active'), ('created_at', 4, '2025-12-01T00:26:31.660612'), ('size', 2, 13287936)], 'raw': {}, 'message_signature': '7eb2bef405398794de99b04355b4d8023fd1f55a9d453888208893193596a627'} Sending event to event: {'message_id': '634de968-2bbb-4e55-a1fd-9fa123ac3423', 'event_type': 'image.update', 'generated': '2025-12-01T00:26:31.660612', 'traits': [('service', 1, 'image.localhost'), ('project_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('user_id', 1, 'f7a5d2ac23aa43bb844c6e1cd873c48c'), ('resource_id', 1, '693d53eb-2b24-4761-87e4-2ffabc1cf410'), ('name', 1, 'cirros'), ('status', 1, 'active'), ('created_at', 4, '2025-12-01T00:26:31.660612'), ('size', 2, 13287936)], 'raw': {}, 'message_signature': '49bce1cd2c6e11cb530c4185c535aac15df51f7dcebcbce5ef563bf2563ac8e3'} Sending metric to metering: {'source': 'openstack', 'counter_name': 'image.size', 'counter_type': 'gauge', 'counter_unit': 'B', 'counter_volume': 13287936, 'user_id': None, 'user_name': None, 'project_id': 'f7a5d2ac23aa43bb844c6e1cd873c48c', 'project_name': None, 'resource_id': '693d53eb-2b24-4761-87e4-2ffabc1cf410', 'timestamp': '2025-12-01T00:26:31.660612', 'resource_metadata': {'id': '693d53eb-2b24-4761-87e4-2ffabc1cf410', 'name': 'cirros', 'status': 'deleted', 'created_at': '2025-12-01T00:26:31.660612', 'updated_at': '2025-12-01T00:26:31.660612', 'min_disk': 0, 'min_ram': 0, 'protected': False, 'checksum': 'ee1eca47dc88f4879d8a229cc70a07c6', 'owner': 'f7a5d2ac23aa43bb844c6e1cd873c48c', 'disk_format': 'qcow2', 'container_format': 'bare', 'size': 13287936, 'virtual_size': None, 'is_public': True, 'visibility': 'public', 'properties': {}, 'tags': [], 'deleted': True, 'deleted_at': '2025-12-01T00:26:31.660612', 'event_type': 'image.delete', 'host': 'image.localhost'}, 'message_id': '62c7a578-ce4c-11f0-b360-0a580ad90056', 'monotonic_time': None, 'message_signature': 'cdce991840525ac15d71b9a854c08cabe922be88c49c779bdd4d6074d72de081'} Sending metric to metering: {'source': 'openstack', 'counter_name': 'image.size', 'counter_type': 'gauge', 'counter_unit': 'B', 'counter_volume': 13287936, 'user_id': None, 'user_name': None, 'project_id': 'f7a5d2ac23aa43bb844c6e1cd873c48c', 'project_name': None, 'resource_id': 'f297d2f9-168d-49d4-a33c-b68f4a4d5a48', 'timestamp': '2025-12-01T00:26:31.660612', 'resource_metadata': {'id': 'f297d2f9-168d-49d4-a33c-b68f4a4d5a48', 'name': 'cirros', 'status': 'active', 'created_at': '2025-12-01T00:26:31.660612', 'updated_at': '2025-12-01T00:26:31.660612', 'min_disk': 0, 'min_ram': 0, 'protected': False, 'checksum': 'ee1eca47dc88f4879d8a229cc70a07c6', 'owner': 'f7a5d2ac23aa43bb844c6e1cd873c48c', 'disk_format': 'qcow2', 'container_format': 'bare', 'size': 13287936, 'virtual_size': None, 'is_public': True, 'visibility': 'public', 'properties': {}, 'tags': [], 'deleted': False, 'deleted_at': None, 'os_glance_importing_to_stores': [], 'os_glance_failed_import': [], 'event_type': 'image.upload', 'host': 'image.localhost'}, 'message_id': '62cf97ec-ce4c-11f0-b360-0a580ad90056', 'monotonic_time': None, 'message_signature': '5f721abde62bb35ceff29e1fb074bf3f5e3777994183a9967c0d33fca9f21457'} Sending metric to metering: {'source': 'openstack', 'counter_name': 'image.size', 'counter_type': 'gauge', 'counter_unit': 'B', 'counter_volume': 13287936, 'user_id': None, 'user_name': None, 'project_id': 'f7a5d2ac23aa43bb844c6e1cd873c48c', 'project_name': None, 'resource_id': 'f297d2f9-168d-49d4-a33c-b68f4a4d5a48', 'timestamp': '2025-12-01T00:26:31.660612', 'resource_metadata': {'id': 'f297d2f9-168d-49d4-a33c-b68f4a4d5a48', 'name': 'cirros', 'status': 'active', 'created_at': '2025-12-01T00:26:31.660612', 'updated_at': '2025-12-01T00:26:31.660612', 'min_disk': 0, 'min_ram': 0, 'protected': False, 'checksum': 'ee1eca47dc88f4879d8a229cc70a07c6', 'owner': 'f7a5d2ac23aa43bb844c6e1cd873c48c', 'disk_format': 'qcow2', 'container_format': 'bare', 'size': 13287936, 'virtual_size': None, 'is_public': True, 'visibility': 'public', 'properties': {}, 'tags': [], 'deleted': False, 'deleted_at': None, 'event_type': 'image.update', 'host': 'image.localhost'}, 'message_id': '62d458ae-ce4c-11f0-b360-0a580ad90056', 'monotonic_time': None, 'message_signature': '27655d4a88ec4e3365b8a3171efe2ac52036c6f08b7723afda5f8237ba0954ff'} *** [INFO] Sleeping for 30 seconds to produce all metrics and events *** [INFO] List of metric names for debugging... {"status":"success","data":["ceilometer_image_size","collectd_cpu_total","collectd_interface_if_dropped_rx_total","collectd_interface_if_dropped_tx_total","collectd_interface_if_errors_rx_total","collectd_interface_if_errors_tx_total","collectd_interface_if_octets_rx_total","collectd_interface_if_octets_tx_total","collectd_interface_if_packets_rx_total","collectd_interface_if_packets_tx_total","scrape_duration_seconds","scrape_samples_post_metric_relabeling","scrape_samples_scraped","scrape_series_added","sensubility_container_health_status","sg_total_ceilometer_metric_decode_count","sg_total_ceilometer_metric_decode_error_count","sg_total_ceilometer_msg_received_count","sg_total_collectd_metric_decode_count","sg_total_collectd_metric_decode_error_count","sg_total_collectd_msg_received_count","sg_total_sensubility_metric_decode_count","sg_total_sensubility_metric_decode_error_count","sg_total_sensubility_msg_received_count","up"]} *** [INFO] Checking for recent image metrics... [DEBUG] Running the curl command to return a query {"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ceilometer_image_size","container":"sg-core","counter":"image.size","endpoint":"prom-https","image":"693d53eb-2b24-4761-87e4-2ffabc1cf410","project":"f7a5d2ac23aa43bb844c6e1cd873c48c","resource":"693d53eb-2b24-4761-87e4-2ffabc1cf410","resource_name":"cirros","service":"default-cloud1-ceil-meter","type":"size","unit":"B","vm_instance":"image.localhost"},"value":[1764548822.251,"13287936"]},{"metric":{"__name__":"ceilometer_image_size","container":"sg-core","counter":"image.size","endpoint":"prom-https","image":"f297d2f9-168d-49d4-a33c-b68f4a4d5a48","project":"f7a5d2ac23aa43bb844c6e1cd873c48c","resource":"f297d2f9-168d-49d4-a33c-b68f4a4d5a48","resource_name":"cirros","service":"default-cloud1-ceil-meter","type":"size","unit":"B","vm_instance":"image.localhost"},"value":[1764548822.251,"13287936"]}]}} [DEBUG] Set metrics_result to 0 *** [INFO] Get documents for this test from ElasticSearch... *** [INFO] List of indices for debugging... yellow open ceilometer_image Lw1RsYkbRA2lnbzuFyODWw 1 1 7 0 23.4kb 23.4kb *** [INFO] Get documents for this test from ElasticSearch... *** [INFO] Found 7 documents [INFO] Verification exit codes (0 is passing, non-zero is a failure): events=0 metrics=0 *** [INFO] Testing completed with success *** [INFO] Logs from qdr... Waiting for IP address... cat /etc/qpid-dispatch/sasl-users//guest | saslpasswd2 -c -p -u default-interconnect guest -f /tmp/qdrouterd.sasldb 2025-12-01 00:25:31.454715 +0000 SERVER (info) Container Name: default-interconnect-84dbc59cb8-j2xjt 2025-12-01 00:25:31.454829 +0000 ROUTER (info) Router started in Interior mode, area=0 id=default-interconnect-84dbc59cb8-j2xjt 2025-12-01 00:25:31.454837 +0000 ROUTER (info) Version: Red Hat AMQ Interconnect 1.10.9 (qpid-dispatch 1.14.0) 2025-12-01 00:25:31.455659 +0000 ROUTER (info) Router Engine Instantiated: id=default-interconnect-84dbc59cb8-j2xjt instance=1764548731 max_routers=128 2025-12-01 00:25:31.455881 +0000 ROUTER_CORE (info) Core module present but disabled: edge_router 2025-12-01 00:25:31.455954 +0000 ROUTER_CORE (info) Core module present but disabled: core_test_hooks 2025-12-01 00:25:31.455986 +0000 ROUTER_CORE (info) Core module enabled: edge_addr_tracking 2025-12-01 00:25:31.455994 +0000 ROUTER_CORE (info) Core module enabled: address_lookup_server 2025-12-01 00:25:31.456000 +0000 ROUTER_CORE (info) Core module enabled: address_lookup_client 2025-12-01 00:25:31.456025 +0000 ROUTER_CORE (info) Stuck delivery detection: Scan interval: 30 seconds, Delivery age threshold: 10 seconds 2025-12-01 00:25:31.456032 +0000 ROUTER_CORE (info) Core module enabled: stuck_delivery_detection 2025-12-01 00:25:31.456126 +0000 ROUTER_CORE (info) Core module enabled: mobile_sync 2025-12-01 00:25:31.456133 +0000 ROUTER_CORE (info) Streaming link scrubber: Scan interval: 30 seconds, max free pool: 128 links 2025-12-01 00:25:31.456139 +0000 ROUTER_CORE (info) Core module enabled: streaming_link_scruber 2025-12-01 00:25:31.456146 +0000 ROUTER_CORE (info) Router Core thread running. 0/default-interconnect-84dbc59cb8-j2xjt 2025-12-01 00:25:31.456154 +0000 ROUTER_CORE (info) In-process subscription M/$management 2025-12-01 00:25:31.456171 +0000 ROUTER_CORE (info) In-process subscription L/$management 2025-12-01 00:25:31.456180 +0000 ROUTER_CORE (info) In-process subscription L/qdrouter 2025-12-01 00:25:31.456198 +0000 ROUTER_CORE (info) In-process subscription T/qdrouter 2025-12-01 00:25:31.456206 +0000 ROUTER_CORE (info) In-process subscription L/qdhello 2025-12-01 00:25:31.456245 +0000 ROUTER_CORE (info) In-process subscription L/qdrouter.ma 2025-12-01 00:25:31.456252 +0000 ROUTER_CORE (info) In-process subscription T/qdrouter.ma 2025-12-01 00:25:31.508455 +0000 AGENT (info) Activating management agent on $_management_internal 2025-12-01 00:25:31.508817 +0000 ROUTER_CORE (info) In-process subscription L/$_management_internal 2025-12-01 00:25:31.509656 +0000 POLICY (info) Policy configured maxConnections: 65535, policyDir: '',access rules enabled: 'false', use hostname patterns: 'false' 2025-12-01 00:25:31.510595 +0000 POLICY (info) Policy fallback defaultVhost is defined: '$default' 2025-12-01 00:25:31.511061 +0000 CONN_MGR (info) Created SSL Profile with name openstack 2025-12-01 00:25:31.543238 +0000 CONN_MGR (info) Created SSL Profile with name inter-router 2025-12-01 00:25:31.553010 +0000 CONN_MGR (info) Configured Listener: 127.0.0.1:5672 proto=any, role=normal 2025-12-01 00:25:31.554661 +0000 CONN_MGR (info) Configured Listener: :8888 proto=any, role=normal, http 2025-12-01 00:25:31.554881 +0000 SERVER (info) HTTP server thread running 2025-12-01 00:25:31.555271 +0000 SERVER (notice) Listening for HTTP on :8888 2025-12-01 00:25:31.556788 +0000 CONN_MGR (info) Configured Listener: :55671 proto=any, role=inter-router, sslProfile=inter-router 2025-12-01 00:25:31.558775 +0000 CONN_MGR (info) Configured Listener: :5671 proto=any, role=edge, sslProfile=openstack 2025-12-01 00:25:31.564335 +0000 CONN_MGR (info) Configured Listener: :5673 proto=any, role=edge 2025-12-01 00:25:31.565922 +0000 SERVER (notice) Operational, 4 Threads Running (process ID 1) 2025-12-01 00:25:31.566224 +0000 SERVER (notice) Process VmSize 279.70 MiB (31.34 GiB available memory) 2025-12-01 00:25:31.566600 +0000 SERVER (notice) Listening on 127.0.0.1:5672 2025-12-01 00:25:31.566704 +0000 SERVER (notice) Listening on :55671 2025-12-01 00:25:31.566809 +0000 SERVER (notice) Listening on :5673 2025-12-01 00:25:31.566883 +0000 SERVER (notice) Listening on :5671 2025-12-01 00:25:44.019465 +0000 SERVER (info) [C1] Accepted connection to :5673 from 10.217.0.81:47272 2025-12-01 00:25:44.025903 +0000 ROUTER (info) [C1] Connection Opened: dir=in host=10.217.0.81:47272 vhost= encrypted=no auth=ANONYMOUS user=anonymous container_id=bridge-34 props= 2025-12-01 00:25:44.026182 +0000 ROUTER_CORE (info) [C1][L8] Link attached: dir=out source={/collectd/cloud1-notify expire:sess} target={ expire:sess} 2025-12-01 00:25:45.964911 +0000 SERVER (info) [C2] Accepted connection to :5673 from 10.217.0.80:47420 2025-12-01 00:25:45.976340 +0000 ROUTER (info) [C2] Connection Opened: dir=in host=10.217.0.80:47420 vhost= encrypted=no auth=ANONYMOUS user=anonymous container_id=bridge-21d props= 2025-12-01 00:25:45.976612 +0000 ROUTER_CORE (info) [C2][L9] Link attached: dir=out source={/sensubility/cloud1-telemetry expire:sess} target={ expire:sess} 2025-12-01 00:25:45.997895 +0000 SERVER (info) [C3] Accepted connection to :5673 from 10.217.0.79:43722 2025-12-01 00:25:46.000123 +0000 ROUTER (info) [C3] Connection Opened: dir=in host=10.217.0.79:43722 vhost= encrypted=no auth=ANONYMOUS user=anonymous container_id=bridge-21d props= 2025-12-01 00:25:46.000308 +0000 ROUTER_CORE (info) [C3][L10] Link attached: dir=out source={/anycast/ceilometer/cloud1-metering.sample expire:sess} target={ expire:sess} 2025-12-01 00:25:46.006080 +0000 SERVER (info) [C4] Accepted connection to :5673 from 10.217.0.83:42134 2025-12-01 00:25:46.011135 +0000 ROUTER (info) [C4] Connection Opened: dir=in host=10.217.0.83:42134 vhost= encrypted=no auth=ANONYMOUS user=anonymous container_id=bridge-21d props= 2025-12-01 00:25:46.011263 +0000 ROUTER_CORE (info) [C4][L11] Link attached: dir=out source={/anycast/ceilometer/cloud1-event.sample expire:sess} target={ expire:sess} 2025-12-01 00:25:48.078003 +0000 SERVER (info) [C5] Accepted connection to :5673 from 10.217.0.78:52010 2025-12-01 00:25:48.080759 +0000 ROUTER (info) [C5] Connection Opened: dir=in host=10.217.0.78:52010 vhost= encrypted=no auth=ANONYMOUS user=anonymous container_id=bridge-29f props= 2025-12-01 00:25:48.080885 +0000 ROUTER_CORE (info) [C5][L12] Link attached: dir=out source={/collectd/cloud1-telemetry expire:sess} target={ expire:sess} 2025-12-01 00:26:08.278086 +0000 SERVER (info) [C6] Accepted connection to :5671 from 10.217.0.85:60958 2025-12-01 00:26:08.330961 +0000 ROUTER (info) [C6] Connection Opened: dir=in host=10.217.0.85:60958 vhost= encrypted=TLSv1/SSLv3 auth=PLAIN user=guest@default-interconnect container_id=qdr-test.smoketest props={:product="qpid-dispatch-router", :version="1.19.0", :"qd.conn-id"=1, :"qd.annotations-version"=1} 2025-12-01 00:26:08.332259 +0000 ROUTER_CORE (info) [C6][L13] Link attached: dir=in source={ expire:sess} target={_$qd.edge_heartbeat expire:link} 2025-12-01 00:26:08.332393 +0000 ROUTER_CORE (info) [C6][L14] Link attached: dir=in source={ expire:sess} target={_$qd.addr_lookup expire:link} 2025-12-01 00:26:08.332425 +0000 ROUTER_CORE (info) [C6][L15] Link attached: dir=out source={ expire:link} target={ expire:sess} 2025-12-01 00:26:08.332435 +0000 ROUTER_CORE (info) [C6][L16] Link attached: dir=in source={ expire:sess} target={ expire:sess} 2025-12-01 00:26:08.332460 +0000 ROUTER_CORE (info) [C6][L17] Link attached: dir=out source={qdr-test.smoketest expire:link caps::"qd.router-edge-downlink"} target={ expire:sess caps::"qd.router-edge-downlink"} 2025-12-01 00:26:08.332494 +0000 ROUTER_CORE (info) [C6][L18] Link attached: dir=out source={_$qd.edge_addr_tracking expire:link} target={ expire:sess} 2025-12-01 00:26:08.332509 +0000 ROUTER_CORE (info) [C6][L19] Link attached: dir=in source={ expire:sess} target={$management expire:link} 2025-12-01 00:26:08.332521 +0000 ROUTER_CORE (info) [C6][L20] Link attached: dir=out source={ expire:link} target={ expire:sess} 2025-12-01 00:26:28.682104 +0000 ROUTER_CORE (info) [C6][L21] Link attached: dir=in source={ expire:sess} target={sensubility/cloud1-telemetry expire:link} 2025-12-01 00:26:31.724673 +0000 ROUTER_CORE (info) [C6][L22] Link attached: dir=in source={ expire:sess} target={anycast/ceilometer/cloud1-event.sample expire:link} 2025-12-01 00:26:31.862525 +0000 ROUTER_CORE (info) [C6][L23] Link attached: dir=in source={ expire:sess} target={anycast/ceilometer/cloud1-metering.sample expire:link} 2025-12-01 00:26:32.141432 +0000 ROUTER_CORE (info) [C6][L22] Link detached: del=7 presett=0 psdrop=0 acc=7 rej=0 rel=0 mod=0 delay1=0 delay10=0 blocked=no 2025-12-01 00:26:32.141479 +0000 ROUTER_CORE (info) [C6][L23] Link detached: del=3 presett=0 psdrop=0 acc=3 rej=0 rel=0 mod=0 delay1=0 delay10=0 blocked=no 2025-12-01 00:26:33.734966 +0000 ROUTER_CORE (info) [C6][L13] Link blocked with zero credit for 26 seconds 2025-12-01 00:26:56.439586 +0000 ROUTER_CORE (info) [C6][L21] Link detached: del=10 presett=0 psdrop=0 acc=10 rej=0 rel=0 mod=0 delay1=0 delay10=0 blocked=no *** [INFO] Logs from smart gateways... bridge-29f ==> (/tmp/smartgateway) bridge-29f ==> (amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry) in: 2608(104), amqp_overrun: 0(0), out: 2608(104), sock_overrun: 0(0), link_credit_average: 14979.750000 2025-12-01 00:25:28 [INFO] initialized handler [transport pair: socket0, handler: collectd-metrics] 2025-12-01 00:25:28 [INFO] loaded transport [transport: socket0] 2025-12-01 00:25:28 [INFO] loaded application plugin [application: prometheus] 2025-12-01 00:25:28 [INFO] socket listening on /tmp/smartgateway [plugin: socket] 2025-12-01 00:25:28 [INFO] metric server at : 127.0.0.1:8081 [plugin: Prometheus] 2025-12-01 00:25:29 [INFO] registered collector tracking metrics with 1 label [plugin: Prometheus] 2025-12-01 00:25:29 [INFO] registered expiry process for metrics with interval 0s [plugin: Prometheus] 2025-12-01 00:26:22 [INFO] registered collector tracking metrics with 3 labels [plugin: Prometheus] 2025-12-01 00:26:22 [INFO] registered expiry process for metrics with interval 1s [plugin: Prometheus] 2025-12-01 00:27:07 [WARN] prometheus collector expired [plugin: Prometheus] bridge-34 ==> (/tmp/smartgateway) bridge-34 ==> (amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify) in: 22(1), amqp_overrun: 0(0), out: 22(1), sock_overrun: 0(0), link_credit_average: 14997.000000 2025-12-01 00:25:28 [INFO] initialized handler [transport pair: socket0, handler: events] 2025-12-01 00:25:28 [INFO] loaded transport [transport: socket0] 2025-12-01 00:25:28 [INFO] loaded application plugin [application: elasticsearch] 2025-12-01 00:25:28 [INFO] socket listening on /tmp/smartgateway [plugin: elasticsearch, url: https://elasticsearch-es-http:9200] 2025-12-01 00:25:28 [INFO] storing events and(or) logs to Elasticsearch. [plugin: elasticsearch, url: https://elasticsearch-es-http:9200] bridge-21d ==> (/tmp/smartgateway) bridge-21d ==> (amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample) in: 3(0), amqp_overrun: 0(0), out: 3(0), sock_overrun: 0(0), link_credit_average: -nan 2025-12-01 00:25:28 [INFO] initialized handler [transport pair: socket0, handler: ceilometer-metrics] 2025-12-01 00:25:28 [INFO] loaded transport [transport: socket0] 2025-12-01 00:25:28 [INFO] loaded application plugin [application: prometheus] 2025-12-01 00:25:28 [INFO] socket listening on /tmp/smartgateway [plugin: socket] 2025-12-01 00:25:28 [INFO] metric server at : 127.0.0.1:8081 [plugin: Prometheus] 2025-12-01 00:25:29 [INFO] registered collector tracking metrics with 1 label [plugin: Prometheus] 2025-12-01 00:25:29 [INFO] registered expiry process for metrics with interval 0s [plugin: Prometheus] 2025-12-01 00:26:31 [INFO] registered collector tracking metrics with 9 labels [plugin: Prometheus] 2025-12-01 00:26:31 [INFO] registered expiry process for metrics with interval 100s [plugin: Prometheus] bridge-21d ==> (/tmp/smartgateway) bridge-21d ==> (amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample) in: 7(0), amqp_overrun: 0(0), out: 7(0), sock_overrun: 0(0), link_credit_average: -nan 2025-12-01 00:25:28 [INFO] initialized handler [transport pair: socket0, handler: events] 2025-12-01 00:25:28 [INFO] loaded transport [transport: socket0] 2025-12-01 00:25:28 [INFO] loaded application plugin [application: elasticsearch] 2025-12-01 00:25:28 [INFO] storing events and(or) logs to Elasticsearch. [plugin: elasticsearch, url: https://elasticsearch-es-http:9200] 2025-12-01 00:25:28 [INFO] socket listening on /tmp/smartgateway [plugin: socket] bridge-21d ==> (/tmp/smartgateway) bridge-21d ==> (amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry) in: 6(0), amqp_overrun: 0(0), out: 6(0), sock_overrun: 0(0), link_credit_average: -nan 2025-12-01 00:25:28 [INFO] initialized handler [handler: sensubility-metrics, transport pair: socket0] 2025-12-01 00:25:28 [INFO] loaded transport [transport: socket0] 2025-12-01 00:25:28 [INFO] loaded application plugin [application: prometheus] 2025-12-01 00:25:28 [INFO] metric server at : 127.0.0.1:8081 [plugin: Prometheus] 2025-12-01 00:25:28 [INFO] socket listening on /tmp/smartgateway [plugin: socket] 2025-12-01 00:25:29 [INFO] registered collector tracking metrics with 1 label [plugin: Prometheus] 2025-12-01 00:25:29 [INFO] registered expiry process for metrics with interval 0s [plugin: Prometheus] 2025-12-01 00:26:28 [INFO] registered collector tracking metrics with 2 labels [plugin: Prometheus] 2025-12-01 00:26:28 [INFO] registered expiry process for metrics with interval 10s [plugin: Prometheus] *** [INFO] Logs from smart gateway operator... {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"cmd","msg":"Version","Go Version":"go1.22.5","GOOS":"linux","GOARCH":"amd64","ansible-operator":"v1.36.1","commit":"60db7ce358a45ffb3ec8303944aaeb1a601aa560"} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"cmd","msg":"Environment variable OPERATOR_NAME has been deprecated, use --leader-election-id instead."} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"cmd","msg":"Watching namespaces","namespaces":["service-telemetry"]} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"ansible-controller","msg":"Watching resource","Options.Group":"smartgateway.infra.watch","Options.Version":"v2","Options.Kind":"SmartGateway"} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"apiserver","msg":"Starting to serve metrics listener","Address":"localhost:5050"} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"proxy","msg":"Starting to serve","Address":"127.0.0.1:8888"} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2025-12-01T00:23:39Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8443","secure":false} {"level":"info","ts":"2025-12-01T00:23:39Z","msg":"starting server","name":"health probe","addr":"[::]:6789"} {"level":"info","ts":"2025-12-01T00:23:39Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2025-12-01T00:23:39Z","msg":"Starting Controller","controller":"smartgateway-controller"} {"level":"info","ts":"2025-12-01T00:23:39Z","msg":"Starting workers","controller":"smartgateway-controller","worker count":12} {"level":"info","ts":"2025-12-01T00:24:35Z","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-12-01T00:24:36Z","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":"4063141991675327852","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-12-01T00:24: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":"4063141991675327852","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:24:38Z","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-12-01T00:24:38Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4063141991675327852","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-12-01T00:24:39Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Secret, service-telemetry/smart-gateway-session-secret"} {"level":"info","ts":"2025-12-01T00:24:39Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24:39Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Secret","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-12-01T00:24:39Z","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-12-01T00:24: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":"4063141991675327852","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:24:40Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ServiceAccount, service-telemetry/smart-gateway"} {"level":"info","ts":"2025-12-01T00:24:40Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24:40Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ServiceAccount","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-12-01T00:24:40Z","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-12-01T00:24:40Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4063141991675327852","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-12-01T00:24:41Z","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":"574997432311653186","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-12-01T00:24:41Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"574997432311653186","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:24:41Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:41Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4063141991675327852","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:24:42Z","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-12-01T00:24: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":"574997432311653186","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-12-01T00:24: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":"574997432311653186","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:24:42Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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":"4063141991675327852","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:24:43Z","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-12-01T00:24:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"574997432311653186","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:24:43Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-meter-sg-core-configmap"} {"level":"info","ts":"2025-12-01T00:24:43Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24:43Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=ConfigMap","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-12-01T00:24:43Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-coll-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "sg-core-configmap.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: collectd-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"574997432311653186","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:24:44Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-meter-smartgateway"} {"level":"info","ts":"2025-12-01T00:24:44Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24:44Z","logger":"proxy","msg":"Watching child resource","kind":"apps/v1, Kind=Deployment","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-12-01T00:24:44Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49306",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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":"4063141991675327852","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-12-01T00:24: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":"4063141991675327852","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-12-01T00:24:46Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"196014179862299815","EventData.TaskArgs":""} --------------------------- 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-12-01T00:24: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":"574997432311653186","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 [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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":"196014179862299815","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:24:46Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-coll-meter"} {"level":"info","ts":"2025-12-01T00:24:46Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24:46Z","logger":"proxy","msg":"Watching child resource","kind":"/v1, Kind=Service","enqueue_kind":"smartgateway.infra.watch/v2, Kind=SmartGateway"} {"level":"info","ts":"2025-12-01T00:24:46Z","msg":"Starting EventSource","controller":"smartgateway-controller","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2025-12-01T00:24:47Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4063141991675327852","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 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: 865e4916d58843fe91e7b18bf55f91ed ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/865e4916d58843fe91e7b18bf55f91ed 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/865e4916d58843fe91e7b18bf55f91ed 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548677.0884619-28-184580774464230 `" && echo ansible-tmp-1764548677.0884619-28-184580774464230="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548677.0884619-28-184580774464230 `" ) && 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-20y60d_5nw/tmpmj75759c TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548677.0884619-28-184580774464230/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548677.0884619-28-184580774464230/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548677.0884619-28-184580774464230/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548677.0884619-28-184580774464230/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548677.0884619-28-184580774464230/ > /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-1764548678.493904-43-110273970556473 `" && echo ansible-tmp-1764548678.493904-43-110273970556473="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548678.493904-43-110273970556473 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmp8q5pmtv_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548678.493904-43-110273970556473/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548678.493904-43-110273970556473/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548678.493904-43-110273970556473/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548678.493904-43-110273970556473/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548678.493904-43-110273970556473/ > /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-1764548679.6375217-58-119933472719614 `" && echo ansible-tmp-1764548679.6375217-58-119933472719614="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548679.6375217-58-119933472719614 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmpd10sil56 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548679.6375217-58-119933472719614/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548679.6375217-58-119933472719614/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548679.6375217-58-119933472719614/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548679.6375217-58-119933472719614/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548679.6375217-58-119933472719614/ > /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-12-01T00:24:40Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49260",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  }  } } 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-1764548680.6770334-76-158736304121255 `" && echo ansible-tmp-1764548680.6770334-76-158736304121255="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548680.6770334-76-158736304121255 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmphs5pymlq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548680.6770334-76-158736304121255/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548680.6770334-76-158736304121255/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548680.6770334-76-158736304121255/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548680.6770334-76-158736304121255/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548680.6770334-76-158736304121255/ > /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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548681.712062-110-56340664286670 `" && echo ansible-tmp-1764548681.712062-110-56340664286670="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.712062-110-56340664286670 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmpwk5jx2r2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.712062-110-56340664286670/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.712062-110-56340664286670/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.712062-110-56340664286670/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.712062-110-56340664286670/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.712062-110-56340664286670/ > /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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548682.8191507-139-88855049815028 `" && echo ansible-tmp-1764548682.8191507-139-88855049815028="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.8191507-139-88855049815028 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmpigjbdtu4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.8191507-139-88855049815028/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.8191507-139-88855049815028/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.8191507-139-88855049815028/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.8191507-139-88855049815028/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.8191507-139-88855049815028/ > /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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } 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-1764548683.9418902-139-237121415354344 `" && echo ansible-tmp-1764548683.9418902-139-237121415354344="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.9418902-139-237121415354344 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmpjwssg7pq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.9418902-139-237121415354344/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.9418902-139-237121415354344/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.9418902-139-237121415354344/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.9418902-139-237121415354344/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.9418902-139-237121415354344/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49306",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-coll-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548685.7158337-213-205163698316434 `" && echo ansible-tmp-1764548685.7158337-213-205163698316434="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548685.7158337-213-205163698316434 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-20y60d_5nw/tmp_28sw152 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548685.7158337-213-205163698316434/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548685.7158337-213-205163698316434/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548685.7158337-213-205163698316434/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548685.7158337-213-205163698316434/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548685.7158337-213-205163698316434/ > /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-12-01T00:24:46Z",  "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\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:46Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49329",  "uid": "f8f0c93e-0634-49aa-9f4c-49b22df6440b"  },  "spec": {  "clusterIP": "10.217.5.49",  "clusterIPs": [  "10.217.5.49"  ],  "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-12-01T00:24:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[0].ansibleResult\""} {"level":"info","ts":"2025-12-01T00:24:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[1].message\""} {"level":"info","ts":"2025-12-01T00:24:47Z","logger":"KubeAPIWarningLogger","msg":"unknown field \"status.conditions[2].message\""} {"level":"info","ts":"2025-12-01T00:24:47Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-meter-sg-core-configmap"} {"level":"info","ts":"2025-12-01T00:24:47Z","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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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-12-01T00:24: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":"196014179862299815","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-12-01T00:24: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":"196014179862299815","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:24:48Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-meter-smartgateway"} {"level":"info","ts":"2025-12-01T00:24:48Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49347",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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":"574997432311653186","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-12-01T00:24: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":"574997432311653186","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-12-01T00:24:48Z","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":"944610963159465517","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-12-01T00:24:48Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"944610963159465517","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:24: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-12-01T00:24:49Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"196014179862299815","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-12-01T00:24:49Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-ceil-meter"} {"level":"info","ts":"2025-12-01T00:24:49Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24:49Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"574997432311653186","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 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: 74889d6fb09e4cbcb32c1cb73cf3fe62 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/74889d6fb09e4cbcb32c1cb73cf3fe62 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/74889d6fb09e4cbcb32c1cb73cf3fe62 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548681.3484292-95-236230086304359 `" && echo ansible-tmp-1764548681.3484292-95-236230086304359="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.3484292-95-236230086304359 `" ) && 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-72xoep19fu/tmps1v2tu_6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.3484292-95-236230086304359/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.3484292-95-236230086304359/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.3484292-95-236230086304359/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.3484292-95-236230086304359/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548681.3484292-95-236230086304359/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548682.4970636-126-210367548926921 `" && echo ansible-tmp-1764548682.4970636-126-210367548926921="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.4970636-126-210367548926921 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-72xoep19fu/tmpjbyhq26p TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.4970636-126-210367548926921/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.4970636-126-210367548926921/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.4970636-126-210367548926921/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.4970636-126-210367548926921/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548682.4970636-126-210367548926921/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548683.7172234-158-34182591327767 `" && echo ansible-tmp-1764548683.7172234-158-34182591327767="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.7172234-158-34182591327767 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-72xoep19fu/tmpft_mc64m TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.7172234-158-34182591327767/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.7172234-158-34182591327767/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.7172234-158-34182591327767/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.7172234-158-34182591327767/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548683.7172234-158-34182591327767/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548684.7231426-190-237572943943987 `" && echo ansible-tmp-1764548684.7231426-190-237572943943987="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548684.7231426-190-237572943943987 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-72xoep19fu/tmpmzj3yhti TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548684.7231426-190-237572943943987/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548684.7231426-190-237572943943987/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548684.7231426-190-237572943943987/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548684.7231426-190-237572943943987/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548684.7231426-190-237572943943987/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548686.323502-232-264684694527322 `" && echo ansible-tmp-1764548686.323502-232-264684694527322="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.323502-232-264684694527322 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-72xoep19fu/tmpogrz3rd1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.323502-232-264684694527322/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.323502-232-264684694527322/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.323502-232-264684694527322/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.323502-232-264684694527322/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.323502-232-264684694527322/ > /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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } 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-1764548687.4473407-232-57250266278086 `" && echo ansible-tmp-1764548687.4473407-232-57250266278086="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.4473407-232-57250266278086 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-72xoep19fu/tmphcof7oyn TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.4473407-232-57250266278086/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.4473407-232-57250266278086/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.4473407-232-57250266278086/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.4473407-232-57250266278086/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.4473407-232-57250266278086/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49347",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-ceil-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548688.6213706-299-131288390703354 `" && echo ansible-tmp-1764548688.6213706-299-131288390703354="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.6213706-299-131288390703354 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-72xoep19fu/tmpryx83la5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.6213706-299-131288390703354/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.6213706-299-131288390703354/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.6213706-299-131288390703354/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.6213706-299-131288390703354/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.6213706-299-131288390703354/ > /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-12-01T00:24:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:49Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49372",  "uid": "79c3bfdb-752f-4031-be0d-80c7fd16a1f7"  },  "spec": {  "clusterIP": "10.217.4.53",  "clusterIPs": [  "10.217.4.53"  ],  "internalTrafficPolicy": "Cluster",  "ipFamilies": [  "IPv4"  ],  "ipFamilyPolicy": "SingleStack",  "ports": [  {  "name": "prom-https",  "port": 8083,  "protocol": "TCP",  "targetPort": 8083  }  ],  "selector": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "sessionAffinity": "None",  "type": "ClusterIP"  },  "status": {  "loadBalancer": {}  }  } } PLAY RECAP ********************************************************************* localhost : ok=13  changed=2  unreachable=0 failed=0 skipped=1  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-12-01T00:24:50Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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":"944610963159465517","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-12-01T00:24: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":"944610963159465517","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-12-01T00:24: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":"196014179862299815","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:24:51Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:51Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"7731823728447152810","EventData.TaskArgs":""} --------------------------- 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-12-01T00:24:51Z","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":"196014179862299815","EventData.Name":"smartgateway : Deploy 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-12-01T00:24:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7731823728447152810","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-12-01T00:24:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"944610963159465517","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:24:52Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7731823728447152810","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-12-01T00:24:53Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-sens-meter-sg-core-configmap"} {"level":"info","ts":"2025-12-01T00:24:53Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7731823728447152810","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-12-01T00:24:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"944610963159465517","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- 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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:54Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-sens-meter-smartgateway"} {"level":"info","ts":"2025-12-01T00:24:54Z","logger":"proxy","msg":"Injecting owner reference"} {"level":"info","ts":"2025-12-01T00:24: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 [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-12-01T00:24: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":"944610963159465517","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49417",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24: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":"196014179862299815","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-12-01T00:24: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":"196014179862299815","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:55Z","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":"3132740830878553158","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-12-01T00:24:55Z","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":"3132740830878553158","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-12-01T00:24: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":"7731823728447152810","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:24:56Z","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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:56Z","logger":"proxy","msg":"Cache miss: /v1, Kind=Service, service-telemetry/default-cloud1-sens-meter"} {"level":"info","ts":"2025-12-01T00:24:56Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7731823728447152810","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:24:58Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} ----- Ansible Task 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 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: b362174bd8f1443e9e695df3f35bb949 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/b362174bd8f1443e9e695df3f35bb949 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/b362174bd8f1443e9e695df3f35bb949 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{"level":"info","ts":"2025-12-01T00:24:58Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"196014179862299815","name":"default-cloud1-sens-meter","namespace":"service-telemetry"} ] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 65535",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548686.310806-234-270663231392213 `" && echo ansible-tmp-1764548686.310806-234-270663231392213="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.310806-234-270663231392213 `" ) && 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-186jfb_w34s/tmpfxkf1iv2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.310806-234-270663231392213/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.310806-234-270663231392213/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.310806-234-270663231392213/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.310806-234-270663231392213/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548686.310806-234-270663231392213/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548687.7572517-281-108972948628845 `" && echo ansible-tmp-1764548687.7572517-281-108972948628845="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.7572517-281-108972948628845 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-186jfb_w34s/tmpeqtfprdz TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.7572517-281-108972948628845/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.7572517-281-108972948628845/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.7572517-281-108972948628845/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.7572517-281-108972948628845/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548687.7572517-281-108972948628845/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548689.178652-331-252226167480856 `" && echo ansible-tmp-1764548689.178652-331-252226167480856="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548689.178652-331-252226167480856 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-186jfb_w34s/tmpgvu_23i1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548689.178652-331-252226167480856/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548689.178652-331-252226167480856/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548689.178652-331-252226167480856/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548689.178652-331-252226167480856/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548689.178652-331-252226167480856/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548690.324496-354-261116065025577 `" && echo ansible-tmp-1764548690.324496-354-261116065025577="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.324496-354-261116065025577 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-186jfb_w34s/tmph8cznzh8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.324496-354-261116065025577/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.324496-354-261116065025577/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.324496-354-261116065025577/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.324496-354-261116065025577/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.324496-354-261116065025577/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548691.7942843-388-125850108854341 `" && echo ansible-tmp-1764548691.7942843-388-125850108854341="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7942843-388-125850108854341 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-186jfb_w34s/tmp4_noooso TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7942843-388-125850108854341/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7942843-388-125850108854341/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7942843-388-125850108854341/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7942843-388-125850108854341/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7942843-388-125850108854341/ > /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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } 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-1764548693.778048-388-84929955620282 `" && echo ansible-tmp-1764548693.778048-388-84929955620282="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.778048-388-84929955620282 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-186jfb_w34s/tmpudn8wg8v TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.778048-388-84929955620282/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.778048-388-84929955620282/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.778048-388-84929955620282/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.778048-388-84929955620282/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.778048-388-84929955620282/ > /dev/null 2>&1 && sleep 0' changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49417",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  },  "warnings": [  "spec.template.spec.containers[2].ports[0]: duplicate port definition with spec.template.spec.containers[0].ports[0]"  ] } with spec.template.spec.containers[0].ports[0] TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s included: /opt/ansible/roles/smartgateway/tasks/base_service.yml for localhost => (item={'name': 'default-cloud1-sens-meter', 'ports': [{'name': 'prom-https', 'port': 8083, 'protocol': 'TCP', 'target_port': 8083}]}) TASK [smartgateway : Deploy Service for Smart Gateway] ************************* task path: /opt/ansible/roles/smartgateway/tasks/base_service.yml:1 File lookup using /opt/ansible/roles/smartgateway/templates/service.yaml.j2 as file redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548695.5299273-499-36512158631039 `" && echo ansible-tmp-1764548695.5299273-499-36512158631039="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.5299273-499-36512158631039 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-186jfb_w34s/tmpjdji5bgx TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.5299273-499-36512158631039/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.5299273-499-36512158631039/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.5299273-499-36512158631039/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.5299273-499-36512158631039/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.5299273-499-36512158631039/ > /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-12-01T00:24:56Z",  "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\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:56Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49440",  "uid": "2c6555be-58aa-4b6e-9fa7-e550dfd2ff65"  },  "spec": {  "clusterIP": "10.217.4.210",  "clusterIPs": [  "10.217.4.210"  ],  "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 [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-12-01T00:24:58Z","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":"1423526529876820211","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:24:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3132740830878553158","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-12-01T00:24:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3132740830878553158","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 : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:24:58Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1423526529876820211","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:24: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 [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-12-01T00:24: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":"7731823728447152810","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:00Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-12-01T00:25:00Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [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-12-01T00:25:00Z","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":"8030188013605216677","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:25:00Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1423526529876820211","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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:24:44Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49319",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:24:44Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:24:44Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"8030188013605216677","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:00Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1423526529876820211","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} --------------------------- 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-12-01T00:25: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":"944610963159465517","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- --------------------------- 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-12-01T00:25:01Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3132740830878553158","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25: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":"944610963159465517","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:01Z","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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:02Z","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-12-01T00:25:02Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:03Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1423526529876820211","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-12-01T00:25:03Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3132740830878553158","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:25:03Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"944610963159465517","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: 086d58ebbeeb46729b71ecd528fbb26b ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/086d58ebbeeb46729b71ecd528fbb26b 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/086d58ebbeeb46729b71ecd528fbb26b 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548688.8394601-316-207444554497926 `" && echo ansible-tmp-1764548688.8394601-316-207444554497926="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.8394601-316-207444554497926 `" ) && 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-264fd2v7_bm/tmpgaqig_ko TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.8394601-316-207444554497926/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.8394601-316-207444554497926/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.8394601-316-207444554497926/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.8394601-316-207444554497926/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548688.8394601-316-207444554497926/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548690.3090577-353-6720764370598 `" && echo ansible-tmp-1764548690.3090577-353-6720764370598="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.3090577-353-6720764370598 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-264fd2v7_bm/tmpbaaczg3l TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.3090577-353-6720764370598/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.3090577-353-6720764370598/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.3090577-353-6720764370598/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.3090577-353-6720764370598/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548690.3090577-353-6720764370598/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548691.8260062-394-65767483546437 `" && echo ansible-tmp-1764548691.8260062-394-65767483546437="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.8260062-394-65767483546437 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-264fd2v7_bm/tmpxnki0le3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.8260062-394-65767483546437/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.8260062-394-65767483546437/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.8260062-394-65767483546437/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.8260062-394-65767483546437/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.8260062-394-65767483546437/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548693.4510083-444-195157686027611 `" && echo ansible-tmp-1764548693.4510083-444-195157686027611="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.4510083-444-195157686027611 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-264fd2v7_bm/tmpjtx04gn3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.4510083-444-195157686027611/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.4510083-444-195157686027611/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.4510083-444-195157686027611/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.4510083-444-195157686027611/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.4510083-444-195157686027611/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548695.2999344-483-227265941050629 `" && echo ansible-tmp-1764548695.2999344-483-227265941050629="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.2999344-483-227265941050629 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-264fd2v7_bm/tmp_wrqeai4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.2999344-483-227265941050629/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.2999344-483-227265941050629/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.2999344-483-227265941050629/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.2999344-483-227265941050629/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548695.2999344-483-227265941050629/ > /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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } 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-1764548696.6495843-483-123109927730738 `" && echo ansible-tmp-1764548696.6495843-483-123109927730738="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.6495843-483-123109927730738 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-264fd2v7_bm/tmpy_106mhl TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.6495843-483-123109927730738/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.6495843-483-123109927730738/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.6495843-483-123109927730738/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.6495843-483-123109927730738/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.6495843-483-123109927730738/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:24:44Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49319",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:24:44Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:24:44Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" 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-1764548701.0485709-649-115389741487515 `" && echo ansible-tmp-1764548701.0485709-649-115389741487515="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0485709-649-115389741487515 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-264fd2v7_bm/tmp2drz3_cw TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0485709-649-115389741487515/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0485709-649-115389741487515/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0485709-649-115389741487515/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0485709-649-115389741487515/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0485709-649-115389741487515/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:46Z",  "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\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:46Z"  },  {  "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-12-01T00:24:46Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49339",  "uid": "f8f0c93e-0634-49aa-9f4c-49b22df6440b"  },  "spec": {  "clusterIP": "10.217.5.49",  "clusterIPs": [  "10.217.5.49"  ],  "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-12-01T00:25:03Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-meter-smartgateway","Parts":["deployments","default-cloud1-ceil-meter-smartgateway"]}} {"level":"info","ts":"2025-12-01T00:25:04Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:24:48Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49360",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:24:48Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:24:48Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" 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-12-01T00:25: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":"7731823728447152810","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-12-01T00:25: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":"7731823728447152810","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-12-01T00:25:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8030188013605216677","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-12-01T00:25:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8030188013605216677","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-12-01T00:25:04Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1423526529876820211","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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25:05Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3132740830878553158","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:05Z","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-12-01T00:25: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"]}} {"level":"info","ts":"2025-12-01T00:25:06Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7731823728447152810","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 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: 5e209f02eae04bac88f63f9dd9b9093f ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/5e209f02eae04bac88f63f9dd9b9093f 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/5e209f02eae04bac88f63f9dd9b9093f 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548691.7502735-392-95112202545478 `" && echo ansible-tmp-1764548691.7502735-392-95112202545478="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7502735-392-95112202545478 `" ) && 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-352em_ncuyi/tmp93z9gdbx TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7502735-392-95112202545478/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7502735-392-95112202545478/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7502735-392-95112202545478/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7502735-392-95112202545478/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548691.7502735-392-95112202545478/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548693.2999332-433-49806534068063 `" && echo ansible-tmp-1764548693.2999332-433-49806534068063="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.2999332-433-49806534068063 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-352em_ncuyi/tmpblrugu2_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.2999332-433-49806534068063/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.2999332-433-49806534068063/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.2999332-433-49806534068063/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.2999332-433-49806534068063/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548693.2999332-433-49806534068063/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548696.1092386-529-54252865912736 `" && echo ansible-tmp-1764548696.1092386-529-54252865912736="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.1092386-529-54252865912736 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-352em_ncuyi/tmplppyh2rl TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.1092386-529-54252865912736/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.1092386-529-54252865912736/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.1092386-529-54252865912736/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.1092386-529-54252865912736/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.1092386-529-54252865912736/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548697.4572399-567-123959733948117 `" && echo ansible-tmp-1764548697.4572399-567-123959733948117="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548697.4572399-567-123959733948117 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-352em_ncuyi/tmp8lroxy3i TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548697.4572399-567-123959733948117/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548697.4572399-567-123959733948117/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548697.4572399-567-123959733948117/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548697.4572399-567-123959733948117/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548697.4572399-567-123959733948117/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548699.9394317-623-11691009191274 `" && echo ansible-tmp-1764548699.9394317-623-11691009191274="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548699.9394317-623-11691009191274 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-352em_ncuyi/tmpdosb36_o TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548699.9394317-623-11691009191274/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548699.9394317-623-11691009191274/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548699.9394317-623-11691009191274/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548699.9394317-623-11691009191274/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548699.9394317-623-11691009191274/ > /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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } 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-1764548702.539542-623-155166360826417 `" && echo ansible-tmp-1764548702.539542-623-155166360826417="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548702.539542-623-155166360826417 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-352em_ncuyi/tmp5_8w6m1d TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548702.539542-623-155166360826417/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548702.539542-623-155166360826417/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548702.539542-623-155166360826417/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548702.539542-623-155166360826417/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548702.539542-623-155166360826417/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:24:48Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49360",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:24:48Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:24:48Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" 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-1764548704.5835552-747-191972384840940 `" && echo ansible-tmp-1764548704.5835552-747-191972384840940="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.5835552-747-191972384840940 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-352em_ncuyi/tmpk0f94n2e TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.5835552-747-191972384840940/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.5835552-747-191972384840940/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.5835552-747-191972384840940/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.5835552-747-191972384840940/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.5835552-747-191972384840940/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:49Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2025-12-01T00:24:49Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49376",  "uid": "79c3bfdb-752f-4031-be0d-80c7fd16a1f7"  },  "spec": {  "clusterIP": "10.217.4.53",  "clusterIPs": [  "10.217.4.53"  ],  "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 [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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25:07Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1423526529876820211","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25: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":"8030188013605216677","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-12-01T00:25:07Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-coll-event-sg-core-configmap"} {"level":"info","ts":"2025-12-01T00:25:07Z","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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:08Z","logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, service-telemetry/default-cloud1-ceil-event-sg-core-configmap"} {"level":"info","ts":"2025-12-01T00:25:08Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"8030188013605216677","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- 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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:09Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-coll-event-smartgateway"} {"level":"info","ts":"2025-12-01T00:25:09Z","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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49550",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"3132740830878553158","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:10Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3132740830878553158","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: 47239cea6d0e48b5a91563a09d1a01f9 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/47239cea6d0e48b5a91563a09d1a01f9 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/47239cea6d0e48b5a91563a09d1a01f9 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548696.004577-518-136481480900255 `" && echo ansible-tmp-1764548696.004577-518-136481480900255="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.004577-518-136481480900255 `" ) && 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-476tpwtlwo6/tmptgx8524t TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.004577-518-136481480900255/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.004577-518-136481480900255/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.004577-518-136481480900255/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.004577-518-136481480900255/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548696.004577-518-136481480900255/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548698.535746-588-63842987002313 `" && echo ansible-tmp-1764548698.535746-588-63842987002313="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.535746-588-63842987002313 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-476tpwtlwo6/tmpt05q1j9m TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.535746-588-63842987002313/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.535746-588-63842987002313/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.535746-588-63842987002313/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.535746-588-63842987002313/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.535746-588-63842987002313/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548701.1289973-651-4227266227460 `" && echo ansible-tmp-1764548701.1289973-651-4227266227460="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.1289973-651-4227266227460 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-476tpwtlwo6/tmp2y5cz925 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.1289973-651-4227266227460/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.1289973-651-4227266227460/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.1289973-651-4227266227460/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.1289973-651-4227266227460/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.1289973-651-4227266227460/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548703.3206832-719-81163039588533 `" && echo ansible-tmp-1764548703.3206832-719-81163039588533="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3206832-719-81163039588533 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-476tpwtlwo6/tmp99gklqur TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3206832-719-81163039588533/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3206832-719-81163039588533/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3206832-719-81163039588533/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3206832-719-81163039588533/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3206832-719-81163039588533/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548705.6082537-794-81181410022784 `" && echo ansible-tmp-1764548705.6082537-794-81181410022784="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548705.6082537-794-81181410022784 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-476tpwtlwo6/tmp2c1g0er0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548705.6082537-794-81181410022784/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548705.6082537-794-81181410022784/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548705.6082537-794-81181410022784/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548705.6082537-794-81181410022784/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548705.6082537-794-81181410022784/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } 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-1764548707.9403791-794-194927879823299 `" && echo ansible-tmp-1764548707.9403791-794-194927879823299="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.9403791-794-194927879823299 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-476tpwtlwo6/tmp5af7xifw TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.9403791-794-194927879823299/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.9403791-794-194927879823299/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.9403791-794-194927879823299/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.9403791-794-194927879823299/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.9403791-794-194927879823299/ > /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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49550",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-12-01T00:25:10Z","logger":"proxy","msg":"Cache miss: apps/v1, Kind=Deployment, service-telemetry/default-cloud1-ceil-event-smartgateway"} {"level":"info","ts":"2025-12-01T00:25:10Z","logger":"proxy","msg":"Injecting owner reference"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"8030188013605216677","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** changed: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": true,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49570",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"1423526529876820211","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=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: d8056b5fba8d49349cdd9bc59e70cb6a ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/d8056b5fba8d49349cdd9bc59e70cb6a 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/d8056b5fba8d49349cdd9bc59e70cb6a 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-12-01T00:25:11Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1423526529876820211","name":"default-cloud1-ceil-event","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/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548698.543041-589-100893662934042 `" && echo ansible-tmp-1764548698.543041-589-100893662934042="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.543041-589-100893662934042 `" ) && 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-517e4ub7ejs/tmpa3yb9gi5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.543041-589-100893662934042/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.543041-589-100893662934042/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.543041-589-100893662934042/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.543041-589-100893662934042/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548698.543041-589-100893662934042/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548701.0239465-646-255511634613153 `" && echo ansible-tmp-1764548701.0239465-646-255511634613153="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0239465-646-255511634613153 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-517e4ub7ejs/tmpobpuvhqx TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0239465-646-255511634613153/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0239465-646-255511634613153/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0239465-646-255511634613153/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0239465-646-255511634613153/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548701.0239465-646-255511634613153/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548703.3455136-718-127229958835921 `" && echo ansible-tmp-1764548703.3455136-718-127229958835921="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3455136-718-127229958835921 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-517e4ub7ejs/tmpzua4lqk5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3455136-718-127229958835921/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3455136-718-127229958835921/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3455136-718-127229958835921/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3455136-718-127229958835921/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548703.3455136-718-127229958835921/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548704.8379607-774-111863514383399 `" && echo ansible-tmp-1764548704.8379607-774-111863514383399="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.8379607-774-111863514383399 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-517e4ub7ejs/tmprheog8cq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.8379607-774-111863514383399/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.8379607-774-111863514383399/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.8379607-774-111863514383399/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.8379607-774-111863514383399/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.8379607-774-111863514383399/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548707.159916-814-91207433303606 `" && echo ansible-tmp-1764548707.159916-814-91207433303606="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.159916-814-91207433303606 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-517e4ub7ejs/tmppgxjk55e TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.159916-814-91207433303606/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.159916-814-91207433303606/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.159916-814-91207433303606/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.159916-814-91207433303606/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.159916-814-91207433303606/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } 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-1764548709.3533688-814-102504069740597 `" && echo ansible-tmp-1764548709.3533688-814-102504069740597="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.3533688-814-102504069740597 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-517e4ub7ejs/tmp4mn36fuh TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.3533688-814-102504069740597/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.3533688-814-102504069740597/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.3533688-814-102504069740597/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.3533688-814-102504069740597/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.3533688-814-102504069740597/ > /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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "create",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49570",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {}  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=1  unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-12-01T00:25:11Z","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 [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-12-01T00:25:11Z","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":"2142208776984212535","EventData.TaskArgs":""} --------------------------- 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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"2142208776984212535","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-12-01T00:25:12Z","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":"8417170806369610313","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:25:13Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:13Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8417170806369610313","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:25:13Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:24:55Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49431",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:55Z",  "lastUpdateTime": "2025-12-01T00:24:55Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:24:55Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" 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-12-01T00:25: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":"8030188013605216677","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-12-01T00:25: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":"8030188013605216677","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-12-01T00:25:13Z","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":"2142208776984212535","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-12-01T00:25:13Z","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":"2142208776984212535","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:14Z","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-12-01T00:25:14Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-12-01T00:25:14Z","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":"8417170806369610313","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-12-01T00:25:14Z","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":"8417170806369610313","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25: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-12-01T00:25:15Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8030188013605216677","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 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: d80eb66459f442409a3f2d06b6c946e8 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/d80eb66459f442409a3f2d06b6c946e8 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/d80eb66459f442409a3f2d06b6c946e8 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548700.9988565-644-85139483908985 `" && echo ansible-tmp-1764548700.9988565-644-85139483908985="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548700.9988565-644-85139483908985 `" ) && 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-606uq77j82n/tmp1i3bi0jv TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548700.9988565-644-85139483908985/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548700.9988565-644-85139483908985/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548700.9988565-644-85139483908985/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548700.9988565-644-85139483908985/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548700.9988565-644-85139483908985/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548704.7430716-763-1377272235557 `" && echo ansible-tmp-1764548704.7430716-763-1377272235557="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.7430716-763-1377272235557 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-606uq77j82n/tmp3axiw_n0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.7430716-763-1377272235557/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.7430716-763-1377272235557/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.7430716-763-1377272235557/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.7430716-763-1377272235557/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548704.7430716-763-1377272235557/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548707.2564635-815-126636431644009 `" && echo ansible-tmp-1764548707.2564635-815-126636431644009="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.2564635-815-126636431644009 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-606uq77j82n/tmpcd_0oh1b TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.2564635-815-126636431644009/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.2564635-815-126636431644009/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.2564635-815-126636431644009/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.2564635-815-126636431644009/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548707.2564635-815-126636431644009/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548709.0594592-856-110044882063207 `" && echo ansible-tmp-1764548709.0594592-856-110044882063207="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.0594592-856-110044882063207 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-606uq77j82n/tmpfmaofihx TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.0594592-856-110044882063207/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.0594592-856-110044882063207/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.0594592-856-110044882063207/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.0594592-856-110044882063207/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548709.0594592-856-110044882063207/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548710.6368241-890-240458083869242 `" && echo ansible-tmp-1764548710.6368241-890-240458083869242="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548710.6368241-890-240458083869242 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-606uq77j82n/tmp7kxhabwl TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548710.6368241-890-240458083869242/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548710.6368241-890-240458083869242/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548710.6368241-890-240458083869242/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548710.6368241-890-240458083869242/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548710.6368241-890-240458083869242/ > /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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } 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-1764548712.0769193-890-269007057588017 `" && echo ansible-tmp-1764548712.0769193-890-269007057588017="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.0769193-890-269007057588017 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-606uq77j82n/tmp9bnyzebb TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.0769193-890-269007057588017/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.0769193-890-269007057588017/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.0769193-890-269007057588017/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.0769193-890-269007057588017/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.0769193-890-269007057588017/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:24:55Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49431",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:55Z",  "lastUpdateTime": "2025-12-01T00:24:55Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:24:55Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" 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-1764548713.4586573-962-192096078225216 `" && echo ansible-tmp-1764548713.4586573-962-192096078225216="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.4586573-962-192096078225216 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-606uq77j82n/tmp6rgs1193 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.4586573-962-192096078225216/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.4586573-962-192096078225216/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.4586573-962-192096078225216/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.4586573-962-192096078225216/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.4586573-962-192096078225216/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:56Z",  "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\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:56Z"  },  {  "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-12-01T00:24:57Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49450",  "uid": "2c6555be-58aa-4b6e-9fa7-e550dfd2ff65"  },  "spec": {  "clusterIP": "10.217.4.210",  "clusterIPs": [  "10.217.4.210"  ],  "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-12-01T00:25: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":"2142208776984212535","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25:16Z","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-12-01T00:25:16Z","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":"8417170806369610313","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-12-01T00:25:16Z","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":"2142208776984212535","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-12-01T00:25: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":"8417170806369610313","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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25: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":"2142208776984212535","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:19Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-event-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25: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":"8417170806369610313","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:20Z","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-12-01T00:25:20Z","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': '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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:09Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49563",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:09Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:09Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" 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-12-01T00:25:20Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2142208776984212535","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } ------------------------------------------------------------------------------- ----- 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 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: 30571cb997e441a1ae04a6213e8586a6 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/30571cb997e441a1ae04a6213e8586a6 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/30571cb997e441a1ae04a6213e8586a6 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", {"level":"info","ts":"2025-12-01T00:25:21Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2142208776984212535","name":"default-cloud1-coll-event","namespace":"service-telemetry"}  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548712.1919188-931-157236533021834 `" && echo ansible-tmp-1764548712.1919188-931-157236533021834="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.1919188-931-157236533021834 `" ) && 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-8918twwdkrr/tmpzi9wokbq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.1919188-931-157236533021834/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.1919188-931-157236533021834/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.1919188-931-157236533021834/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.1919188-931-157236533021834/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548712.1919188-931-157236533021834/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548713.6123104-981-49597025102850 `" && echo ansible-tmp-1764548713.6123104-981-49597025102850="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.6123104-981-49597025102850 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-8918twwdkrr/tmpy3eapw29 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.6123104-981-49597025102850/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.6123104-981-49597025102850/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.6123104-981-49597025102850/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.6123104-981-49597025102850/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.6123104-981-49597025102850/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548715.5739121-1015-73530885924915 `" && echo ansible-tmp-1764548715.5739121-1015-73530885924915="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548715.5739121-1015-73530885924915 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-8918twwdkrr/tmp5ids0c5p TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548715.5739121-1015-73530885924915/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548715.5739121-1015-73530885924915/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548715.5739121-1015-73530885924915/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548715.5739121-1015-73530885924915/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548715.5739121-1015-73530885924915/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548716.7580311-1045-114010734772302 `" && echo ansible-tmp-1764548716.7580311-1045-114010734772302="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.7580311-1045-114010734772302 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-8918twwdkrr/tmphxd3ry1i TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.7580311-1045-114010734772302/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.7580311-1045-114010734772302/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.7580311-1045-114010734772302/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.7580311-1045-114010734772302/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.7580311-1045-114010734772302/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548718.2955875-1072-215614519986489 `" && echo ansible-tmp-1764548718.2955875-1072-215614519986489="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.2955875-1072-215614519986489 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-8918twwdkrr/tmpdkaxrxj1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.2955875-1072-215614519986489/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.2955875-1072-215614519986489/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.2955875-1072-215614519986489/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.2955875-1072-215614519986489/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.2955875-1072-215614519986489/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } 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-1764548719.7291644-1072-105263408677645 `" && echo ansible-tmp-1764548719.7291644-1072-105263408677645="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.7291644-1072-105263408677645 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-8918twwdkrr/tmp12fnto41 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.7291644-1072-105263408677645/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.7291644-1072-105263408677645/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.7291644-1072-105263408677645/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.7291644-1072-105263408677645/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.7291644-1072-105263408677645/ > /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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:09Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49563",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:09Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:09Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- {"level":"info","ts":"2025-12-01T00:25:21Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:10Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49581",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:10Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:10Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" 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-12-01T00:25: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":"8417170806369610313","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} ----- Ansible Task Status Event StdOut (smartgateway.infra.watch/v2, Kind=SmartGateway, default-cloud1-ceil-event/service-telemetry) ----- PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- ----- 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: f6989d847752427ea37baf228a3afd64 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/f6989d847752427ea37baf228a3afd64 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/f6989d847752427ea37baf228a3afd64 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-12-01T00:25:22Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8417170806369610313","name":"default-cloud1-ceil-event","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/anycast/ceilometer/cloud1-event.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548713.15183-950-254868394768245 `" && echo ansible-tmp-1764548713.15183-950-254868394768245="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.15183-950-254868394768245 `" ) && 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-911qakwq98z/tmp1ugkvhz0 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.15183-950-254868394768245/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.15183-950-254868394768245/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.15183-950-254868394768245/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.15183-950-254868394768245/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548713.15183-950-254868394768245/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548714.858417-1000-60967688628000 `" && echo ansible-tmp-1764548714.858417-1000-60967688628000="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548714.858417-1000-60967688628000 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-911qakwq98z/tmpg_lqc30y TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548714.858417-1000-60967688628000/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548714.858417-1000-60967688628000/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548714.858417-1000-60967688628000/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548714.858417-1000-60967688628000/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548714.858417-1000-60967688628000/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548716.563253-1030-155807485673452 `" && echo ansible-tmp-1764548716.563253-1030-155807485673452="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.563253-1030-155807485673452 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-911qakwq98z/tmpqm_fb6rd TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.563253-1030-155807485673452/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.563253-1030-155807485673452/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.563253-1030-155807485673452/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.563253-1030-155807485673452/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548716.563253-1030-155807485673452/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548718.1575918-1063-46894385922501 `" && echo ansible-tmp-1764548718.1575918-1063-46894385922501="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.1575918-1063-46894385922501 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-911qakwq98z/tmpjkz5ysb2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.1575918-1063-46894385922501/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.1575918-1063-46894385922501/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.1575918-1063-46894385922501/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.1575918-1063-46894385922501/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548718.1575918-1063-46894385922501/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548719.939728-1106-45913238807073 `" && echo ansible-tmp-1764548719.939728-1106-45913238807073="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.939728-1106-45913238807073 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-911qakwq98z/tmpw5bthfud TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.939728-1106-45913238807073/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.939728-1106-45913238807073/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.939728-1106-45913238807073/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.939728-1106-45913238807073/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548719.939728-1106-45913238807073/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } 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-1764548720.9109638-1106-67078996090475 `" && echo ansible-tmp-1764548720.9109638-1106-67078996090475="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548720.9109638-1106-67078996090475 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-911qakwq98z/tmpa289euq3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548720.9109638-1106-67078996090475/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548720.9109638-1106-67078996090475/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548720.9109638-1106-67078996090475/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548720.9109638-1106-67078996090475/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548720.9109638-1106-67078996090475/ > /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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:10Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49581",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:10Z",  "message": "Deployment does not have minimum availability.",  "reason": "MinimumReplicasUnavailable",  "status": "False",  "type": "Available"  },  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:10Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" is progressing.",  "reason": "ReplicaSetUpdated",  "status": "True",  "type": "Progressing"  }  ],  "observedGeneration": 1,  "replicas": 1,  "unavailableReplicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- --------------------------- 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-12-01T00:25:30Z","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":"2544814301704450831","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-12-01T00:25:30Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2544814301704450831","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:32Z","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":"8033744334880553980","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-12-01T00:25:32Z","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":"2713928887743634364","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-12-01T00:25:32Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8033744334880553980","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:25:32Z","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 : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"2713928887743634364","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-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-12-01T00:25:32Z","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":"4246640330951410318","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-12-01T00:25:32Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"3721547018310844743","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:32Z","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":"2544814301704450831","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:32Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"4246640330951410318","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-12-01T00:25: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":"3721547018310844743","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:32Z","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":"2544814301704450831","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:33Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"8033744334880553980","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-12-01T00:25: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":"8033744334880553980","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:33Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-12-01T00:25:33Z","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-12-01T00:25:33Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:33Z","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":"2713928887743634364","EventData.Name":"smartgateway : Create cookie secret"} {"level":"info","ts":"2025-12-01T00:25:33Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"2544814301704450831","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-12-01T00:25:33Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3721547018310844743","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-12-01T00:25:33Z","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":"2713928887743634364","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-12-01T00:25:33Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3721547018310844743","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25: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":"4246640330951410318","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-12-01T00:25: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":"4246640330951410318","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-12-01T00:25:34Z","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-12-01T00:25:34Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"8033744334880553980","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25:34Z","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-12-01T00:25: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":"2544814301704450831","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:25:34Z","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-12-01T00:25: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-12-01T00:25:35Z","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":"2713928887743634364","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-12-01T00:25: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":"3721547018310844743","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-12-01T00:25: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":"4246640330951410318","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-12-01T00:25: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":"8033744334880553980","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-12-01T00:25: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":"2713928887743634364","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-12-01T00:25: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":"4246640330951410318","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-12-01T00:25: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":"3721547018310844743","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"2544814301704450831","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25: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":"8033744334880553980","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:37Z","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 [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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25:37Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2713928887743634364","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 [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-12-01T00:25: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":"4246640330951410318","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-12-01T00:25:37Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3721547018310844743","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: 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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:37Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-event-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:38Z","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-12-01T00:25:38Z","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-12-01T00:25:38Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} {"level":"info","ts":"2025-12-01T00:25: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: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:25:30Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49830",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:25:29Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:30Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "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-12-01T00:25: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":"2544814301704450831","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-12-01T00:25: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":"2544814301704450831","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:38Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49866",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-12-01T00:25: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":"8033744334880553980","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:39Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} {"level":"info","ts":"2025-12-01T00:25:39Z","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-12-01T00:25: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"]}} {"level":"info","ts":"2025-12-01T00:25:39Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"8033744334880553980","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: f34c8520f20d4802b11eb9195893ea9d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/f34c8520f20d4802b11eb9195893ea9d 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/f34c8520f20d4802b11eb9195893ea9d 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548732.1355724-1190-15082377658245 `" && echo ansible-tmp-1764548732.1355724-1190-15082377658245="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.1355724-1190-15082377658245 `" ) && 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-11499r1ms5z4/tmpo5zf8psl TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.1355724-1190-15082377658245/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.1355724-1190-15082377658245/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.1355724-1190-15082377658245/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.1355724-1190-15082377658245/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.1355724-1190-15082377658245/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548733.242956-1271-212356245384259 `" && echo ansible-tmp-1764548733.242956-1271-212356245384259="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.242956-1271-212356245384259 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11499r1ms5z4/tmpywrtvpgn TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.242956-1271-212356245384259/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.242956-1271-212356245384259/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.242956-1271-212356245384259/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.242956-1271-212356245384259/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.242956-1271-212356245384259/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548734.5104175-1349-102174571993275 `" && echo ansible-tmp-1764548734.5104175-1349-102174571993275="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.5104175-1349-102174571993275 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11499r1ms5z4/tmpqyxj2eps TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.5104175-1349-102174571993275/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.5104175-1349-102174571993275/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.5104175-1349-102174571993275/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.5104175-1349-102174571993275/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.5104175-1349-102174571993275/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548735.528575-1424-272279003856078 `" && echo ansible-tmp-1764548735.528575-1424-272279003856078="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.528575-1424-272279003856078 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11499r1ms5z4/tmpc8jy0yew TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.528575-1424-272279003856078/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.528575-1424-272279003856078/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.528575-1424-272279003856078/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.528575-1424-272279003856078/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.528575-1424-272279003856078/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548736.6672027-1501-120130789555492 `" && echo ansible-tmp-1764548736.6672027-1501-120130789555492="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.6672027-1501-120130789555492 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11499r1ms5z4/tmpx8mj43t3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.6672027-1501-120130789555492/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.6672027-1501-120130789555492/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.6672027-1501-120130789555492/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.6672027-1501-120130789555492/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.6672027-1501-120130789555492/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } 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-1764548737.7644746-1501-251648829338681 `" && echo ansible-tmp-1764548737.7644746-1501-251648829338681="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.7644746-1501-251648829338681 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-11499r1ms5z4/tmpnnoqrs6b TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.7644746-1501-251648829338681/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.7644746-1501-251648829338681/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.7644746-1501-251648829338681/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.7644746-1501-251648829338681/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.7644746-1501-251648829338681/ > /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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49866",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-12-01T00:25:39Z","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-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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49863",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49876",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-12-01T00:25: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":"2713928887743634364","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 services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"3721547018310844743","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25: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":"3721547018310844743","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 [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49871",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-12-01T00:25: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":"4246640330951410318","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-12-01T00:25: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":"4246640330951410318","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:39Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2713928887743634364","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 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: 85cf2c8873d04139a960fdd1736ec8b0 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/85cf2c8873d04139a960fdd1736ec8b0 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/85cf2c8873d04139a960fdd1736ec8b0 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548732.244917-1203-275219544276177 `" && echo ansible-tmp-1764548732.244917-1203-275219544276177="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.244917-1203-275219544276177 `" ) && 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-1148hd16oc54/tmpkzyeicbb TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.244917-1203-275219544276177/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.244917-1203-275219544276177/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.244917-1203-275219544276177/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.244917-1203-275219544276177/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.244917-1203-275219544276177/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548733.7394419-1292-126904326255055 `" && echo ansible-tmp-1764548733.7394419-1292-126904326255055="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7394419-1292-126904326255055 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1148hd16oc54/tmpuxhvendq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7394419-1292-126904326255055/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7394419-1292-126904326255055/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7394419-1292-126904326255055/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7394419-1292-126904326255055/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7394419-1292-126904326255055/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548735.1928248-1381-154612062109542 `" && echo ansible-tmp-1764548735.1928248-1381-154612062109542="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1928248-1381-154612062109542 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1148hd16oc54/tmp8bnuj1rb TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1928248-1381-154612062109542/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1928248-1381-154612062109542/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1928248-1381-154612062109542/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1928248-1381-154612062109542/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1928248-1381-154612062109542/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548736.1317942-1440-241514412806398 `" && echo ansible-tmp-1764548736.1317942-1440-241514412806398="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1317942-1440-241514412806398 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1148hd16oc54/tmpt30zs42w TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1317942-1440-241514412806398/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1317942-1440-241514412806398/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1317942-1440-241514412806398/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1317942-1440-241514412806398/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1317942-1440-241514412806398/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548737.2786694-1523-153066988046685 `" && echo ansible-tmp-1764548737.2786694-1523-153066988046685="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.2786694-1523-153066988046685 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1148hd16oc54/tmphwpfdp04 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.2786694-1523-153066988046685/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.2786694-1523-153066988046685/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.2786694-1523-153066988046685/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.2786694-1523-153066988046685/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.2786694-1523-153066988046685/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } 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-1764548738.3499212-1523-9720624698848 `" && echo ansible-tmp-1764548738.3499212-1523-9720624698848="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.3499212-1523-9720624698848 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1148hd16oc54/tmp57kog9me TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.3499212-1523-9720624698848/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.3499212-1523-9720624698848/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.3499212-1523-9720624698848/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.3499212-1523-9720624698848/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.3499212-1523-9720624698848/ > /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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49863",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-12-01T00:25:39Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2544814301704450831","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 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: 82090430788d47019861ff5deffce790 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/82090430788d47019861ff5deffce790 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/82090430788d47019861ff5deffce790 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548730.9944065-1157-197119723064467 `" && echo ansible-tmp-1764548730.9944065-1157-197119723064467="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548730.9944065-1157-197119723064467 `" ) && 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-1140xifqx0wj/tmpudrmbxlq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548730.9944065-1157-197119723064467/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548730.9944065-1157-197119723064467/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548730.9944065-1157-197119723064467/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548730.9944065-1157-197119723064467/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548730.9944065-1157-197119723064467/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548732.4916668-1239-180012748679793 `" && echo ansible-tmp-1764548732.4916668-1239-180012748679793="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4916668-1239-180012748679793 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1140xifqx0wj/tmp2f8akp1t TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4916668-1239-180012748679793/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4916668-1239-180012748679793/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4916668-1239-180012748679793/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4916668-1239-180012748679793/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4916668-1239-180012748679793/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548733.7972639-1293-233458704247648 `" && echo ansible-tmp-1764548733.7972639-1293-233458704247648="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7972639-1293-233458704247648 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1140xifqx0wj/tmphuqrv9bt TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7972639-1293-233458704247648/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7972639-1293-233458704247648/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7972639-1293-233458704247648/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7972639-1293-233458704247648/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7972639-1293-233458704247648/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548734.8160365-1364-173910972705837 `" && echo ansible-tmp-1764548734.8160365-1364-173910972705837="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.8160365-1364-173910972705837 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1140xifqx0wj/tmpmnbp5xnf TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.8160365-1364-173910972705837/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.8160365-1364-173910972705837/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.8160365-1364-173910972705837/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.8160365-1364-173910972705837/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548734.8160365-1364-173910972705837/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548736.381367-1483-217155961010954 `" && echo ansible-tmp-1764548736.381367-1483-217155961010954="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.381367-1483-217155961010954 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1140xifqx0wj/tmp5vyg2_ym TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.381367-1483-217155961010954/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.381367-1483-217155961010954/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.381367-1483-217155961010954/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.381367-1483-217155961010954/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.381367-1483-217155961010954/ > /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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } 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-1764548737.3963647-1483-222435227698208 `" && echo ansible-tmp-1764548737.3963647-1483-222435227698208="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3963647-1483-222435227698208 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1140xifqx0wj/tmpnpz4yklp TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3963647-1483-222435227698208/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3963647-1483-222435227698208/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3963647-1483-222435227698208/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3963647-1483-222435227698208/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3963647-1483-222435227698208/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:25:30Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49830",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:25:29Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:30Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "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-1764548738.4890656-1623-83091450709450 `" && echo ansible-tmp-1764548738.4890656-1623-83091450709450="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4890656-1623-83091450709450 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1140xifqx0wj/tmpfrykgrtv TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4890656-1623-83091450709450/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4890656-1623-83091450709450/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4890656-1623-83091450709450/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4890656-1623-83091450709450/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4890656-1623-83091450709450/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:56Z",  "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\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:56Z"  },  {  "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-12-01T00:24:57Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49450",  "uid": "2c6555be-58aa-4b6e-9fa7-e550dfd2ff65"  },  "spec": {  "clusterIP": "10.217.4.210",  "clusterIPs": [  "10.217.4.210"  ],  "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-12-01T00:25:40Z","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-12-01T00:25: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 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-12-01T00:25:40Z","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":"7148646490631970011","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:25:40Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3721547018310844743","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: eca4d15f9c89474ca94f303554d13ae2 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/eca4d15f9c89474ca94f303554d13ae2 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/eca4d15f9c89474ca94f303554d13ae2 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548732.4384398-1226-190388264549896 `" && echo ansible-tmp-1764548732.4384398-1226-190388264549896="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4384398-1226-190388264549896 `" ) && 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-1151c6nayv6e/tmp_hzynl_9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4384398-1226-190388264549896/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4384398-1226-190388264549896/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4384398-1226-190388264549896/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4384398-1226-190388264549896/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4384398-1226-190388264549896/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548733.7712085-1294-221288134814289 `" && echo ansible-tmp-1764548733.7712085-1294-221288134814289="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7712085-1294-221288134814289 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1151c6nayv6e/tmpkd4iklj9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7712085-1294-221288134814289/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7712085-1294-221288134814289/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7712085-1294-221288134814289/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7712085-1294-221288134814289/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.7712085-1294-221288134814289/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548735.1932423-1382-3460725547275 `" && echo ansible-tmp-1764548735.1932423-1382-3460725547275="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1932423-1382-3460725547275 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1151c6nayv6e/tmpxcekbj9_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1932423-1382-3460725547275/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1932423-1382-3460725547275/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1932423-1382-3460725547275/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1932423-1382-3460725547275/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.1932423-1382-3460725547275/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548736.2273684-1469-33090692946914 `" && echo ansible-tmp-1764548736.2273684-1469-33090692946914="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.2273684-1469-33090692946914 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1151c6nayv6e/tmp0266w5qi TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.2273684-1469-33090692946914/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.2273684-1469-33090692946914/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.2273684-1469-33090692946914/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.2273684-1469-33090692946914/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.2273684-1469-33090692946914/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548737.3526793-1526-134930144273518 `" && echo ansible-tmp-1764548737.3526793-1526-134930144273518="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3526793-1526-134930144273518 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1151c6nayv6e/tmp0gy9uayi TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3526793-1526-134930144273518/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3526793-1526-134930144273518/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3526793-1526-134930144273518/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3526793-1526-134930144273518/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3526793-1526-134930144273518/ > /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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } 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-1764548738.386048-1526-208096693448705 `" && echo ansible-tmp-1764548738.386048-1526-208096693448705="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.386048-1526-208096693448705 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1151c6nayv6e/tmpwwyvwteu TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.386048-1526-208096693448705/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.386048-1526-208096693448705/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.386048-1526-208096693448705/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.386048-1526-208096693448705/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.386048-1526-208096693448705/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:replicas": {},  "f:unavailableReplicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49876",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-1764548739.4234798-1658-255844107933655 `" && echo ansible-tmp-1764548739.4234798-1658-255844107933655="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.4234798-1658-255844107933655 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1151c6nayv6e/tmpummno5s5 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.4234798-1658-255844107933655/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.4234798-1658-255844107933655/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.4234798-1658-255844107933655/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.4234798-1658-255844107933655/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.4234798-1658-255844107933655/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:49Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2025-12-01T00:24:49Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49376",  "uid": "79c3bfdb-752f-4031-be0d-80c7fd16a1f7"  },  "spec": {  "clusterIP": "10.217.4.53",  "clusterIPs": [  "10.217.4.53"  ],  "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-12-01T00:25: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":"7148646490631970011","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 [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-12-01T00:25:40Z","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":"9168981554991995202","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:25:41Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"4246640330951410318","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: ba95eac2beed48158fde45ddb06b3a20 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/ba95eac2beed48158fde45ddb06b3a20 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/ba95eac2beed48158fde45ddb06b3a20 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548732.4313369-1225-224501450890920 `" && echo ansible-tmp-1764548732.4313369-1225-224501450890920="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4313369-1225-224501450890920 `" ) && 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-1150vi6qt2ze/tmpv62f1yqi TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4313369-1225-224501450890920/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4313369-1225-224501450890920/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4313369-1225-224501450890920/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4313369-1225-224501450890920/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548732.4313369-1225-224501450890920/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548733.8837779-1326-189606764668156 `" && echo ansible-tmp-1764548733.8837779-1326-189606764668156="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.8837779-1326-189606764668156 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1150vi6qt2ze/tmp54wtwbu8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.8837779-1326-189606764668156/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.8837779-1326-189606764668156/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.8837779-1326-189606764668156/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.8837779-1326-189606764668156/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548733.8837779-1326-189606764668156/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548735.2504468-1385-181603437096349 `" && echo ansible-tmp-1764548735.2504468-1385-181603437096349="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.2504468-1385-181603437096349 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1150vi6qt2ze/tmp7tz7oko3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.2504468-1385-181603437096349/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.2504468-1385-181603437096349/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.2504468-1385-181603437096349/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.2504468-1385-181603437096349/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548735.2504468-1385-181603437096349/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548736.1771154-1443-166675861392497 `" && echo ansible-tmp-1764548736.1771154-1443-166675861392497="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1771154-1443-166675861392497 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1150vi6qt2ze/tmpwuwpu0gv TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1771154-1443-166675861392497/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1771154-1443-166675861392497/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1771154-1443-166675861392497/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1771154-1443-166675861392497/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548736.1771154-1443-166675861392497/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548737.3637867-1525-69452869271746 `" && echo ansible-tmp-1764548737.3637867-1525-69452869271746="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3637867-1525-69452869271746 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1150vi6qt2ze/tmpfepd2sit TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3637867-1525-69452869271746/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3637867-1525-69452869271746/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3637867-1525-69452869271746/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3637867-1525-69452869271746/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548737.3637867-1525-69452869271746/ > /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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } 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-1764548738.4600499-1525-175022224051691 `" && echo ansible-tmp-1764548738.4600499-1525-175022224051691="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4600499-1525-175022224051691 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1150vi6qt2ze/tmpwnop8zwz TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4600499-1525-175022224051691/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4600499-1525-175022224051691/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4600499-1525-175022224051691/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4600499-1525-175022224051691/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548738.4600499-1525-175022224051691/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:25:31Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49871",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:31Z",  "lastUpdateTime": "2025-12-01T00:25:31Z",  "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-1764548739.6436145-1677-225649487617029 `" && echo ansible-tmp-1764548739.6436145-1677-225649487617029="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.6436145-1677-225649487617029 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1150vi6qt2ze/tmpsuka5ass TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.6436145-1677-225649487617029/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.6436145-1677-225649487617029/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.6436145-1677-225649487617029/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.6436145-1677-225649487617029/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548739.6436145-1677-225649487617029/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:46Z",  "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\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:46Z"  },  {  "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-12-01T00:24:46Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49339",  "uid": "f8f0c93e-0634-49aa-9f4c-49b22df6440b"  },  "spec": {  "clusterIP": "10.217.5.49",  "clusterIPs": [  "10.217.5.49"  ],  "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 [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-12-01T00:25:41Z","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":"1721754587368653153","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-12-01T00:25: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":"9168981554991995202","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:25:41Z","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":"1721754587368653153","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-12-01T00:25:41Z","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-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-12-01T00:25:41Z","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":"9014731747968554299","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"7148646490631970011","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-12-01T00:25: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":"7148646490631970011","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-12-01T00:25: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":"9014731747968554299","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:25:42Z","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-12-01T00:25:42Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"1845537973518803107","EventData.TaskArgs":""} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:42Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1721754587368653153","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-12-01T00:25:42Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1721754587368653153","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:42Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9168981554991995202","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-12-01T00:25:42Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9168981554991995202","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-12-01T00:25: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":"1845537973518803107","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:25:43Z","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-12-01T00:25: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 : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:43Z","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":"7148646490631970011","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-12-01T00:25:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9014731747968554299","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-12-01T00:25:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9014731747968554299","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:43Z","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-12-01T00:25: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"]}} {"level":"info","ts":"2025-12-01T00:25:43Z","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-12-01T00:25:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1845537973518803107","EventData.Name":"smartgateway : Create cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"9168981554991995202","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway ServiceAccount] ********************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:51 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:43Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1845537973518803107","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-12-01T00:25: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":"1721754587368653153","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25: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":"7148646490631970011","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-12-01T00:25:44Z","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-12-01T00:25:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9014731747968554299","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-12-01T00:25:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"9168981554991995202","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:25:44Z","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-12-01T00:25:44Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"1721754587368653153","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:25: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":"1845537973518803107","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 [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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25:45Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"7148646490631970011","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 [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"9014731747968554299","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: sensubility-metrics\napplications:\n - name: prometheus\n config: {'host': '127.0.0.1', 'port': 8081, 'withTimeStamp': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "name": "default-cloud1-sens-meter-sg-core-configmap",  "namespace": "service-telemetry"  }  }  }  },  "ansible_loop_var": "item",  "changed": false,  "item": {  "name": "sg-core-configmap.yaml.j2"  } } ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Deploy Smart Gateway] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:95 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"1721754587368653153","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25: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":"9168981554991995202","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-12-01T00:25: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":"1845537973518803107","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:25:46Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-coll-event-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-coll-event-sg-core-configmap","Parts":["configmaps","default-cloud1-coll-event-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-12-01T00:25: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":"9014731747968554299","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:46Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} {"level":"info","ts":"2025-12-01T00:25:46Z","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: 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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } ------------------------------------------------------------------------------- --------------------------- 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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } ------------------------------------------------------------------------------- --------------------------- 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-12-01T00:25: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":"1845537973518803107","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:47Z","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-12-01T00:25:47Z","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': '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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:44Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49970",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:44Z",  "lastUpdateTime": "2025-12-01T00:25:44Z",  "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-12-01T00:25: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":"7148646490631970011","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: 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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:47Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-sens-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-sens-meter-smartgateway","Parts":["deployments","default-cloud1-sens-meter-smartgateway"]}} {"level":"info","ts":"2025-12-01T00:25:47Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} {"level":"info","ts":"2025-12-01T00:25:47Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"7148646490631970011","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: da1c0f9a87064e5ca030285f2d0f2f02 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/da1c0f9a87064e5ca030285f2d0f2f02 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/da1c0f9a87064e5ca030285f2d0f2f02 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548740.7203693-1711-141254761750581 `" && echo ansible-tmp-1764548740.7203693-1711-141254761750581="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548740.7203693-1711-141254761750581 `" ) && 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-1671kls6ozhm/tmp6ymuk7w1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548740.7203693-1711-141254761750581/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548740.7203693-1711-141254761750581/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548740.7203693-1711-141254761750581/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548740.7203693-1711-141254761750581/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548740.7203693-1711-141254761750581/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548742.06087-1774-140636764129255 `" && echo ansible-tmp-1764548742.06087-1774-140636764129255="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.06087-1774-140636764129255 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1671kls6ozhm/tmpyapsbuqf TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.06087-1774-140636764129255/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.06087-1774-140636764129255/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.06087-1774-140636764129255/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.06087-1774-140636764129255/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.06087-1774-140636764129255/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548743.338663-1852-215194401338978 `" && echo ansible-tmp-1764548743.338663-1852-215194401338978="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.338663-1852-215194401338978 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1671kls6ozhm/tmp3wqifwmb TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.338663-1852-215194401338978/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.338663-1852-215194401338978/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.338663-1852-215194401338978/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.338663-1852-215194401338978/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.338663-1852-215194401338978/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548744.358346-1929-183915552472997 `" && echo ansible-tmp-1764548744.358346-1929-183915552472997="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.358346-1929-183915552472997 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1671kls6ozhm/tmpyqnc18qs TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.358346-1929-183915552472997/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.358346-1929-183915552472997/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.358346-1929-183915552472997/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.358346-1929-183915552472997/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.358346-1929-183915552472997/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548745.5842783-2005-127819082608904 `" && echo ansible-tmp-1764548745.5842783-2005-127819082608904="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.5842783-2005-127819082608904 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1671kls6ozhm/tmprqv7leoz TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.5842783-2005-127819082608904/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.5842783-2005-127819082608904/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.5842783-2005-127819082608904/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.5842783-2005-127819082608904/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.5842783-2005-127819082608904/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } 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-1764548746.7366283-2005-279218437396430 `" && echo ansible-tmp-1764548746.7366283-2005-279218437396430="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.7366283-2005-279218437396430 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1671kls6ozhm/tmp07c1h07p TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.7366283-2005-279218437396430/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.7366283-2005-279218437396430/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.7366283-2005-279218437396430/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.7366283-2005-279218437396430/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.7366283-2005-279218437396430/ > /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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:44Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49970",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:44Z",  "lastUpdateTime": "2025-12-01T00:25:44Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "50000",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:25:29Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"1721754587368653153","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-12-01T00:25: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":"1721754587368653153","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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "50003",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-12-01T00:25: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":"9168981554991995202","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25: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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:48Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"9168981554991995202","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: 143c38912f9443a3981b5176cb0faa0d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/143c38912f9443a3981b5176cb0faa0d 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/143c38912f9443a3981b5176cb0faa0d 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548741.182102-1734-109390603256266 `" && echo ansible-tmp-1764548741.182102-1734-109390603256266="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.182102-1734-109390603256266 `" ) && 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-1693jbpyaxes/tmprm449190 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.182102-1734-109390603256266/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.182102-1734-109390603256266/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.182102-1734-109390603256266/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.182102-1734-109390603256266/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.182102-1734-109390603256266/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548742.506399-1817-215452890413302 `" && echo ansible-tmp-1764548742.506399-1817-215452890413302="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.506399-1817-215452890413302 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1693jbpyaxes/tmptbdglgr_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.506399-1817-215452890413302/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.506399-1817-215452890413302/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.506399-1817-215452890413302/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.506399-1817-215452890413302/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.506399-1817-215452890413302/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548743.7922356-1882-186456215435731 `" && echo ansible-tmp-1764548743.7922356-1882-186456215435731="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7922356-1882-186456215435731 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1693jbpyaxes/tmpfyed30vl TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7922356-1882-186456215435731/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7922356-1882-186456215435731/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7922356-1882-186456215435731/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7922356-1882-186456215435731/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7922356-1882-186456215435731/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548744.7986097-1959-121786509915125 `" && echo ansible-tmp-1764548744.7986097-1959-121786509915125="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.7986097-1959-121786509915125 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1693jbpyaxes/tmpwp2f9hjo TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.7986097-1959-121786509915125/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.7986097-1959-121786509915125/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.7986097-1959-121786509915125/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.7986097-1959-121786509915125/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.7986097-1959-121786509915125/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548746.0841427-2040-91799250765527 `" && echo ansible-tmp-1764548746.0841427-2040-91799250765527="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0841427-2040-91799250765527 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1693jbpyaxes/tmp5kctnp1w TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0841427-2040-91799250765527/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0841427-2040-91799250765527/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0841427-2040-91799250765527/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0841427-2040-91799250765527/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0841427-2040-91799250765527/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } 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-1764548747.106842-2040-35505492268604 `" && echo ansible-tmp-1764548747.106842-2040-35505492268604="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.106842-2040-35505492268604 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1693jbpyaxes/tmpa80uwxg6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.106842-2040-35505492268604/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.106842-2040-35505492268604/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.106842-2040-35505492268604/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.106842-2040-35505492268604/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.106842-2040-35505492268604/ > /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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "50003",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-12-01T00:25:48Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-meter-smartgateway","Parts":["deployments","default-cloud1-ceil-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49995",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-12-01T00:25: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":"9014731747968554299","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-12-01T00:25: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":"9014731747968554299","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:49Z","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-12-01T00:25: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": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:25:48Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "50023",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:48Z",  "lastUpdateTime": "2025-12-01T00:25:48Z",  "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-12-01T00:25: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":"1845537973518803107","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:49Z","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":"2471009345786508525","EventData.TaskArgs":""} --------------------------- 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-12-01T00:25: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":"1845537973518803107","EventData.Name":"smartgateway : Deploy Service for 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-12-01T00:25: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":"2471009345786508525","EventData.Name":"smartgateway : Check for existing cookie secret"} ----- 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: cfdbe79c362d41f083b3de4e1d131916 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/cfdbe79c362d41f083b3de4e1d131916 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/cfdbe79c362d41f083b3de4e1d131916 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-12-01T00:25:49Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1721754587368653153","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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548741.2731225-1745-5951829036771 `" && echo ansible-tmp-1764548741.2731225-1745-5951829036771="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.2731225-1745-5951829036771 `" ) && 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-1694r_rz583z/tmph8zomfmy TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.2731225-1745-5951829036771/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.2731225-1745-5951829036771/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.2731225-1745-5951829036771/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.2731225-1745-5951829036771/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548741.2731225-1745-5951829036771/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548742.4594252-1805-199449510318077 `" && echo ansible-tmp-1764548742.4594252-1805-199449510318077="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.4594252-1805-199449510318077 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1694r_rz583z/tmpu3y2wj08 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.4594252-1805-199449510318077/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.4594252-1805-199449510318077/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.4594252-1805-199449510318077/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.4594252-1805-199449510318077/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.4594252-1805-199449510318077/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548743.931954-1910-91174875155048 `" && echo ansible-tmp-1764548743.931954-1910-91174875155048="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.931954-1910-91174875155048 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1694r_rz583z/tmpph6qzh_t TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.931954-1910-91174875155048/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.931954-1910-91174875155048/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.931954-1910-91174875155048/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.931954-1910-91174875155048/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.931954-1910-91174875155048/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548744.9429576-1974-123686280751066 `" && echo ansible-tmp-1764548744.9429576-1974-123686280751066="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.9429576-1974-123686280751066 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1694r_rz583z/tmpmq6mybyh TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.9429576-1974-123686280751066/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.9429576-1974-123686280751066/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.9429576-1974-123686280751066/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.9429576-1974-123686280751066/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.9429576-1974-123686280751066/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548746.0116699-2039-70411943760911 `" && echo ansible-tmp-1764548746.0116699-2039-70411943760911="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0116699-2039-70411943760911 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1694r_rz583z/tmp_oepc7yd TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0116699-2039-70411943760911/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0116699-2039-70411943760911/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0116699-2039-70411943760911/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0116699-2039-70411943760911/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.0116699-2039-70411943760911/ > /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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } 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-1764548747.017727-2039-255856921121156 `" && echo ansible-tmp-1764548747.017727-2039-255856921121156="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.017727-2039-255856921121156 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1694r_rz583z/tmprim91six TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.017727-2039-255856921121156/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.017727-2039-255856921121156/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.017727-2039-255856921121156/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.017727-2039-255856921121156/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.017727-2039-255856921121156/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "50000",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:25:29Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-1764548748.1792028-2177-179484616728998 `" && echo ansible-tmp-1764548748.1792028-2177-179484616728998="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.1792028-2177-179484616728998 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1694r_rz583z/tmph4akbxd1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.1792028-2177-179484616728998/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.1792028-2177-179484616728998/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.1792028-2177-179484616728998/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.1792028-2177-179484616728998/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.1792028-2177-179484616728998/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:56Z",  "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\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:56Z"  },  {  "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-12-01T00:24:57Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49450",  "uid": "2c6555be-58aa-4b6e-9fa7-e550dfd2ff65"  },  "spec": {  "clusterIP": "10.217.4.210",  "clusterIPs": [  "10.217.4.210"  ],  "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-12-01T00:25:49Z","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/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-12-01T00:25:50Z","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":"5712403938013493300","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-12-01T00:25: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":"5712403938013493300","EventData.Name":"smartgateway : Check for existing cookie secret"} ----- 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: 0e46d736b3f046eda8f54869f03ce27d ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/0e46d736b3f046eda8f54869f03ce27d 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/0e46d736b3f046eda8f54869f03ce27d 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-12-01T00:25:50Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"9014731747968554299","name":"default-cloud1-ceil-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/anycast/ceilometer/cloud1-metering.sample",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } TASK [smartgateway : Set Smart Gateway core image] ***************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:16 ok: [localhost] => {  "ansible_facts": {  "core_container_image_path": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548742.108291-1784-246136006414503 `" && echo ansible-tmp-1764548742.108291-1784-246136006414503="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.108291-1784-246136006414503 `" ) && 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-1721p3uc_ah8/tmpwx32jjwm TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.108291-1784-246136006414503/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.108291-1784-246136006414503/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.108291-1784-246136006414503/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.108291-1784-246136006414503/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.108291-1784-246136006414503/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548743.3787436-1863-39448887538851 `" && echo ansible-tmp-1764548743.3787436-1863-39448887538851="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.3787436-1863-39448887538851 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1721p3uc_ah8/tmpg725dvdb TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.3787436-1863-39448887538851/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.3787436-1863-39448887538851/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.3787436-1863-39448887538851/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.3787436-1863-39448887538851/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.3787436-1863-39448887538851/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548744.6439557-1944-65495221149404 `" && echo ansible-tmp-1764548744.6439557-1944-65495221149404="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.6439557-1944-65495221149404 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1721p3uc_ah8/tmp8_gta2t7 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.6439557-1944-65495221149404/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.6439557-1944-65495221149404/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.6439557-1944-65495221149404/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.6439557-1944-65495221149404/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548744.6439557-1944-65495221149404/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548745.6551404-2019-11059986457910 `" && echo ansible-tmp-1764548745.6551404-2019-11059986457910="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.6551404-2019-11059986457910 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1721p3uc_ah8/tmpmmzrt53c TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.6551404-2019-11059986457910/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.6551404-2019-11059986457910/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.6551404-2019-11059986457910/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.6551404-2019-11059986457910/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.6551404-2019-11059986457910/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548746.8732326-2093-145256468922049 `" && echo ansible-tmp-1764548746.8732326-2093-145256468922049="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.8732326-2093-145256468922049 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1721p3uc_ah8/tmppanev0n_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.8732326-2093-145256468922049/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.8732326-2093-145256468922049/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.8732326-2093-145256468922049/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.8732326-2093-145256468922049/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.8732326-2093-145256468922049/ > /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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } 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-1764548747.8337932-2093-221497221794170 `" && echo ansible-tmp-1764548747.8337932-2093-221497221794170="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.8337932-2093-221497221794170 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1721p3uc_ah8/tmprjqlpu4l TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.8337932-2093-221497221794170/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.8337932-2093-221497221794170/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.8337932-2093-221497221794170/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.8337932-2093-221497221794170/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.8337932-2093-221497221794170/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49995",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-1764548748.9821794-2214-248511312437459 `" && echo ansible-tmp-1764548748.9821794-2214-248511312437459="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.9821794-2214-248511312437459 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1721p3uc_ah8/tmp55csfiuy TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.9821794-2214-248511312437459/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.9821794-2214-248511312437459/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.9821794-2214-248511312437459/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.9821794-2214-248511312437459/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.9821794-2214-248511312437459/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:49Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2025-12-01T00:24:49Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49376",  "uid": "79c3bfdb-752f-4031-be0d-80c7fd16a1f7"  },  "spec": {  "clusterIP": "10.217.4.53",  "clusterIPs": [  "10.217.4.53"  ],  "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-12-01T00:25: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-12-01T00:25:50Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2471009345786508525","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-12-01T00:25:50Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2471009345786508525","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:50Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"1845537973518803107","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: ab4474af3b344c93b318f75277f68dfb ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/ab4474af3b344c93b318f75277f68dfb 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/ab4474af3b344c93b318f75277f68dfb 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548742.5314023-1822-164201072559888 `" && echo ansible-tmp-1764548742.5314023-1822-164201072559888="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.5314023-1822-164201072559888 `" ) && 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-1746kwcn98ju/tmp6la2r5nt TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.5314023-1822-164201072559888/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.5314023-1822-164201072559888/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.5314023-1822-164201072559888/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.5314023-1822-164201072559888/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548742.5314023-1822-164201072559888/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548743.7903082-1887-17515480776386 `" && echo ansible-tmp-1764548743.7903082-1887-17515480776386="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7903082-1887-17515480776386 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1746kwcn98ju/tmpjjf1rti3 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7903082-1887-17515480776386/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7903082-1887-17515480776386/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7903082-1887-17515480776386/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7903082-1887-17515480776386/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548743.7903082-1887-17515480776386/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548745.1365778-1989-126427349284141 `" && echo ansible-tmp-1764548745.1365778-1989-126427349284141="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.1365778-1989-126427349284141 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1746kwcn98ju/tmpeut250z9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.1365778-1989-126427349284141/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.1365778-1989-126427349284141/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.1365778-1989-126427349284141/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.1365778-1989-126427349284141/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548745.1365778-1989-126427349284141/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548746.2121232-2067-44005739827606 `" && echo ansible-tmp-1764548746.2121232-2067-44005739827606="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.2121232-2067-44005739827606 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1746kwcn98ju/tmpcbx35nca TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.2121232-2067-44005739827606/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.2121232-2067-44005739827606/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.2121232-2067-44005739827606/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.2121232-2067-44005739827606/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548746.2121232-2067-44005739827606/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548747.4335322-2141-230895675920058 `" && echo ansible-tmp-1764548747.4335322-2141-230895675920058="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.4335322-2141-230895675920058 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1746kwcn98ju/tmpyu2zxrjo TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.4335322-2141-230895675920058/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.4335322-2141-230895675920058/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.4335322-2141-230895675920058/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.4335322-2141-230895675920058/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548747.4335322-2141-230895675920058/ > /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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } 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-1764548748.4856575-2141-38251746536636 `" && echo ansible-tmp-1764548748.4856575-2141-38251746536636="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.4856575-2141-38251746536636 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1746kwcn98ju/tmp_vq2x9b2 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.4856575-2141-38251746536636/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.4856575-2141-38251746536636/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.4856575-2141-38251746536636/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.4856575-2141-38251746536636/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548748.4856575-2141-38251746536636/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:25:48Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "50023",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:48Z",  "lastUpdateTime": "2025-12-01T00:25:48Z",  "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-1764548749.5113134-2237-124089061727286 `" && echo ansible-tmp-1764548749.5113134-2237-124089061727286="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.5113134-2237-124089061727286 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-1746kwcn98ju/tmp76gstbms TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.5113134-2237-124089061727286/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.5113134-2237-124089061727286/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.5113134-2237-124089061727286/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.5113134-2237-124089061727286/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.5113134-2237-124089061727286/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:46Z",  "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\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:46Z"  },  {  "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-12-01T00:24:46Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49339",  "uid": "f8f0c93e-0634-49aa-9f4c-49b22df6440b"  },  "spec": {  "clusterIP": "10.217.5.49",  "clusterIPs": [  "10.217.5.49"  ],  "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 [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-12-01T00:25:51Z","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":"3721423099290399012","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:25:51Z","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 : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:51Z","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":"3721423099290399012","EventData.Name":"smartgateway : Check for existing cookie secret"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5712403938013493300","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-12-01T00:25:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5712403938013493300","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-12-01T00:25:51Z","logger":"logging_event_handler","msg":"[playbook debug]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"runner_on_ok","job":"631207610949321667","EventData.TaskArgs":""} {"level":"info","ts":"2025-12-01T00:25:51Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:51Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"631207610949321667","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-12-01T00:25:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2471009345786508525","EventData.Name":"smartgateway : Create Smart Gateway Role"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Print some debug information] ******************************** ok: [localhost] => {  "msg": [  "SmartGateway Variables",  "--------------------------------------------",  "bridge:",  " amqp_block: false",  " amqp_url: amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  " enabled: true",  " ring_buffer_count: 15000",  " ring_buffer_size: 16384",  " socket_block: true",  " stats_period: 60",  " stop_count: 0",  " unix_socket_path: /tmp",  " verbose: false",  ""  ] } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"3354831872020847599","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-12-01T00:25: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":"3354831872020847599","EventData.Name":"smartgateway : Check for existing cookie secret"} {"level":"info","ts":"2025-12-01T00:25:52Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} {"level":"info","ts":"2025-12-01T00:25:52Z","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-12-01T00:25:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3721423099290399012","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-12-01T00:25:52Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3721423099290399012","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-12-01T00:25: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":"5712403938013493300","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25:53Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/secrets/smart-gateway-session-secret","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"secrets","Subresource":"","Name":"smart-gateway-session-secret","Parts":["secrets","smart-gateway-session-secret"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2471009345786508525","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create cookie secret] ************************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:38 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"631207610949321667","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-12-01T00:25:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"631207610949321667","EventData.Name":"smartgateway : Create Smart Gateway ServiceAccount"} {"level":"info","ts":"2025-12-01T00:25:53Z","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-12-01T00:25:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3354831872020847599","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-12-01T00:25:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3354831872020847599","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-12-01T00:25:53Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5712403938013493300","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} {"level":"info","ts":"2025-12-01T00:25:53Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway Role] ******************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:61 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"3721423099290399012","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25:54Z","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-12-01T00:25:54Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/serviceaccounts/smart-gateway","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"serviceaccounts","Subresource":"","Name":"smart-gateway","Parts":["serviceaccounts","smart-gateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2471009345786508525","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-12-01T00:25: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":"3354831872020847599","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-12-01T00:25:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"631207610949321667","EventData.Name":"smartgateway : Create Smart Gateway Role"} {"level":"info","ts":"2025-12-01T00:25: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":"3721423099290399012","EventData.Name":"smartgateway : Create Smart Gateway RoleBinding"} --------------------------- Ansible Task StdOut ------------------------------- TASK [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Get Smart Gateway ConfigMap Environment] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_facts": {  "smartgateway_resource_configmap": {  "env": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-12-01T00:25:54Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5712403938013493300","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:55Z","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 [smartgateway : Create Smart Gateway RoleBinding] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:66 ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"3354831872020847599","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-12-01T00:25: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":"631207610949321667","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: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:55Z","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 [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-12-01T00:25:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-sens-meter","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"3721423099290399012","EventData.Name":"smartgateway : Deploy Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: events\napplications:\n - name: elasticsearch\n config: {'hostURL': 'https://elasticsearch-es-http:9200', 'useTLS': True, 'tlsClientCert': '/config/certs/user.crt', 'tlsClientKey': '/config/certs/user.key', 'tlsCaCert': '/config/certs/ca.crt', 'tlsServerName': 'elasticsearch-es-http', 'tlsSecretName': 'elasticsearch-es-cert', 'user': 'elastic', 'password': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-event-smartgateway","Parts":["deployments","default-cloud1-coll-event-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [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-12-01T00:25: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":"631207610949321667","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-12-01T00:25: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":"3354831872020847599","EventData.Name":"smartgateway : Deploy Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:56Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/api/v1/namespaces/service-telemetry/configmaps/default-cloud1-sens-meter-sg-core-configmap","Verb":"get","APIPrefix":"api","APIGroup":"","APIVersion":"v1","Namespace":"service-telemetry","Resource":"configmaps","Subresource":"","Name":"default-cloud1-sens-meter-sg-core-configmap","Parts":["configmaps","default-cloud1-sens-meter-sg-core-configmap"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:44Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49970",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:44Z",  "lastUpdateTime": "2025-12-01T00:25:44Z",  "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-12-01T00:25:56Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-coll-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"2471009345786508525","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: 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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:57Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"2471009345786508525","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: c136fd39c0f54b7388a08b64c91d08c7 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-event/project/c136fd39c0f54b7388a08b64c91d08c7 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/c136fd39c0f54b7388a08b64c91d08c7 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548749.6141238-2252-77724844355951 `" && echo ansible-tmp-1764548749.6141238-2252-77724844355951="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.6141238-2252-77724844355951 `" ) && 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-2191fak9144s/tmpi_abzzmu TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.6141238-2252-77724844355951/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.6141238-2252-77724844355951/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.6141238-2252-77724844355951/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.6141238-2252-77724844355951/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548749.6141238-2252-77724844355951/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548750.8062875-2297-270658378178534 `" && echo ansible-tmp-1764548750.8062875-2297-270658378178534="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.8062875-2297-270658378178534 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2191fak9144s/tmpwab_6bvn TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.8062875-2297-270658378178534/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.8062875-2297-270658378178534/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.8062875-2297-270658378178534/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.8062875-2297-270658378178534/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.8062875-2297-270658378178534/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548752.1440332-2365-185923679988403 `" && echo ansible-tmp-1764548752.1440332-2365-185923679988403="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.1440332-2365-185923679988403 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2191fak9144s/tmpqsvh6l0m TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.1440332-2365-185923679988403/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.1440332-2365-185923679988403/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.1440332-2365-185923679988403/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.1440332-2365-185923679988403/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.1440332-2365-185923679988403/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548753.1565328-2434-253951327313123 `" && echo ansible-tmp-1764548753.1565328-2434-253951327313123="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.1565328-2434-253951327313123 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2191fak9144s/tmpgn7b75wq TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.1565328-2434-253951327313123/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.1565328-2434-253951327313123/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.1565328-2434-253951327313123/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.1565328-2434-253951327313123/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.1565328-2434-253951327313123/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548754.746288-2512-82380615600121 `" && echo ansible-tmp-1764548754.746288-2512-82380615600121="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.746288-2512-82380615600121 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2191fak9144s/tmp_6qtmhlk TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.746288-2512-82380615600121/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.746288-2512-82380615600121/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.746288-2512-82380615600121/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.746288-2512-82380615600121/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.746288-2512-82380615600121/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:07Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:07Z"  }  ],  "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": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49535",  "uid": "a203c889-a1bc-4254-8a64-8cac075df1a7"  }  } } 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-1764548755.8389537-2512-231508286058508 `" && echo ansible-tmp-1764548755.8389537-2512-231508286058508="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.8389537-2512-231508286058508 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2191fak9144s/tmplqajhsy_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.8389537-2512-231508286058508/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.8389537-2512-231508286058508/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.8389537-2512-231508286058508/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.8389537-2512-231508286058508/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.8389537-2512-231508286058508/ > /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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-event-sg-core-configmap-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:09Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e63ba855-fe0c-40df-ab9f-e22533ea8446\"}": {}  }  },  "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-12-01T00:25:09Z"  },  {  "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-12-01T00:25:44Z"  }  ],  "name": "default-cloud1-coll-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-event",  "uid": "e63ba855-fe0c-40df-ab9f-e22533ea8446"  }  ],  "resourceVersion": "49970",  "uid": "cd93bde0-4c9c-465c-ad40-be563c7f3b9e"  },  "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-6hkbdfbfk6",  "smart-gateway": "default-cloud1-coll-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-notify",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:09Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-event-smartgateway-c9d669479\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:44Z",  "lastUpdateTime": "2025-12-01T00:25:44Z",  "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-12-01T00:25:57Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-ceil-event-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-ceil-event-smartgateway","Parts":["deployments","default-cloud1-ceil-event-smartgateway"]}} {"level":"info","ts":"2025-12-01T00:25:57Z","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-12-01T00:25:57Z","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': '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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "50003",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-12-01T00:25:57Z","logger":"logging_event_handler","msg":"[playbook task start]","name":"default-cloud1-ceil-event","namespace":"service-telemetry","gvk":"smartgateway.infra.watch/v2, Kind=SmartGateway","event_type":"playbook_on_task_start","job":"5712403938013493300","EventData.Name":"smartgateway : Deploy services requested by this Smart Gateway"} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'sg-core-configmap.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "v1",  "data": {  "sg-core.conf.yaml": "pluginDir: \"/usr/lib64/sg-core\"\nlogLevel: \"info\"\nhandleErrors: True\nblockEventBus: False\ntransports:\n - name: socket\n config: {'path': '/tmp/smartgateway'}\n handlers:\n - name: 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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:57Z","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': '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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25:58Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"5712403938013493300","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: 8092892a37ac41679aa1a932dc6377de ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-event/project/8092892a37ac41679aa1a932dc6377de 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/8092892a37ac41679aa1a932dc6377de 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548750.156123-2273-178925135361932 `" && echo ansible-tmp-1764548750.156123-2273-178925135361932="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.156123-2273-178925135361932 `" ) && 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-2208awpzm4ek/tmpnsyro11k TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.156123-2273-178925135361932/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.156123-2273-178925135361932/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.156123-2273-178925135361932/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.156123-2273-178925135361932/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548750.156123-2273-178925135361932/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548751.5126429-2331-139184289613322 `" && echo ansible-tmp-1764548751.5126429-2331-139184289613322="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.5126429-2331-139184289613322 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2208awpzm4ek/tmppilnwmh4 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.5126429-2331-139184289613322/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.5126429-2331-139184289613322/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.5126429-2331-139184289613322/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.5126429-2331-139184289613322/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.5126429-2331-139184289613322/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548752.696847-2413-22472787399099 `" && echo ansible-tmp-1764548752.696847-2413-22472787399099="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.696847-2413-22472787399099 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2208awpzm4ek/tmpkq6qbsjz TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.696847-2413-22472787399099/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.696847-2413-22472787399099/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.696847-2413-22472787399099/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.696847-2413-22472787399099/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.696847-2413-22472787399099/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548753.629037-2475-197328252482743 `" && echo ansible-tmp-1764548753.629037-2475-197328252482743="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.629037-2475-197328252482743 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2208awpzm4ek/tmpr363cmn1 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.629037-2475-197328252482743/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.629037-2475-197328252482743/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.629037-2475-197328252482743/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.629037-2475-197328252482743/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.629037-2475-197328252482743/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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-1764548755.0192437-2571-238591576811885 `" && echo ansible-tmp-1764548755.0192437-2571-238591576811885="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.0192437-2571-238591576811885 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2208awpzm4ek/tmp9mru41rn TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.0192437-2571-238591576811885/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.0192437-2571-238591576811885/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.0192437-2571-238591576811885/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.0192437-2571-238591576811885/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.0192437-2571-238591576811885/ > /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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', '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': 'OiAWQGBbSwGOGIStFm7x7VhU', 'useBasicAuth': True}\n"  },  "kind": "ConfigMap",  "metadata": {  "creationTimestamp": "2025-12-01T00:25:08Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:25:08Z"  }  ],  "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": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "49543",  "uid": "11b4169c-cbd7-4ffd-9bbd-e7d7a26b018c"  }  } } 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-1764548756.1647434-2571-252615758009319 `" && echo ansible-tmp-1764548756.1647434-2571-252615758009319="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.1647434-2571-252615758009319 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2208awpzm4ek/tmpkk480r6c TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.1647434-2571-252615758009319/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.1647434-2571-252615758009319/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.1647434-2571-252615758009319/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.1647434-2571-252615758009319/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.1647434-2571-252615758009319/ > /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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-event-sg-core-configmap-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:25:10Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"e70f7195-a481-4cd0-a898-6c2890a41c52\"}": {}  }  },  "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-12-01T00:25:10Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-event-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-event",  "uid": "e70f7195-a481-4cd0-a898-6c2890a41c52"  }  ],  "resourceVersion": "50003",  "uid": "98811869-7376-4a17-b119-db8b87702f7a"  },  "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-hd4gmh7664",  "smart-gateway": "default-cloud1-ceil-event"  }  },  "spec": {  "containers": [  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-event.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  },  {  "mountPath": "/config/certs",  "name": "elastic-certs"  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-event-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "elastic-certs",  "secret": {  "defaultMode": 420,  "secretName": "elasticsearch-es-cert"  }  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:25:10Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-event-smartgateway-f7fd9974c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } TASK [smartgateway : Deploy services requested by this Smart Gateway] ********** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:104 skipping: [localhost] => {  "changed": false,  "false_condition": "services is defined",  "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* localhost : ok=11  changed=0 unreachable=0 failed=0 skipped=2  rescued=0 ignored=0 ---------- --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "50000",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:25:29Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-12-01T00:25: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":"3721423099290399012","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-12-01T00:25: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":"3721423099290399012","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:58Z","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-12-01T00:25:58Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/service-telemetry/deployments/default-cloud1-coll-meter-smartgateway","Verb":"get","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"service-telemetry","Resource":"deployments","Subresource":"","Name":"default-cloud1-coll-meter-smartgateway","Parts":["deployments","default-cloud1-coll-meter-smartgateway"]}} --------------------------- Ansible Task StdOut ------------------------------- TASK [Deploy Smart Gateway] ******************************** ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49995",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-12-01T00:25: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":"631207610949321667","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-12-01T00:25: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":"631207610949321667","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:58Z","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-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:25:48Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "50023",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:48Z",  "lastUpdateTime": "2025-12-01T00:25:48Z",  "message": "Deployment has minimum availability.",  "reason": "MinimumReplicasAvailable",  "status": "True",  "type": "Available"  }  ],  "observedGeneration": 1,  "readyReplicas": 1,  "replicas": 1,  "updatedReplicas": 1  }  } } ------------------------------------------------------------------------------- {"level":"info","ts":"2025-12-01T00:25: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":"3354831872020847599","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-12-01T00:25: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":"3354831872020847599","EventData.Name":"smartgateway : Deploy Service for Smart Gateway"} {"level":"info","ts":"2025-12-01T00:25:59Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3721423099290399012","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: b41db7977c034e66afad377a247c0616 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-sens-meter/project/b41db7977c034e66afad377a247c0616 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/b41db7977c034e66afad377a247c0616 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548751.3746395-2319-23026246707189 `" && echo ansible-tmp-1764548751.3746395-2319-23026246707189="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.3746395-2319-23026246707189 `" ) && 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-2268lwm_0hhe/tmp1evb07l9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.3746395-2319-23026246707189/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.3746395-2319-23026246707189/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.3746395-2319-23026246707189/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.3746395-2319-23026246707189/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.3746395-2319-23026246707189/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548752.583299-2398-257120656078960 `" && echo ansible-tmp-1764548752.583299-2398-257120656078960="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.583299-2398-257120656078960 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2268lwm_0hhe/tmpdcf43lzf TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.583299-2398-257120656078960/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.583299-2398-257120656078960/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.583299-2398-257120656078960/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.583299-2398-257120656078960/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.583299-2398-257120656078960/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548753.8604543-2494-7881807595927 `" && echo ansible-tmp-1764548753.8604543-2494-7881807595927="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.8604543-2494-7881807595927 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2268lwm_0hhe/tmpyvuykc1t TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.8604543-2494-7881807595927/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.8604543-2494-7881807595927/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.8604543-2494-7881807595927/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.8604543-2494-7881807595927/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.8604543-2494-7881807595927/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548754.8443303-2548-179260854699125 `" && echo ansible-tmp-1764548754.8443303-2548-179260854699125="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8443303-2548-179260854699125 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2268lwm_0hhe/tmp2p0iikeu TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8443303-2548-179260854699125/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8443303-2548-179260854699125/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8443303-2548-179260854699125/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8443303-2548-179260854699125/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8443303-2548-179260854699125/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548756.133268-2631-149493448211410 `" && echo ansible-tmp-1764548756.133268-2631-149493448211410="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.133268-2631-149493448211410 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2268lwm_0hhe/tmpnuzzxvrw TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.133268-2631-149493448211410/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.133268-2631-149493448211410/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.133268-2631-149493448211410/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.133268-2631-149493448211410/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.133268-2631-149493448211410/ > /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-12-01T00:24:53Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:53Z"  }  ],  "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": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49400",  "uid": "3b06c0a6-197a-4b1f-8fba-bf811e916fc5"  }  } } 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-1764548757.1004798-2631-206541391221766 `" && echo ansible-tmp-1764548757.1004798-2631-206541391221766="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.1004798-2631-206541391221766 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2268lwm_0hhe/tmpwqp2dbbp TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.1004798-2631-206541391221766/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.1004798-2631-206541391221766/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.1004798-2631-206541391221766/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.1004798-2631-206541391221766/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.1004798-2631-206541391221766/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:54Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:54Z"  },  {  "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-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-sens-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "50000",  "uid": "21819361-4352-4bc2-a2c2-de05d216f70f"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-sens-meter-sg-core-configmap-gckfgcf96t",  "smart-gateway": "default-cloud1-sens-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-sens-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/sensubility/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "65535"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-sens-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-sens-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-sens-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:54Z",  "lastUpdateTime": "2025-12-01T00:25:29Z",  "message": "ReplicaSet \"default-cloud1-sens-meter-smartgateway-5c844d475c\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-1764548758.2171512-2741-217007337535782 `" && echo ansible-tmp-1764548758.2171512-2741-217007337535782="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.2171512-2741-217007337535782 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2268lwm_0hhe/tmphrq015lx TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.2171512-2741-217007337535782/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.2171512-2741-217007337535782/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.2171512-2741-217007337535782/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.2171512-2741-217007337535782/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.2171512-2741-217007337535782/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:56Z",  "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\":\"4e1a3e9c-88ba-4221-8460-16d60fd9acde\"}": {}  }  },  "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-12-01T00:24:56Z"  },  {  "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-12-01T00:24:57Z"  }  ],  "name": "default-cloud1-sens-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-sens-meter",  "uid": "4e1a3e9c-88ba-4221-8460-16d60fd9acde"  }  ],  "resourceVersion": "49450",  "uid": "2c6555be-58aa-4b6e-9fa7-e550dfd2ff65"  },  "spec": {  "clusterIP": "10.217.4.210",  "clusterIPs": [  "10.217.4.210"  ],  "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-12-01T00:25:59Z","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-12-01T00:25:59Z","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-12-01T00:26:00Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"631207610949321667","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: 1d13aeb9fffd411080b169c77058c744 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-ceil-meter/project/1d13aeb9fffd411080b169c77058c744 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/1d13aeb9fffd411080b169c77058c744 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548751.932818-2354-19515903400305 `" && echo ansible-tmp-1764548751.932818-2354-19515903400305="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.932818-2354-19515903400305 `" ) && 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-2288_cydzdrd/tmps79du398 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.932818-2354-19515903400305/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.932818-2354-19515903400305/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.932818-2354-19515903400305/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.932818-2354-19515903400305/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548751.932818-2354-19515903400305/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548753.2094252-2446-47660403119572 `" && echo ansible-tmp-1764548753.2094252-2446-47660403119572="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.2094252-2446-47660403119572 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2288_cydzdrd/tmpapio2y7i TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.2094252-2446-47660403119572/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.2094252-2446-47660403119572/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.2094252-2446-47660403119572/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.2094252-2446-47660403119572/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.2094252-2446-47660403119572/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548754.8159053-2518-243206895386788 `" && echo ansible-tmp-1764548754.8159053-2518-243206895386788="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8159053-2518-243206895386788 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2288_cydzdrd/tmpj8c0f345 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8159053-2518-243206895386788/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8159053-2518-243206895386788/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8159053-2518-243206895386788/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8159053-2518-243206895386788/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.8159053-2518-243206895386788/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548755.7509832-2598-47396064848490 `" && echo ansible-tmp-1764548755.7509832-2598-47396064848490="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7509832-2598-47396064848490 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2288_cydzdrd/tmpajvdlk5z TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7509832-2598-47396064848490/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7509832-2598-47396064848490/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7509832-2598-47396064848490/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7509832-2598-47396064848490/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7509832-2598-47396064848490/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548756.8588612-2664-238746883161931 `" && echo ansible-tmp-1764548756.8588612-2664-238746883161931="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8588612-2664-238746883161931 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2288_cydzdrd/tmp08rsumo8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8588612-2664-238746883161931/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8588612-2664-238746883161931/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8588612-2664-238746883161931/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8588612-2664-238746883161931/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8588612-2664-238746883161931/ > /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-12-01T00:24:47Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:47Z"  }  ],  "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": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49342",  "uid": "1f0860f0-c442-4326-9e52-bf6332075fd1"  }  } } 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-1764548757.8253677-2664-240848960150579 `" && echo ansible-tmp-1764548757.8253677-2664-240848960150579="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.8253677-2664-240848960150579 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2288_cydzdrd/tmpm995bdi6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.8253677-2664-240848960150579/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.8253677-2664-240848960150579/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.8253677-2664-240848960150579/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.8253677-2664-240848960150579/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.8253677-2664-240848960150579/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:48Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:48Z"  },  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:deployment.kubernetes.io/revision": {}  }  },  "f:status": {  "f:availableReplicas": {},  "f:conditions": {  ".": {},  "k:{\"type\":\"Available\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  },  "k:{\"type\":\"Progressing\"}": {  ".": {},  "f:lastTransitionTime": {},  "f:lastUpdateTime": {},  "f:message": {},  "f:reason": {},  "f:status": {},  "f:type": {}  }  },  "f:observedGeneration": {},  "f:readyReplicas": {},  "f:replicas": {},  "f:updatedReplicas": {}  }  },  "manager": "kube-controller-manager",  "operation": "Update",  "subresource": "status",  "time": "2025-12-01T00:25:46Z"  }  ],  "name": "default-cloud1-ceil-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49995",  "uid": "8b8696d2-4b38-4384-bb26-bb1b1fcb07f3"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-ceil-meter-sg-core-configmap-4km8f4fkch",  "smart-gateway": "default-cloud1-ceil-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-ceil-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/anycast/ceilometer/cloud1-metering.sample",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-ceil-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-ceil-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-ceil-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:48Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-ceil-meter-smartgateway-7db4658b87\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:46Z",  "lastUpdateTime": "2025-12-01T00:25:46Z",  "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-1764548758.8982234-2757-179867827098419 `" && echo ansible-tmp-1764548758.8982234-2757-179867827098419="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.8982234-2757-179867827098419 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2288_cydzdrd/tmp3u1pj7fc TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.8982234-2757-179867827098419/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.8982234-2757-179867827098419/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.8982234-2757-179867827098419/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.8982234-2757-179867827098419/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548758.8982234-2757-179867827098419/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:49Z",  "labels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-ceil-meter"  },  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  ".": {},  "f:service.beta.openshift.io/serving-cert-secret-name": {}  },  "f:labels": {  ".": {},  "f:app": {},  "f:smart-gateway": {}  },  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"637e6a83-ca55-4b75-ab38-b1028133759b\"}": {}  }  },  "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-12-01T00:24:49Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:annotations": {  "f:service.alpha.openshift.io/serving-cert-signed-by": {},  "f:service.beta.openshift.io/serving-cert-signed-by": {}  }  }  },  "manager": "service-ca-operator",  "operation": "Update",  "time": "2025-12-01T00:24:49Z"  }  ],  "name": "default-cloud1-ceil-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-ceil-meter",  "uid": "637e6a83-ca55-4b75-ab38-b1028133759b"  }  ],  "resourceVersion": "49376",  "uid": "79c3bfdb-752f-4031-be0d-80c7fd16a1f7"  },  "spec": {  "clusterIP": "10.217.4.53",  "clusterIPs": [  "10.217.4.53"  ],  "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-12-01T00:26:00Z","logger":"runner","msg":"Ansible-runner exited successfully","job":"3354831872020847599","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: cf301c93e62a427cb3b715423b528aa8 ************************************* Positional arguments: /tmp/ansible-operator/runner/smartgateway.infra.watch/v2/SmartGateway/service-telemetry/default-cloud1-coll-meter/project/cf301c93e62a427cb3b715423b528aa8 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/cf301c93e62a427cb3b715423b528aa8 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": "quay.io/infrawatch/sg-core:latest"  },  "changed": false } TASK [smartgateway : Set Smart Gateway bridge image] *************************** task path: /opt/ansible/roles/smartgateway/tasks/main.yml:21 ok: [localhost] => {  "ansible_facts": {  "bridge_container_image_path": "quay.io/infrawatch/sg-bridge:latest"  },  "changed": false } TASK [smartgateway : Set OAuth Proxy image] ************************************ task path: /opt/ansible/roles/smartgateway/tasks/main.yml:26 ok: [localhost] => {  "ansible_facts": {  "oauth_proxy_image": "quay.io/openshift/origin-oauth-proxy:latest"  },  "changed": false } TASK [smartgateway : Check for existing cookie secret] ************************* task path: /opt/ansible/roles/smartgateway/tasks/main.yml:30 redirecting (type: modules) ansible.builtin.k8s_info to kubernetes.core.k8s_info  ESTABLISH LOCAL CONNECTION FOR USER: 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-1764548752.3001754-2386-59754570287376 `" && echo ansible-tmp-1764548752.3001754-2386-59754570287376="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.3001754-2386-59754570287376 `" ) && 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-2311ny60i3gh/tmpnse73mxe TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.3001754-2386-59754570287376/AnsiballZ_k8s_info.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.3001754-2386-59754570287376/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.3001754-2386-59754570287376/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.3001754-2386-59754570287376/AnsiballZ_k8s_info.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548752.3001754-2386-59754570287376/ > /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": "b0JPdGdDbzNSRW9MNXJ4RUp4VkY="  },  "kind": "Secret",  "metadata": {  "creationTimestamp": "2025-12-01T00:24:39Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:session_secret": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "f:type": {}  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:39Z"  }  ],  "name": "smart-gateway-session-secret",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49248",  "uid": "5b262347-de88-4603-87d3-52e37d756718"  },  "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-1764548753.4783354-2460-57784835772687 `" && echo ansible-tmp-1764548753.4783354-2460-57784835772687="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.4783354-2460-57784835772687 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2311ny60i3gh/tmpeyu7ubrp TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.4783354-2460-57784835772687/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.4783354-2460-57784835772687/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.4783354-2460-57784835772687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.4783354-2460-57784835772687/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548753.4783354-2460-57784835772687/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-sfn4r"  }  ],  "kind": "ServiceAccount",  "metadata": {  "annotations": {  "openshift.io/internal-registry-pull-secret-ref": "smart-gateway-dockercfg-sfn4r"  },  "creationTimestamp": "2025-12-01T00:24:40Z",  "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-sfn4r\"}": {}  }  },  "manager": "openshift.io/image-registry-pull-secrets_service-account-controller",  "operation": "Apply",  "time": "2025-12-01T00:24:40Z"  },  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:40Z"  }  ],  "name": "smart-gateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49265",  "uid": "0a9a62a1-6138-4338-8774-37e492c44e0e"  },  "secrets": [  {  "name": "smart-gateway-dockercfg-sfn4r"  }  ]  } } 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-1764548754.7094862-2513-47267291423112 `" && echo ansible-tmp-1764548754.7094862-2513-47267291423112="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.7094862-2513-47267291423112 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2311ny60i3gh/tmpgtto6k0v TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.7094862-2513-47267291423112/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.7094862-2513-47267291423112/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.7094862-2513-47267291423112/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.7094862-2513-47267291423112/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548754.7094862-2513-47267291423112/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:41Z",  "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-12-01T00:24:41Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49273",  "uid": "b1dd27d2-92ab-40e0-a553-943b8459d633"  },  "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-1764548755.7023084-2586-114469316041357 `" && echo ansible-tmp-1764548755.7023084-2586-114469316041357="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7023084-2586-114469316041357 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2311ny60i3gh/tmp8k8_fc03 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7023084-2586-114469316041357/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7023084-2586-114469316041357/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7023084-2586-114469316041357/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7023084-2586-114469316041357/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548755.7023084-2586-114469316041357/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_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-12-01T00:24:42Z",  "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-12-01T00:24:42Z"  }  ],  "name": "smart-gateway",  "resourceVersion": "49280",  "uid": "f3c8db8e-b4c8-464d-83b6-320d08094bb4"  },  "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-1764548756.8897715-2666-23900453065933 `" && echo ansible-tmp-1764548756.8897715-2666-23900453065933="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8897715-2666-23900453065933 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2311ny60i3gh/tmpja502d84 TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8897715-2666-23900453065933/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8897715-2666-23900453065933/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8897715-2666-23900453065933/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8897715-2666-23900453065933/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548756.8897715-2666-23900453065933/ > /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-12-01T00:24:43Z",  "managedFields": [  {  "apiVersion": "v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:data": {  ".": {},  "f:sg-core.conf.yaml": {}  },  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  }  },  "manager": "OpenAPI-Generator",  "operation": "Update",  "time": "2025-12-01T00:24:43Z"  }  ],  "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": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49297",  "uid": "7b8774bc-7366-41d3-b9d2-68d9b2e09d76"  }  } } 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-1764548757.9875066-2666-39359218285983 `" && echo ansible-tmp-1764548757.9875066-2666-39359218285983="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.9875066-2666-39359218285983 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2311ny60i3gh/tmp2um9bs_l TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.9875066-2666-39359218285983/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.9875066-2666-39359218285983/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.9875066-2666-39359218285983/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.9875066-2666-39359218285983/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548757.9875066-2666-39359218285983/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => (item={'name': 'deployment.yaml.j2'}) => {  "ansible_loop_var": "item",  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "v1",  "append_hash": false,  "apply": false,  "ca_cert": null,  "client_cert": null,  "client_key": null,  "context": null,  "continue_on_error": false,  "definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "delete_all": false,  "delete_options": null,  "force": false,  "generate_name": null,  "hidden_fields": null,  "host": null,  "impersonate_groups": null,  "impersonate_user": null,  "kind": null,  "kubeconfig": null,  "label_selectors": null,  "merge_type": null,  "name": null,  "namespace": null,  "no_proxy": null,  "password": null,  "persist_config": null,  "proxy": null,  "proxy_headers": null,  "resource_definition": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https"  }  ],  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "name": "bridge",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "serviceAccountName": "smart-gateway",  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  }  },  "server_side_apply": null,  "src": null,  "state": "present",  "template": null,  "username": null,  "validate": null,  "validate_certs": null,  "wait": false,  "wait_condition": null,  "wait_sleep": 5,  "wait_timeout": 120  }  },  "item": {  "name": "deployment.yaml.j2"  },  "method": "update",  "result": {  "apiVersion": "apps/v1",  "kind": "Deployment",  "metadata": {  "annotations": {  "deployment.kubernetes.io/revision": "1"  },  "creationTimestamp": "2025-12-01T00:24:44Z",  "generation": 1,  "managedFields": [  {  "apiVersion": "apps/v1",  "fieldsType": "FieldsV1",  "fieldsV1": {  "f:metadata": {  "f:ownerReferences": {  ".": {},  "k:{\"uid\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:44Z"  },  {  "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-12-01T00:25:48Z"  }  ],  "name": "default-cloud1-coll-meter-smartgateway",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "50023",  "uid": "c64f5e6e-d540-4b10-977d-b328f32fa0d1"  },  "spec": {  "progressDeadlineSeconds": 600,  "replicas": 1,  "revisionHistoryLimit": 10,  "selector": {  "matchLabels": {  "app": "smart-gateway",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "strategy": {  "rollingUpdate": {  "maxSurge": "50%",  "maxUnavailable": "50%"  },  "type": "RollingUpdate"  },  "template": {  "metadata": {  "creationTimestamp": null,  "labels": {  "app": "smart-gateway",  "sg-config-resource-name": "default-cloud1-coll-meter-sg-core-configmap-t727t56tgd",  "smart-gateway": "default-cloud1-coll-meter"  }  },  "spec": {  "containers": [  {  "args": [  "-https-address=:8083",  "-tls-cert=/etc/tls/private/tls.crt",  "-tls-key=/etc/tls/private/tls.key",  "-cookie-secret-file=/etc/proxy/secrets/session_secret",  "-openshift-service-account=smart-gateway",  "-upstream=http://localhost:8081/",  "-openshift-delegate-urls={\"/\": {\"namespace\": \"service-telemetry\", \"resource\": \"smartgateways\", \"group\": \"smartgateway.infra.watch\", \"verb\": \"get\"}}"  ],  "image": "quay.io/openshift/origin-oauth-proxy:latest",  "imagePullPolicy": "Always",  "name": "oauth-proxy",  "ports": [  {  "containerPort": 8083,  "name": "https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/etc/tls/private",  "name": "default-cloud1-coll-meter-proxy-tls"  },  {  "mountPath": "/etc/proxy/secrets",  "name": "session-secret"  }  ]  },  {  "args": [  "--amqp_url",  "amqp://default-interconnect.service-telemetry.svc.cluster.local:5673/collectd/cloud1-telemetry",  "--block",  "--stat_period",  "60",  "--rbc",  "15000",  "--count",  "0",  "--gw_unix",  "/tmp/smartgateway",  "--rbs",  "16384"  ],  "image": "quay.io/infrawatch/sg-bridge:latest",  "imagePullPolicy": "Always",  "name": "bridge",  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  }  ]  },  {  "args": [  "-config",  "/etc/sg-core/sg-core.conf.yaml"  ],  "env": [  {  "name": "MY_POD_NAME",  "valueFrom": {  "fieldRef": {  "apiVersion": "v1",  "fieldPath": "metadata.name"  }  }  }  ],  "image": "quay.io/infrawatch/sg-core:latest",  "imagePullPolicy": "Always",  "name": "sg-core",  "ports": [  {  "containerPort": 8083,  "name": "prom-https",  "protocol": "TCP"  }  ],  "resources": {},  "terminationMessagePath": "/dev/termination-log",  "terminationMessagePolicy": "File",  "volumeMounts": [  {  "mountPath": "/tmp",  "name": "socket-dir"  },  {  "mountPath": "/etc/sg-core/",  "name": "sg-core-config",  "readOnly": true  }  ]  }  ],  "dnsPolicy": "ClusterFirst",  "restartPolicy": "Always",  "schedulerName": "default-scheduler",  "securityContext": {},  "serviceAccount": "smart-gateway",  "serviceAccountName": "smart-gateway",  "terminationGracePeriodSeconds": 30,  "volumes": [  {  "name": "default-cloud1-coll-meter-proxy-tls",  "secret": {  "defaultMode": 420,  "secretName": "default-cloud1-coll-meter-proxy-tls"  }  },  {  "emptyDir": {},  "name": "socket-dir"  },  {  "configMap": {  "defaultMode": 420,  "name": "default-cloud1-coll-meter-sg-core-configmap"  },  "name": "sg-core-config"  },  {  "name": "session-secret",  "secret": {  "defaultMode": 420,  "secretName": "smart-gateway-session-secret"  }  }  ]  }  }  },  "status": {  "availableReplicas": 1,  "conditions": [  {  "lastTransitionTime": "2025-12-01T00:24:44Z",  "lastUpdateTime": "2025-12-01T00:25:30Z",  "message": "ReplicaSet \"default-cloud1-coll-meter-smartgateway-777b58f8fb\" has successfully progressed.",  "reason": "NewReplicaSetAvailable",  "status": "True",  "type": "Progressing"  },  {  "lastTransitionTime": "2025-12-01T00:25:48Z",  "lastUpdateTime": "2025-12-01T00:25:48Z",  "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-1764548759.0926263-2773-177020679009808 `" && echo ansible-tmp-1764548759.0926263-2773-177020679009808="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1764548759.0926263-2773-177020679009808 `" ) && sleep 0' redirecting (type: modules) ansible.builtin.k8s to kubernetes.core.k8s Using module file /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/plugins/modules/k8s.py  PUT /opt/ansible/.ansible/tmp/ansible-local-2311ny60i3gh/tmp09dj0mzt TO /opt/ansible/.ansible/tmp/ansible-tmp-1764548759.0926263-2773-177020679009808/AnsiballZ_k8s.py  EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1764548759.0926263-2773-177020679009808/ /opt/ansible/.ansible/tmp/ansible-tmp-1764548759.0926263-2773-177020679009808/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c '/usr/local/bin/python3 /opt/ansible/.ansible/tmp/ansible-tmp-1764548759.0926263-2773-177020679009808/AnsiballZ_k8s.py && sleep 0'  EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1764548759.0926263-2773-177020679009808/ > /dev/null 2>&1 && sleep 0' ok: [localhost] => {  "changed": false,  "invocation": {  "module_args": {  "api_key": null,  "api_version": "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-12-01T00:24:46Z",  "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\":\"96d0c506-00c1-4648-8a24-979c14e6f709\"}": {}  }  },  "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-12-01T00:24:46Z"  },  {  "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-12-01T00:24:46Z"  }  ],  "name": "default-cloud1-coll-meter",  "namespace": "service-telemetry",  "ownerReferences": [  {  "apiVersion": "smartgateway.infra.watch/v2",  "kind": "SmartGateway",  "name": "default-cloud1-coll-meter",  "uid": "96d0c506-00c1-4648-8a24-979c14e6f709"  }  ],  "resourceVersion": "49339",  "uid": "f8f0c93e-0634-49aa-9f4c-49b22df6440b"  },  "spec": {  "clusterIP": "10.217.5.49",  "clusterIPs": [  "10.217.5.49"  ],  "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 ---------- *** [INFO] Logs from prometheus... time=2025-12-01T00:24:38.791Z level=INFO source=main.go:1549 msg="updated GOGC" old=100 new=75 time=2025-12-01T00:24:38.792Z level=INFO source=main.go:680 msg="Leaving GOMAXPROCS=12: CPU quota undefined" component=automaxprocs time=2025-12-01T00:24:38.792Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=30288715776 previous=9223372036854775807 time=2025-12-01T00:24:38.792Z level=INFO source=main.go:773 msg="Starting Prometheus Server" mode=server version="(version=3.7.3, branch=HEAD, revision=0a41f0000705c69ab8e0f9a723fc73e39ed62b07)" time=2025-12-01T00:24:38.792Z level=INFO source=main.go:778 msg="operational information" build_context="(go=go1.25.3, platform=linux/amd64, user=root@08c890a84441, date=20251030-07:26:10, tags=netgo,builtinassets)" host_details="(Linux 5.14.0-427.22.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 10 09:23:36 EDT 2024 x86_64 prometheus-default-0 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)" time=2025-12-01T00:24:38.797Z level=INFO source=web.go:660 msg="Start listening for connections" component=web address=127.0.0.1:9090 time=2025-12-01T00:24:38.798Z level=INFO source=main.go:1293 msg="Starting TSDB ..." time=2025-12-01T00:24:38.800Z level=INFO source=tls_config.go:346 msg="Listening on" component=web address=127.0.0.1:9090 time=2025-12-01T00:24:38.800Z level=INFO source=tls_config.go:385 msg="TLS is disabled." component=web http2=false address=127.0.0.1:9090 time=2025-12-01T00:24:38.806Z level=INFO source=head.go:669 msg="Replaying on-disk memory mappable chunks if any" component=tsdb time=2025-12-01T00:24:38.806Z level=INFO source=head.go:755 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=2.28µs time=2025-12-01T00:24:38.806Z level=INFO source=head.go:763 msg="Replaying WAL, this may take a while" component=tsdb time=2025-12-01T00:24:38.807Z level=INFO source=head.go:836 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=375.932µs time=2025-12-01T00:24:38.807Z level=INFO source=head.go:873 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=40.821µs wal_replay_duration=404.753µs wbl_replay_duration=310ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.28µs total_replay_duration=474.305µs time=2025-12-01T00:24:38.810Z level=INFO source=main.go:1314 msg="filesystem information" fs_type=XFS_SUPER_MAGIC time=2025-12-01T00:24:38.810Z level=INFO source=main.go:1317 msg="TSDB started" time=2025-12-01T00:24:38.810Z level=INFO source=main.go:1502 msg="Loading configuration file" filename=/etc/prometheus/config_out/prometheus.env.yaml time=2025-12-01T00:24:38.811Z level=INFO source=kubernetes.go:313 msg="Using pod service account via in-cluster config" component="discovery manager notify" discovery=kubernetes config=config-0 time=2025-12-01T00:24:38.812Z level=INFO source=main.go:1542 msg="Completed loading of configuration file" db_storage=2.12µs remote_storage=2.84µs web_handler=760ns query_engine=1.78µs scrape=282.809µs scrape_sd=2.37µs notify=395.902µs notify_sd=1.109303ms rules=45.561µs tracing=4.81µs filename=/etc/prometheus/config_out/prometheus.env.yaml totalDuration=2.341032ms time=2025-12-01T00:24:38.812Z level=INFO source=main.go:1278 msg="Server is ready to receive web requests." time=2025-12-01T00:24:38.812Z level=INFO source=manager.go:190 msg="Starting rule manager..." component="rule manager" time=2025-12-01T00:24:48.631Z level=INFO source=main.go:1502 msg="Loading configuration file" filename=/etc/prometheus/config_out/prometheus.env.yaml time=2025-12-01T00:24:48.632Z level=INFO source=main.go:1542 msg="Completed loading of configuration file" db_storage=3.07µs remote_storage=3.08µs web_handler=650ns query_engine=3µs scrape=72.332µs scrape_sd=1.871µs notify=470.693µs notify_sd=15.531µs rules=63.752µs tracing=4µs filename=/etc/prometheus/config_out/prometheus.env.yaml totalDuration=1.046382ms time=2025-12-01T00:25:02.705Z level=INFO source=main.go:1502 msg="Loading configuration file" filename=/etc/prometheus/config_out/prometheus.env.yaml time=2025-12-01T00:25:02.709Z level=INFO source=main.go:1542 msg="Completed loading of configuration file" db_storage=3.08µs remote_storage=3.11µs web_handler=750ns query_engine=2.05µs scrape=208.837µs scrape_sd=45.181µs notify=456.855µs notify_sd=12.51µs rules=51.652µs tracing=3.35µs filename=/etc/prometheus/config_out/prometheus.env.yaml totalDuration=3.772687ms *** [INFO] Logs from elasticsearch... Defaulted container "elasticsearch" out of: elasticsearch, elastic-internal-init-filesystem (init), elastic-internal-suspend (init) Dec 01, 2025 12:20:59 AM sun.util.locale.provider.LocaleProviderAdapter WARNING: COMPAT locale provider will be removed in a future release {"type": "server", "timestamp": "2025-12-01T00:21:00,757Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "version[7.17.20], pid[6], build[default/docker/b26557f585b7d95c71a5549e571a6bcd2667697d/2024-04-08T08:34:31.070382898Z], OS[Linux/5.14.0-427.22.1.el9_4.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/21.0.2/21.0.2+13-58]" } {"type": "server", "timestamp": "2025-12-01T00:21:00,762Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" } {"type": "server", "timestamp": "2025-12-01T00:21:00,762Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-11785721699735148784, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms1024m, -Xmx1024m, -XX:MaxDirectMemorySize=536870912, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,386Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [aggs-matrix-stats]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,388Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [analysis-common]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,388Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [constant-keyword]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,388Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [frozen-indices]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,388Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [ingest-common]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,388Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [ingest-geoip]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,388Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [ingest-user-agent]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [kibana]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [lang-expression]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [lang-mustache]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [lang-painless]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [legacy-geo]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [mapper-extras]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [mapper-version]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,389Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [parent-join]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [percolator]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [rank-eval]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [reindex]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [repositories-metering-api]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [repository-encrypted]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [repository-url]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,390Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [runtime-fields-common]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [search-business-rules]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [searchable-snapshots]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [snapshot-repo-test-kit]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [spatial]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [transform]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [transport-netty4]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [unsigned-long]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,391Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [vector-tile]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [vectors]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [wildcard]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-aggregate-metric]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-analytics]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-async]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-async-search]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-autoscaling]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-ccr]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-core]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-data-streams]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-deprecation]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-enrich]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-eql]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-fleet]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,393Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-graph]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-identity-provider]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-ilm]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-logstash]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-ml]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-monitoring]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-ql]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,394Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-rollup]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-security]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-shutdown]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-sql]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-stack]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-text-structure]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-voting-only-node]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,395Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "loaded module [x-pack-watcher]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,396Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "no plugins loaded" } {"type": "server", "timestamp": "2025-12-01T00:21:03,438Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/vda4)]], net usable_space [40.3gb], net total_space [79.4gb], types [xfs]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,438Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "heap size [1gb], compressed ordinary object pointers [true]" } {"type": "server", "timestamp": "2025-12-01T00:21:03,456Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "node name [elasticsearch-es-default-0], node ID [yBkhiRHKRK6D2W_qEQFuHw], cluster name [elasticsearch], roles [master, data, ingest]" } {"type": "deprecation.elasticsearch", "timestamp": "2025-12-01T00:21:06,308Z", "level": "CRITICAL", "component": "o.e.d.c.r.OperationRouting", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "searches will not be routed based on awareness attributes starting in version 8.0.0; to opt into this behaviour now please set the system property [es.search.ignore_awareness_attributes] to [true]", "key": "searches_not_routed_on_awareness_attributes", "category": "settings" } {"timestamp": "2025-12-01T00:21:06+00:00", "message": "readiness probe failed", "curl_rc": "7"} {"type": "server", "timestamp": "2025-12-01T00:21:09,222Z", "level": "INFO", "component": "o.e.x.m.p.l.CppLogMessageHandler", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[controller/210] [Main.cc@122] controller (64 bit): Version 7.17.20 (Build 7a252d9f420169) Copyright (c) 2024 Elasticsearch BV" } {"type": "server", "timestamp": "2025-12-01T00:21:09,646Z", "level": "INFO", "component": "o.e.x.s.a.Realms", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "license mode is [trial], currently licensed security realms are [reserved/reserved,file/file1,native/native1]" } {"type": "server", "timestamp": "2025-12-01T00:21:09,940Z", "level": "INFO", "component": "o.e.x.s.a.s.FileRolesStore", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "parsed [55] roles from file [/usr/share/elasticsearch/config/roles.yml]" } {"type": "server", "timestamp": "2025-12-01T00:21:10,470Z", "level": "INFO", "component": "o.e.i.g.ConfigDatabases", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/usr/share/elasticsearch/config/ingest-geoip] for changes" } {"type": "server", "timestamp": "2025-12-01T00:21:10,471Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "initialized database registry, using geoip-databases directory [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw]" } {"type": "server", "timestamp": "2025-12-01T00:21:11,092Z", "level": "INFO", "component": "o.e.t.NettyAllocator", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=1gb}]" } {"type": "server", "timestamp": "2025-12-01T00:21:11,134Z", "level": "INFO", "component": "o.e.i.r.RecoverySettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]" } {"type": "server", "timestamp": "2025-12-01T00:21:11,175Z", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "using discovery type [zen] and seed hosts providers [settings, file]" } {"timestamp": "2025-12-01T00:21:11+00:00", "message": "readiness probe failed", "curl_rc": "7"} {"type": "server", "timestamp": "2025-12-01T00:21:11,758Z", "level": "INFO", "component": "o.e.g.DanglingIndicesState", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually" } {"type": "server", "timestamp": "2025-12-01T00:21:12,597Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "initialized" } {"type": "server", "timestamp": "2025-12-01T00:21:12,597Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "starting ..." } {"type": "server", "timestamp": "2025-12-01T00:21:15,524Z", "level": "INFO", "component": "o.e.x.s.c.f.PersistentCache", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "persistent cache index loaded" } {"type": "server", "timestamp": "2025-12-01T00:21:15,526Z", "level": "INFO", "component": "o.e.x.d.l.DeprecationIndexingComponent", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "deprecation component started" } {"type": "server", "timestamp": "2025-12-01T00:21:15,662Z", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "publish_address {10.217.0.51:9300}, bound_addresses {[::]:9300}" } {"type": "server", "timestamp": "2025-12-01T00:21:15,674Z", "level": "INFO", "component": "o.e.x.m.Monitoring", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "creating template [.monitoring-alerts-7] with version [7]" } {"type": "server", "timestamp": "2025-12-01T00:21:15,681Z", "level": "INFO", "component": "o.e.x.m.Monitoring", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "creating template [.monitoring-es] with version [7]" } {"type": "server", "timestamp": "2025-12-01T00:21:15,682Z", "level": "INFO", "component": "o.e.x.m.Monitoring", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "creating template [.monitoring-kibana] with version [7]" } {"type": "server", "timestamp": "2025-12-01T00:21:15,684Z", "level": "INFO", "component": "o.e.x.m.Monitoring", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "creating template [.monitoring-logstash] with version [7]" } {"type": "server", "timestamp": "2025-12-01T00:21:15,688Z", "level": "INFO", "component": "o.e.x.m.Monitoring", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "creating template [.monitoring-beats] with version [7]" } {"type": "server", "timestamp": "2025-12-01T00:21:16,187Z", "level": "INFO", "component": "o.e.b.BootstrapChecks", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "bound or publishing to a non-loopback address, enforcing bootstrap checks" } {"type": "server", "timestamp": "2025-12-01T00:21:16,200Z", "level": "INFO", "component": "o.e.c.c.Coordinator", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "setting initial configuration to VotingConfiguration{yBkhiRHKRK6D2W_qEQFuHw}" } {"type": "server", "timestamp": "2025-12-01T00:21:16,447Z", "level": "INFO", "component": "o.e.c.s.MasterService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "elected-as-master ([1] nodes joined)[{elasticsearch-es-default-0}{yBkhiRHKRK6D2W_qEQFuHw}{PTbrjcBKTUuaig3QshsliA}{10.217.0.51}{10.217.0.51:9300}{dim} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 1, version: 1, delta: master node changed {previous [], current [{elasticsearch-es-default-0}{yBkhiRHKRK6D2W_qEQFuHw}{PTbrjcBKTUuaig3QshsliA}{10.217.0.51}{10.217.0.51:9300}{dim}]}" } {"type": "server", "timestamp": "2025-12-01T00:21:16,525Z", "level": "INFO", "component": "o.e.c.c.CoordinationState", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "cluster UUID set to [sBPCFjSsTsOJSMjC2_GuYg]" } {"type": "server", "timestamp": "2025-12-01T00:21:16,602Z", "level": "INFO", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "master node changed {previous [], current [{elasticsearch-es-default-0}{yBkhiRHKRK6D2W_qEQFuHw}{PTbrjcBKTUuaig3QshsliA}{10.217.0.51}{10.217.0.51:9300}{dim}]}, term: 1, version: 1, reason: Publication{term=1, version=1}" } {"timestamp": "2025-12-01T00:21:16+00:00", "message": "readiness probe failed", "curl_rc": "7"} {"type": "server", "timestamp": "2025-12-01T00:21:16,675Z", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "publish_address {elasticsearch-es-default-0.elasticsearch-es-default.service-telemetry.svc/10.217.0.51:9200}, bound_addresses {[::]:9200}", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:16,676Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "started", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:16,854Z", "level": "INFO", "component": "o.e.g.GatewayService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "recovered [0] indices into cluster_state", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:17,146Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.ml-state] for index patterns [.ml-state*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:17,295Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.ml-anomalies-] for index patterns [.ml-anomalies-*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:17,775Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.ml-notifications-000002] for index patterns [.ml-notifications-000002]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:17,957Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.ml-stats] for index patterns [.ml-stats-*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,066Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [data-streams-mappings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,258Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [metrics-mappings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,370Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [synthetics-settings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,453Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [logs-mappings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,561Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [metrics-settings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,601Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [logs-settings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,660Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [synthetics-mappings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,745Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.watch-history-13] for index patterns [.watcher-history-13*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,798Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [ilm-history] for index patterns [ilm-history-5*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,857Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.slm-history] for index patterns [.slm-history-5*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,902Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [.deprecation-indexing-mappings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:18,965Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding component template [.deprecation-indexing-settings]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:19,305Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [metrics] for index patterns [metrics-*-*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:19,354Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [logs] for index patterns [logs-*-*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:19,410Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [synthetics] for index patterns [synthetics-*-*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:19,748Z", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index template [.deprecation-indexing-template] for index patterns [.logs-deprecation.*]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:19,795Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [ml-size-based-ilm-policy]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:20,405Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [logs]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:20,758Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [metrics]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:20,869Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [synthetics]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,099Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [7-days-default]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,211Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [365-days-default]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,346Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [180-days-default]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,452Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [90-days-default]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,499Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [30-days-default]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,548Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [watch-history-ilm-policy]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,590Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [slm-history-ilm-policy]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,833Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [.deprecation-indexing-ilm-policy]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,942Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [ilm-history-ilm-policy]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:21,984Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "adding index lifecycle policy [.fleet-actions-results-ilm-policy]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:22,111Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "updating geoip databases", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:22,111Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "fetching geoip databases overview from [https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:22,339Z", "level": "INFO", "component": "o.e.l.LicenseService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "license [527ad0dd-f8d0-40e6-816f-31d7174bfb90] mode [basic] - valid", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:22,340Z", "level": "INFO", "component": "o.e.x.s.a.Realms", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "license mode is [basic], currently licensed security realms are [reserved/reserved,file/file1,native/native1]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:22,341Z", "level": "INFO", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "Active license is now [BASIC]; Security is enabled", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:23,367Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[.geoip_databases] creating index, cause [auto(bulk api)], templates [], shards [1]/[0]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:24,506Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.geoip_databases][0]]]).", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:26,642Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "retrieve geoip database [GeoLite2-ASN.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw/GeoLite2-ASN.mmdb.tmp.gz]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:26,657Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "successfully downloaded geoip database [GeoLite2-ASN.mmdb]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:27,060Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw/GeoLite2-ASN.mmdb]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:32,743Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "retrieve geoip database [GeoLite2-City.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw/GeoLite2-City.mmdb.tmp.gz]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:32,764Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "successfully downloaded geoip database [GeoLite2-City.mmdb]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:34,793Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw/GeoLite2-City.mmdb]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:34,983Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "retrieve geoip database [GeoLite2-Country.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw/GeoLite2-Country.mmdb.tmp.gz]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:34,992Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "successfully downloaded geoip database [GeoLite2-Country.mmdb]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:21:35,157Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-11785721699735148784/geoip-databases/yBkhiRHKRK6D2W_qEQFuHw/GeoLite2-Country.mmdb]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:26:22,573Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[collectd_interface_if] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:26:22,728Z", "level": "INFO", "component": "o.e.c.m.MetadataMappingService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[collectd_interface_if/QflwAdfvRFi_m4nv9RBzvQ] create_mapping [_doc]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:26:31,744Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[ceilometer_image] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:26:32,520Z", "level": "INFO", "component": "o.e.c.m.MetadataMappingService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[ceilometer_image/Lw1RsYkbRA2lnbzuFyODWw] create_mapping [_doc]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } {"type": "server", "timestamp": "2025-12-01T00:26:32,706Z", "level": "INFO", "component": "o.e.c.m.MetadataMappingService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-es-default-0", "message": "[ceilometer_image/Lw1RsYkbRA2lnbzuFyODWw] update_mapping [_doc]", "cluster.uuid": "sBPCFjSsTsOJSMjC2_GuYg", "node.id": "yBkhiRHKRK6D2W_qEQFuHw" } *** [INFO] Logs from snmp webhook... DEBUG:prometheus_webhook_snmp.utils:Configuration settings: {"debug": true, "snmp_host": "192.168.24.254", "snmp_port": 162, "snmp_community": "public", "snmp_retries": 5, "snmp_timeout": 1, "alert_oid_label": "oid", "trap_oid_prefix": "1.3.6.1.4.1.50495.15", "trap_default_oid": "1.3.6.1.4.1.50495.15.1.2.1", "trap_default_severity": "", "host": "0.0.0.0", "port": 9099, "metrics": false, "cert": "", "key": ""} INFO:cherrypy.error:[01/Dec/2025:00:24:38] ENGINE Listening for SIGTERM. INFO:cherrypy.error:[01/Dec/2025:00:24:38] ENGINE Listening for SIGHUP. INFO:cherrypy.error:[01/Dec/2025:00:24:38] ENGINE Listening for SIGUSR1. INFO:cherrypy.error:[01/Dec/2025:00:24:38] ENGINE Bus STARTING INFO:cherrypy.error:[01/Dec/2025:00:24:39] ENGINE Serving on http://0.0.0.0:9099 INFO:cherrypy.error:[01/Dec/2025:00:24:39] ENGINE Bus STARTED DEBUG:prometheus_webhook_snmp.utils:Receiving notification: {'receiver': 'snmp_wh', 'status': 'firing', 'alerts': [{'status': 'firing', 'labels': {'alertname': 'smoketest', 'severity': 'warning'}, 'annotations': {}, 'startsAt': '2025-12-01T00:26:09Z', 'endsAt': '0001-01-01T00:00:00Z', 'generatorURL': '', 'fingerprint': '47fa8d406c7155f6'}], 'groupLabels': {}, 'commonLabels': {'alertname': 'smoketest', 'severity': 'warning'}, 'commonAnnotations': {}, 'externalURL': 'http://alertmanager-default-0:9093', 'version': '4', 'groupKey': '{}:{}', 'truncatedAlerts': 0} DEBUG:asyncio:Using selector: EpollSelector DEBUG:prometheus_webhook_snmp.utils:Sending SNMP trap: {'oid': '1.3.6.1.4.1.50495.15.1.2.1', 'alertname': 'smoketest', 'status': 'firing', 'severity': 'warning', 'instance': None, 'job': None, 'description': None, 'labels': {}, 'timestamp': 1764548769, 'rawdata': {'status': 'firing', 'labels': {}, 'annotations': {}, 'startsAt': '2025-12-01T00:26:09Z', 'endsAt': '0001-01-01T00:00:00Z', 'generatorURL': '', 'fingerprint': '47fa8d406c7155f6'}} INFO:cherrypy.access.140319076807488:10.217.0.77 - - [01/Dec/2025:00:26:42] "POST / HTTP/1.1" 200 - "" "Alertmanager/0.29.0" *** [INFO] Logs from alertmanager... time=2025-12-01T00:25:03.776Z level=INFO source=main.go:192 msg="Starting Alertmanager" version="(version=0.29.0, branch=HEAD, revision=2f0cff51fd1cc761eeb671db43736341ca2ab511)" time=2025-12-01T00:25:03.776Z level=INFO source=main.go:193 msg="Build context" build_context="(go=go1.25.3, platform=linux/amd64, user=root@f4d6cb29d2f5, date=20251104-13:09:23, tags=netgo)" time=2025-12-01T00:25:03.841Z level=INFO source=coordinator.go:112 msg="Loading configuration file" component=configuration file=/etc/alertmanager/config_out/alertmanager.env.yaml time=2025-12-01T00:25:03.842Z level=INFO source=coordinator.go:125 msg="Completed loading of configuration file" component=configuration file=/etc/alertmanager/config_out/alertmanager.env.yaml time=2025-12-01T00:25:03.846Z level=INFO source=tls_config.go:346 msg="Listening on" address=127.0.0.1:9093 time=2025-12-01T00:25:03.846Z level=INFO source=tls_config.go:385 msg="TLS is disabled." http2=false address=127.0.0.1:9093 time=2025-12-01T00:25:15.831Z level=INFO source=coordinator.go:112 msg="Loading configuration file" component=configuration file=/etc/alertmanager/config_out/alertmanager.env.yaml time=2025-12-01T00:25:15.831Z level=INFO source=coordinator.go:125 msg="Completed loading of configuration file" component=configuration file=/etc/alertmanager/config_out/alertmanager.env.yaml *** [INFO] Cleanup resources... *** [SUCCESS] Smoke test job completed successfully