Comment 5 for bug 1954927

Revision history for this message
Kyle MacLeod (kmacleod) wrote :

From my local build seeing this same error, I see this in the build.log:

if [ -d garbd ]; then helm lint garbd; fi
==> Linting garbd
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: template: garbd/templates/deployment.yaml:50:13: executing "garbd/templates/deployment.yaml" at <$envAll.Values.pod.tolerations.garbd.enabled>: nil pointer evaluating interface {}.enabled
Error: 1 chart(s) linted, 1 chart(s) failed
make[1]: *** [lint-garbd] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/stx-openstack-helm-1.0/helm-charts'
make: *** [garbd] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.8M9M4j (%build)
    Bad exit status from /var/tmp/rpm-tmp.8M9M4j (%build)
Child pid '155408' is dead
Child dead, killing orphans
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/stx-openstack-helm.spec

There are a couple of commits yesterday and today which look relevant, so hopefully this is already fixed:

c34e08c 2021-12-15 10:06 Hugo Nicodemos (HEAD, starlingx/master, m/master) Fix typo on garbd

 stx-openstack-helm/stx-openstack-helm/helm-charts/garbd/values.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

b36261a 2021-12-13 12:04 Hugo Nicodemos Add toleration to garbd pod

 stx-openstack-helm/stx-openstack-helm/helm-charts/garbd/templates/deployment.yaml | 3 +++
 stx-openstack-helm/stx-openstack-helm/helm-charts/garbd/templates/job-image-repo-sync.yaml | 3 +++
 stx-openstack-helm/stx-openstack-helm/helm-charts/garbd/values.yaml | 4 ++++
 3 files changed, 10 insertions(+)