-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhos-18.0.0, rhos-18.0.1, rhos-18.0.2, rhos-18.0.3, rhos-18.0.4, rhos-18.0.5, rhos-18.0.6, rhos-18.0.7, rhos-18.0.8, rhos-18.0.9, rhos-18.0.15, rhos-18.0.14 FR 4, rhos-18.0.13, rhos-18.0.12, rhos-18.0.11, rhos-18.0.10 FR 3
-
None
-
0
-
False
-
-
False
-
?
-
rhos-conplat-observability
-
None
-
-
-
-
Bug Delivery Tracker
-
1
-
Low
To Reproduce Steps to reproduce the behavior:
- Renew the root CA certificate with `cmctl renew rootca-internal` - in T-O logs see that Autoscaling controller doesn't react to this. It only later reacts to memcached being changed because of this. Also see that aodh-0 pod didn't recreate.
- Renew the internal aodh certificate with `cmctl renew aodh-internal-svc` - in T-O logs Autoscaling controller doesn't react at all. aodh-0 pod doesn't recreate even though it should.
- Change the aodh password in osp-secret - Autoscaling doesn't react to this change at all, the Autoscaling controller should reconcile in the T-O logs and aodh-0 pod should recreate
- Create a topology, configure it in oscp.telemetry.template.topologyRef, edit the topology - Autoscaling controller doesn't react to the change, aodh-0 pod doesn't get recreated.
Expected behavior
- Whenever a related secret is changed (e.g. tls certificate / key or the CA certificate), autoscaling controller is able to detect that change and restart the aodh pod if needed.
Additional context
- The configVars variable https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/internal/controller/aodh_controller.go#L308 is usually being used to compute a hash and then based on that to restart pods when needed. This var is being assigned to, but it's not actually being used anywhere.
- Lot of the field paths here are just wrong https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/internal/controller/autoscaling_controller.go#L223C1-L230C2
- The issue above is hidden by error reporting missing in https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/internal/controller/autoscaling_controller.go#L984
- links to
- mentioned on