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

gcs backend ignores error on close #4691

Closed
nkovacs opened this issue Jun 4, 2018 · 0 comments
Closed

gcs backend ignores error on close #4691

nkovacs opened this issue Jun 4, 2018 · 0 comments

Comments

@nkovacs
Copy link

nkovacs commented Jun 4, 2018

Describe the bug
The error generated by w.Close() is ignored here: https://github.com/hashicorp/vault/blob/v0.10.1/physical/gcs/gcs.go#L179

To Reproduce
Steps to reproduce the behavior:

  1. Run vault operator init
  2. See failed to unseal barrier: Vault is not initialized

Expected behavior
See the actual error (which in our case was a permission error)

Environment:

  • Vault Server Version (retrieve with vault status): 0.10.1
  • Vault CLI Version (retrieve with vault version): 0.10.1
  • Server Operating System/Architecture: Linux

Vault server configuration file(s):

# Paste your Vault config here.
# Be sure to scrub any sensitive values

Additional context

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

1 participant