Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

fab install fails on 'helm dependency update' #261

Closed
timfpark opened this issue Sep 12, 2019 · 0 comments · Fixed by #262
Closed

fab install fails on 'helm dependency update' #261

timfpark opened this issue Sep 12, 2019 · 0 comments · Fixed by #262
Labels
bug Something isn't working

Comments

@timfpark
Copy link
Contributor

timfpark commented Sep 12, 2019

During fab install, helm dependency update fails with:

WARN[12-09-2019 13:37:37] 🚫  Updating chart dependencies failed for chart in '/Users/timothypark/dev/trailguru/fabrikate-dep-update-bug/cloud-native/components/cloud-native-impl/definitions/fabrikate-jaeger/helm_repos/jaeger'; run `helm dependency update /Users/timothypark/dev/trailguru/fabrikate-dep-update-bug/cloud-native/components/cloud-native-impl/definitions/fabrikate-jaeger/helm_repos/jaeger` for more error details.
exit status 1: Hang tight while we grab the latest from your chart repositories...
Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
	Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused
...Successfully got an update from the "f75065cf-6536-4536-b6a9-ebdf37181428" chart repository
...Successfully got an update from the "e17df8a4-8888-4e71-bda6-bb065b79e201" chart repository

[... snip ...]

...Successfully got an update from the "69c20c48-216e-4834-9c94-3f25fa6c2e3e" chart repository
...Successfully got an update from the "fa80de00-13ef-43d0-8502-7c563a108f65" chart repository
Update Complete.
Error: open /Users/timothypark/.helm/repository/cache/60e9d23a-763f-43a7-84d8-04a87f618478-index.yaml: no such file or directory
Error: exit status 1

To Reproduce:

  1. git clone https://github.com/timfpark/fabrikate-dep-update-bug
  2. cd fabrikate-dep-update-bug
  3. fab install

This appears to be a regression after 0.15.2:

  • fab install w/ 0.15.2 -> works
  • fab install w/ 0.15.3 onwards -> does not work

Expected behavior:

Installs components and helm repos etc.

Desktop (please complete the following information):

  • OS: MacOSX
@timfpark timfpark added the bug Something isn't working label Sep 12, 2019
evanlouie added a commit that referenced this issue Sep 13, 2019
`Install()` now triggers `helm serve` after `helm init` and before
component installation. Without this, calling `helm dependency
update...` with a newly initialized `~/.helm` directory would cause an
error to be thrown.
timfpark pushed a commit that referenced this issue Sep 13, 2019
`Install()` now triggers `helm serve` after `helm init` and before
component installation. Without this, calling `helm dependency
update...` with a newly initialized `~/.helm` directory would cause an
error to be thrown.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant