error connecting to /tmp/tmux-0/default (No such file or directory)
sudo systemctl status vault
This is a Juju debug-hooks tmux session. Remember:
1. You need to execute hooks/actions manually if you want them to run for trapped events.
2. When you are finished with an event, you can run 'exit' to close the current window and allow Juju to continue processing
new events for this unit without exiting a current debug-session.
3. To run an action or hook and end the debugging session avoiding processing any more events manually, use:
./hooks/start
tmux kill-session -t vault/0 # or, equivalently, CTRL+a d
error connecting to /tmp/tmux-0/default (No such file or directory)
sudo systemctl status vault
This is a Juju debug-hooks tmux session. Remember:
1. You need to execute hooks/actions manually if you want them to run for trapped events.
2. When you are finished with an event, you can run 'exit' to close the current window and allow Juju to continue processing
new events for this unit without exiting a current debug-session.
3. To run an action or hook and end the debugging session avoiding processing any more events manually, use:
./hooks/start
tmux kill-session -t vault/0 # or, equivalently, CTRL+a d
4. CTRL+a is tmux prefix.
More help and info is available in the online documentation: /discourse. jujucharms. com/t/debugging -charm- hooks
https:/
------- ------- ------- ------- ------- -----
sudo journalctl -u vault.service
geoint@maas:~$ juju debug-hook vault/0
no server running on /tmp/tmux-0/default
- (press RETURN)-- Logs begin at Sun 2021-02-21 06:50:14 UTC, end at Mon 2021-06-14 19:05:20 UTC. -- duration: "1m30s", max_request_size: "33554432", tls: "disabled") duration: "1m30s", max_request_size: "33554432", tls: "dis> 21T07:12: 15.502Z [INFO] proxy environment: http_proxy= https_proxy= no_proxy= 21T07:12: 15.509Z [WARN] storage.mysql: No TLS specified, credentials will be sent in plaintext. To mute this warning add 'plaintext_ connection_ allowed' > 21T07:12: 16.322Z [WARN] no `api_addr` value specified in config or in VAULT_API_ADDR; falling back to detection if possible, but this value should be m> 21T07:12: 16.503Z [INFO] core: security barrier not initialized 21T07:15: 24.575Z [INFO] core: security barrier not initialized 21T07:19: 41.303Z [INFO] core: security barrier not initialized 21T07:19: 41.474Z [INFO] core: security barrier initialized: stored=1 shares=5 threshold=3 21T07:19: 41.602Z [INFO] core: post-unseal setup starting 21T07:19: 41.811Z [INFO] core: loaded wrapping token key 21T07:19: 41.824Z [INFO] core: successfully setup plugin catalog: plugin-directory= 21T07:19: 41.825Z [INFO] core: no mounts; adding default mount table 21T07:19: 41.915Z [INFO] core: successfully mounted backend: type=cubbyhole path=cubbyhole/ 21T07:19: 41.924Z [INFO] core: successfully mounted backend: type=system path=sys/ 21T07:19: 41.942Z [INFO] core: successfully mounted backend: type=identity path=identity/ 21T07:19: 42.148Z [INFO] core: successfully enabled credential backend: type=token path=token/ 21T07:19: 42.164Z [INFO] core: restoring leases 21T07:19: 42.164Z [INFO] rollback: starting rollback manager 21T07:19: 42.190Z [INFO] expiration: lease restore complete 21T07:19: 42.295Z [INFO] identity: entities restored 21T07:19: 42.296Z [INFO] identity: groups restored 21T07:19: 42.300Z [INFO] core: usage gauge collection is disabled 21T07:19: 42.336Z [INFO] core: post-unseal setup complete 21T07:19: 42.473Z [INFO] core: root token generated 21T07:19: 42.473Z [INFO] core: pre-seal teardown starting 21T07:19: 42.473Z [INFO] rollback: stopping rollback manager 21T07:19: 42.473Z [INFO] core: pre-seal teardown complete 21T07:22: 03.163Z [INFO] core: clustering disabled, not starting listeners 21T07:22: 03.183Z [INFO] core: post-unseal setup starting 21T07:22: 03.218Z [INFO] core: loaded wrapping token key 21T07:22: 03.218Z [INFO] core: successfully setup plugin catalog: plugin-directory= 21T07:22: 03.220Z [INFO] core: successfully mounted backend: type=system path=sys/ 21T07:22: 03.220Z [INFO] core: successfully mounted backend: type=identity path=identity/ 21T07:22: 03.220Z [INFO] core: successfully mounted backend: type=cubbyhole path=cubbyhole/ 21T07:22: 03.247Z [INFO] core: successfully enabled credential backend: type=token path=token/ 21T07:22: 03.249Z [INFO] core: restoring leases 21T07:22: 03.249Z [INFO] rollback: starting rollback manager 21T07:22: 03.249Z [INFO] expiration: lease restore complete 21T07:22: 03.251Z [INFO] identity: entities restored 21T07:22: 03.252Z [INFO] identity: groups restored 21T07:22: 03.252Z [INFO] core: usage gauge collection is disabled 21T07:22: 03.285Z [INFO] core: post-unseal setup complete
Feb 21 07:12:13 juju-191a8d-0-lxd-6 systemd[1]: Started HashiCorp Vault.
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: ==> Vault server configuration:
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Cgo: enabled
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Go Version: go1.13.15
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Listener 1: tcp (addr: "[::]:8200", cluster address: "[::]:8201", max_request_
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Listener 2: tcp (addr: "127.0.0.1:8220", cluster address: "127.0.0.1:8221", max_request_
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Log Level: info
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Mlock: supported: true, enabled: false
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Recovery Mode: false
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Storage: mysql (HA disabled)
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: Version: Vault v1.5.4
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: ==> Vault server started! Log data will stream in below:
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:12:16 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:15:24 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:41 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:19:42 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
Feb 21 07:22:03 juju-191a8d-0-lxd-6 vault[42952]: 2021-02-
lines 1-54