Activity log for bug #2007182

Date Who What changed Old value New value Message
2023-02-13 21:23:43 Stone Preston bug added bug
2023-02-13 21:28:17 Stone Preston description The autoscaler pod that runs as part of the autoscaler charm was experiencing a crash when trying to create the juju manager struct that handles the scale up and scale down process. The specific error generated was: juju_cloud_provider.go:228] error creating manager: internal error, Client(5) claimed to return *client.Client but returned *client.ClientV5 This was due to a change in the Juju API in newer versions of controllers (the error was confirmed on a juju 2.9.38 controller). The autoscaler binary was updated to use a newer version of the Juju API in the following PR: https://github.com/charmed-kubernetes/autoscaler/pull/11 Additionally the PR updated some errors to be fatal (such as errors encountered when creating the manager), so that the autoscaler would stop running instead of continuing on whilst producing an error in the log. This new binary was pushed into rocks to be consumed by the autoscaler charm as an OCI image. The autoscaler charm was updated to use this new image in this PR: https://github.com/charmed-kubernetes/charm-kubernetes-autoscaler/pull/21 The autoscaler pod that runs as part of the autoscaler charm was experiencing an error when trying to create the juju manager struct that handles the scale up and scale down process. The specific error generated was: juju_cloud_provider.go:228] error creating manager: internal error, Client(5) claimed to return *client.Client but returned *client.ClientV5 This was due to a change in the Juju API in newer versions of controllers (the error was confirmed on a juju 2.9.38 controller). The autoscaler binary was updated to use a newer version of the Juju API in the following PR: https://github.com/charmed-kubernetes/autoscaler/pull/11 Additionally the PR updated some errors to be fatal (such as errors encountered when creating the manager), so that the autoscaler would stop running instead of continuing on whilst producing an error in the log. This new binary was pushed into rocks to be consumed by the autoscaler charm as an OCI image. The autoscaler charm was updated to use this new image in this PR: https://github.com/charmed-kubernetes/charm-kubernetes-autoscaler/pull/21
2023-02-13 21:31:34 Kevin W Monroe charm-kubernetes-autoscaler: importance Undecided High
2023-02-13 21:31:53 Stone Preston summary Autoscaler pod crashing when using older Juju API with newer Juju controllers Autoscaler producing error when using older Juju API with newer Juju controllers
2023-02-24 20:12:26 Kevin W Monroe tags backport-needed
2023-02-24 20:21:15 Kevin W Monroe tags backport-needed
2023-02-28 00:10:29 Kevin W Monroe charm-kubernetes-autoscaler: status Fix Committed Fix Released