Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login - panic: assignment to entry in nil map (0.11.4) #5640

Closed
nodesocket opened this issue Oct 29, 2018 · 4 comments
Closed

login - panic: assignment to entry in nil map (0.11.4) #5640

nodesocket opened this issue Oct 29, 2018 · 4 comments

Comments

@nodesocket
Copy link

nodesocket commented Oct 29, 2018

With 0.11.4 on Linux AMD64, running:

vault login

Crashes with:

root@dae9a269aed0:/tmp# vault login
panic: assignment to entry in nil map

goroutine 1 [running]:
github.com/hashicorp/vault/command.(*LoginCommand).Run(0xc00009e230, 0xc000096010, 0x0, 0x0, 0xc00000b820)
	/gopath/src/github.com/hashicorp/vault/command/login.go:255 +0xdee
github.com/hashicorp/vault/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc0004ef7c0, 0xc0004ef7c0, 0xc00000bbe0, 0xc0006341e0)
	/gopath/src/github.com/hashicorp/vault/vendor/github.com/mitchellh/cli/cli.go:255 +0x207
github.com/hashicorp/vault/command.RunCustom(0xc000096010, 0x1, 0x1, 0xc000143b30, 0x0)
	/gopath/src/github.com/hashicorp/vault/command/main.go:170 +0x74a
github.com/hashicorp/vault/command.Run(0xc000096010, 0x1, 0x1, 0xc000080058)
	/gopath/src/github.com/hashicorp/vault/command/main.go:81 +0x48
main.main()
	/gopath/src/github.com/hashicorp/vault/main.go:10 +0x62

Reverting to version 0.11.3 vault login works as expected.

Configuration is simply:

storage "file" {
  path = "/tmp/vault-data"
}

listener "tcp" {
  address = "127.0.0.1:8200"
  tls_disable = true
}
@chrishoffman
Copy link
Contributor

Duplicate of #5602

@chrishoffman chrishoffman marked this as a duplicate of #5602 Oct 29, 2018
@mesaugat
Copy link

The issue was fixed 5 days ago but no sign of a release yet. Isn't this critical functionality?

@jefferai
Copy link
Member

You can simply use 0.11.3 instead; this is a client side only issue.

@mesaugat
Copy link

I've been using 0.11.3, thanks! Even though this is a client only issue I was hoping for a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants