From 6f5d8ee6596aa6e1eaa0fd15f1ae2fe9d33994d8 Mon Sep 17 00:00:00 2001 From: Edson Dias Date: Tue, 27 Aug 2024 15:20:49 -0300 Subject: [PATCH] Activate fails: Snmp application fail when trying to update during USM upgrade. The snmp application is failing when trying to upgrade the system in the activate step of the USM. Looking to the logs its possible to see that a conflict between the snmp chart versions is happening. The https://opendev.org/starlingx/snmp-armada-app/commit/588ed19fa9439238059fda641a0c2d2e81f474bb commit added an auto-increment version feature to helm charts, but it is not working as expected. This commit solves this problem, correcting this auto-increment functionality. Test Plan: PASS: Build and deploy an AIO-SX. PASS: Install snmp app. PASS: Upgrade the system using USM. PASS: Verify if snmp successfully upgraded. Closes-bug: 2078206 Change-Id: Ib8484c10fe52fbec193b50822f0bea57167765ef Signed-off-by: Edson Dias --- helm-charts/custom/snmp-helm/snmp-helm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-charts/custom/snmp-helm/snmp-helm/Makefile b/helm-charts/custom/snmp-helm/snmp-helm/Makefile index e0fa5a6..af8761c 100644 --- a/helm-charts/custom/snmp-helm/snmp-helm/Makefile +++ b/helm-charts/custom/snmp-helm/snmp-helm/Makefile @@ -31,7 +31,7 @@ lint-%: init-% if [ -d $* ]; then helm lint $*; fi build-%: - if [ -d $* ]; then helm package $*; fi + if [ -d $* ]; then helm package --version $(CHART_VERSION) $*; fi clean: @echo "Clean all build artifacts"