plugin-barman-cloud icon indicating copy to clipboard operation
plugin-barman-cloud copied to clipboard

cnpg plugin status version doesn't update after upgrade

Open dluke-akamai opened this issue 1 year ago • 3 comments

Hello, I recently upgraded plugin-barman cloud from 0.6.0 to 0.7.0. I'm running cnpg 1.27.0.

After the new barman-cloud pod was running, I restarted my cluster(s) so they would get the new/updated sidecar. They did, but if I view the cluster status with kubectl cnpg status -n namespace clustername the 'Plugin status' section still shows barman-cloud.cloudnative-pg.io with Version 0.6.0.

dluke-akamai avatar Oct 09 '25 17:10 dluke-akamai

Hi @dluke-akamai! I'm Dosu and I’m helping the plugin-barman-cloud team.

The plugin version shown in the 'Plugin status' section is reported directly from the running barman-cloud sidecar in your pods. The version is hardcoded in the plugin binary and surfaced via the plugin's metadata endpoint, which the operator queries to display status. If you still see version 0.6.0 after upgrading to 0.7.0 and restarting your clusters, it usually means that some pods are still running the old sidecar image, or the new image hasn't been fully rolled out and picked up by all pods. There is no persistent status cache—the version reflects the actual running sidecar binary in each pod.

Double-check that all pods in your cluster are running the new sidecar image (0.7.0). If any pods are still on the old image, a manual restart or a forced rolling update may be needed to ensure all pods pick up the new version. Once all pods are running the updated sidecar, the reported plugin version in cluster status should update automatically. This behavior is by design and ensures the status always reflects the actual running code. For more on how upgrades and rolling updates work, see the CloudNativePG upgrade documentation.

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about plugin-barman-cloud with Dosu Add Dosu to your team

dosubot[bot] avatar Oct 09 '25 17:10 dosubot[bot]

I’ve been there as well: did you rollout restart the barman deployment in cnpg-system ?

vadius45 avatar Oct 09 '25 18:10 vadius45

Yes. I confirmed the new pod was running in the cnpg-system deployment and that all of the cluster pods were running the new sidecar version before opening this issue.

danielluke avatar Oct 09 '25 19:10 danielluke