vault charm should tune open file parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vault Snap |
Triaged
|
Medium
|
Unassigned | ||
vault-charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
We are hitting a bug with vault deploy charm: during startup, before unsealing, it consumes all the 1024 default open files (fds).
according to
https:/
I implemented a workaround
juju exec --application=vault -- 'cat /proc/$(pidof vault)/limits | awk "NR==1; /Max open files/"'
juju exec --application=vault -- "sed -i 's/\[Service\
juju exec --application=vault -- "systemctl daemon-reload"
juju exec --application=vault -- "systemctl restart vault"
juju exec --application=vault -- 'cat /proc/$(pidof vault)/limits | awk "NR==1; /Max open files/"'
juju exec --application=vault -- "systemctl status vault"
juju exec --application=vault -- 'export VAULT_ADDR=http://
Can you apply in the charm or at least expose a parameter can be set via juju?
Changed in vault-charm: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Raising a task for the vault snap as well as newer versions can run the server daemon via the snap, rather than the charm provided systemd configuration.