Hi guys,
I’ve my helmsman deployment set, which works properly for more than 10 kubernetes microservices. Now, I add additional microservice, and it's installing properly, but my CircleCi deployment finished like that:
1. First run (when No helm package is installed/build):
Code:
Command returned with exit code: 1. And error message: Error: release www-crm failed: timed out waiting for the condition
2. Second run (helm package is in FAILED state):
Code:
Command returned with exit code: 1. And error message: Error: UPGRADE FAILED: "www-crm" has no deployed releases
The core run command looks like that:
Code:
helmsman -apply -keep-untracked-releases -show-diff -debug -f helmsman/15-front.yaml
Few facts:
- The depoyment runs via CircleCi pipeline,
- Helm repos are set in GCP Storage
- All other apps works properly.
- Yaml file for this app is set exactly the same as for other apps.
- I am able to install this app manually via helm install, but the deployment failing during the helmsman step
- After failed deployment commands:
Code:
root@f10d7f08babd:/project# helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "myorg" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
root@f10d7f08babd:/project#
root@f10d7f08babd:/project#
root@f10d7f08babd:/project# helm search www-crm
NAME CHART VERSION APP VERSION DESCRIPTION
myorg/www-crm 0.1.2 1.0 A Helm chart for FrontEnd service
root@f10d7f08babd:/project#
root@f10d7f08babd:/project#
root@f10d7f08babd:/project# helm ls www-crm
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
www-crm 1 Tue Jan 21 11:24:22 2020 FAILED www-crm-0.1.1 1.0 dev02
www-crm-nginx-ingress 1 Fri Jan 17 14:51:04 2020 DEPLOYED nginx-ingress-1.29.2 0.27.0 dev02
root@f10d7f08babd:/project#
root@f10d7f08babd:/project#
root@f10d7f08babd:/project# gsutil ls gs://myorg/ |grep www-crm
gs://myorg/www-crm-0.1.0.tgz
gs://myorg/www-crm-0.1.1.tgz
root@f10d7f08babd:/project#
During the investigation stage, I found the version difference using helm search and helm ls... Now wondering, why `helm search www-crm` shows version 0.1.2 (which is not deployed), and do not exist on my Storage Bucket? Also why it doesn't show other versions?
The interesting thing is that service itself is deployed properly and have status Running, the only issue is that helmsman deployment finishing with this error, and helm package is in FAILED state.