hivemq/helm-charts

hivemq-operator-0.11.6 is not available

Closed this issue · 4 comments

Description

hivemq-operator-0.11.6 release can not be installed.

Cause

hivemq-operator-0.11.6 release failed to complete with the following error:

Successfully packaged chart and saved it to: .cr-release-packages/hivemq-operator-0.11.6.tgz
Packaging chart 'charts/hivemq-swarm'...
Successfully packaged chart and saved it to: .cr-release-packages/hivemq-swarm-0.2.10.tgz
Releasing charts...
Error: error creating GitHub release: POST https://api.github.com/repos/hivemq/helm-charts/releases: 422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]
Usage:
  cr upload [flags]

Flags:
  -b, --git-base-url string     GitHub Base URL (only needed for private GitHub) (default "https://api.github.com/")
  -r, --git-repo string         GitHub repository
  -u, --git-upload-url string   GitHub Upload URL (only needed for private GitHub) (default "https://uploads.github.com/")
  -h, --help                    help for upload
  -o, --owner string            GitHub username or organization
  -p, --package-path string     Path to directory with chart packages (default ".cr-release-packages")
  -t, --token string            GitHub Auth Token

Global Flags:
      --config string   Config file (default is $HOME/.cr.yaml)

Reproduction Steps

Run helm upgrade --install --dry-run --debug --version 0.11.6 hivemq-test hivemq/hivemq-operator

$ helm upgrade --install --dry-run --debug --version 0.11.6 hivemq-test hivemq/hivemq-operator

history.go:56: [debug] getting history for release hivemq-test
Release "hivemq-test" does not exist. Installing it now.
install.go:178: [debug] Original chart version: "0.11.6"
Error: chart "hivemq-operator" matching 0.11.6 not found in hivemq index. (try 'helm repo update'): no chart version found for hivemq-operator-0.11.6
helm.go:84: [debug] no chart version found for hivemq-operator-0.11.6
helm.sh/helm/v3/pkg/repo.IndexFile.Get
	helm.sh/helm/v3/pkg/repo/index.go:218
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).ResolveChartVersion
	helm.sh/helm/v3/pkg/downloader/chart_downloader.go:287
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo
	helm.sh/helm/v3/pkg/downloader/chart_downloader.go:90
helm.sh/helm/v3/pkg/action.(*ChartPathOptions).LocateChart
	helm.sh/helm/v3/pkg/action/install.go:753
main.runInstall
	helm.sh/helm/v3/cmd/helm/install.go:190
main.newUpgradeCmd.func2
	helm.sh/helm/v3/cmd/helm/upgrade.go:121
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.4.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.4.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.4.0/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1594
chart "hivemq-operator" matching 0.11.6 not found in hivemq index. (try 'helm repo update')
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).ResolveChartVersion
	helm.sh/helm/v3/pkg/downloader/chart_downloader.go:289
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo
	helm.sh/helm/v3/pkg/downloader/chart_downloader.go:90
helm.sh/helm/v3/pkg/action.(*ChartPathOptions).LocateChart
	helm.sh/helm/v3/pkg/action/install.go:753
main.runInstall
	helm.sh/helm/v3/cmd/helm/install.go:190
main.newUpgradeCmd.func2
	helm.sh/helm/v3/cmd/helm/upgrade.go:121
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.4.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.4.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.4.0/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1594

Hi @pablovarela thanks for your contribution, release 0.11.6 is not available yet on the public repository, I recommend for the time being to use the 0.11.5 release.

Thanks for the quick response. I've got a release notification last week so I thought it was meant to be available. If that is not the case please feel free to close this issue, and apologies for the unnecessary noise.

I am concurrently using 0.11.5.

Release 0.11.6 is ready

Thanks!