Helm and Tiller report incompatible version numbers
Closed this issue · 1 comments
yongzhang commented
Hi,
I'm confused at "[0000] DEBUG Setup Helm Client helmClientVersion=v2.3.1", I'm using helm and tiller both v2.1.3, but why log says helmClientVersion=v2.3.1, is this mean I MUST use helm client with version 2.3.1? Thanks.
[0000] DEBUG desired landscaper.Component{Name:"example-hello-world", Namespace:"example", Release:(*landscaper.Release)(0xc420180900), Configuration:landscaper.Configuration{"message":"Hello, Landscaped world!", "sleep":1, "Name":"hello-world", "_landscaper_metadata":map[string]interface {}{"chartrepository":"devops", "releaseversion":"0.1.0"}}, Secrets:landscaper.Secrets{}, SecretValues:landscaper.SecretValues{}}
[0000] DEBUG Desired state has been read components=2 directory=example/landscape
[0000] INFO Obtain current state Helm Releases (Components) from Tiller
[0000] DEBUG listHelmReleases
[0000] DEBUG Setup Helm Client helmClientVersion=v2.3.1
[0000] DEBUG Create tiller tunnel tillerNamespace=kube-system
E0504 14:40:20.408012 7197 portforward.go:209] Unable to create listener: Error listen tcp6 [::1]:22972: bind: cannot assign requested address
[0000] DEBUG Created tiller tunnel port=22972
[0000] INFO Connected to Tiller clientServerCompatible=false tillerVersion=v2.1.3
[0000] WARN Helm and Tiller report incompatible version numbers
[0000] ERROR Loading current state failed error=rpc error: code = 2 desc = client version is incompatible
Error: rpc error: code = 2 desc = client version is incompatible
root@myserver:/tmp/landscaper$ helm version
E0504 14:40:26.246994 7211 portforward.go:209] Unable to create listener: Error listen tcp6 [::1]:34390: bind: cannot assign requested address
Client: &version.Version{SemVer:"v2.1.3", GitCommit:"5cbc48fb305ca4bf68c26eb8d2a7eb363227e973", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.1.3", GitCommit:"5cbc48fb305ca4bf68c26eb8d2a7eb363227e973", GitTreeState:"clean"}
rollulus commented
Hi, landscaper is built against a specific version of Helm. Your installed Tiller should be compatible with that version. In Landscaper 1.0.4 we bumped to Helm 2.3.1 which expects a 2.3.1 compatible Tiller. Either upgrade your Tiller (with e.g. helm init --upgrade
) or use Landscaper 1.0.3.