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

shield (vault embedded) failure with jammy stemcell #195

Open
JCL38-ORANGE opened this issue Apr 28, 2023 · 3 comments
Open

shield (vault embedded) failure with jammy stemcell #195

JCL38-ORANGE opened this issue Apr 28, 2023 · 3 comments

Comments

@JCL38-ORANGE
Copy link

shield (vault) doesn't start on jammy stemcell

Observed behavior

Error initializing core: Failed to lock memory: cannot allocate memory

This usually means that the mlock syscall is not available.
Vault uses mlock to prevent memory from being swapped to
disk. This requires root privileges as well as a machine
that supports mlock. Please enable mlock on your system or
disable Vault from using it. To disable Vault from using it,
set the `disable_mlock` configuration option in your configuration
file. 

Workaround applied

https://support.hashicorp.com/hc/en-us/articles/115012787688-Vault-and-mlock-

@JCL38-ORANGE
Copy link
Author

Hello,
Do you plan to fix it in the next release ?
Thanks and regards,
Jean-Christophe.

@norman-abramovitz
Copy link
Contributor

norman-abramovitz commented Aug 24, 2023

There are plans to get Shield working on the Jammy stemcell.

So release 9.1.2 does not work for you?

@JCL38-ORANGE
Copy link
Author

Hello,
In our context, release 9.1.2 can't be used because of :

Due to updates to vault for security reasons, this version of shield no longer is able to initialize a new shield deployment, but can still update an existing shield deployment. This will be resolved in a future release, but in the mean time, deploy with the v9.1.0 deployment.
```
Regards,
Jean-Christophe. 

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

No branches or pull requests

2 participants