Skip to content

Instantly share code, notes, and snippets.

@melkorm
Created October 2, 2019 10:11
Show Gist options
  • Save melkorm/d6a46b37ba2618222a89c5476d34ab06 to your computer and use it in GitHub Desktop.
Save melkorm/d6a46b37ba2618222a89c5476d34ab06 to your computer and use it in GitHub Desktop.
➜ vault-issues ./start-server.sh
==> Vault server configuration:
Api Address: http://0.0.0.0:8200
Cgo: disabled
Cluster Address: https://0.0.0.0:8201
Listener 1: tcp (addr: "0.0.0.0:8200", cluster address: "0.0.0.0:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
Log Level: trace
Mlock: supported: true, enabled: false
Storage: inmem
Version: Vault v1.0.1
Version Sha: 08df121c8b9adcc2b8fd55fc8506c3f9714c7e61
WARNING! dev mode is enabled! In this mode, Vault runs entirely in-memory
and starts unsealed with a single unseal key. The root token is already
authenticated to the CLI, so you can immediately begin using Vault.
You may need to set the following environment variable:
$ export VAULT_ADDR='http://0.0.0.0:8200'
The unseal key and root token are displayed below in case you want to
seal/unseal the Vault or re-authenticate.
Unseal Key: mrgWIjMQg+KmHYqAGq6U0wHnesLTBlkQQZiRSqsc6z8=
Root Token: s.cZjB4uIPp5WZlw7M2gaKc5lB
Development mode should NOT be used in production installations!
==> Vault server started! Log data will stream in below:
2019-10-01T15:44:27.205Z [WARN] no `api_addr` value specified in config or in VAULT_API_ADDR; falling back to detection if possible, but this value should be manually set
2019-10-01T15:44:27.205Z [DEBUG] storage.cache: creating LRU cache: size=0
2019-10-01T15:44:27.205Z [DEBUG] cluster listener addresses synthesized: cluster_addresses=[0.0.0.0:8201]
2019-10-01T15:44:27.222Z [INFO] core: security barrier not initialized
2019-10-01T15:44:27.222Z [INFO] core: security barrier initialized: shares=1 threshold=1
2019-10-01T15:44:27.222Z [DEBUG] core: cluster name not found/set, generating new
2019-10-01T15:44:27.222Z [DEBUG] core: cluster name set: name=vault-cluster-f1bc19cc
2019-10-01T15:44:27.222Z [DEBUG] core: cluster ID not found, generating new
2019-10-01T15:44:27.222Z [DEBUG] core: cluster ID set: id=25d1efd7-41e3-de96-1dbd-865811d6f650
2019-10-01T15:44:27.222Z [INFO] core: post-unseal setup starting
2019-10-01T15:44:27.223Z [DEBUG] core: clearing forwarding clients
2019-10-01T15:44:27.223Z [DEBUG] core: done clearing forwarding clients
2019-10-01T15:44:27.243Z [INFO] core: loaded wrapping token key
2019-10-01T15:44:27.243Z [INFO] core: successfully setup plugin catalog: plugin-directory=
2019-10-01T15:44:27.243Z [INFO] core: no mounts; adding default mount table
2019-10-01T15:44:27.250Z [INFO] core: successfully mounted backend: type=kv path=secret/
2019-10-01T15:44:27.250Z [INFO] core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2019-10-01T15:44:27.250Z [INFO] core: successfully mounted backend: type=system path=sys/
2019-10-01T15:44:27.251Z [INFO] core: successfully mounted backend: type=identity path=identity/
2019-10-01T15:44:27.253Z [INFO] core: successfully enabled credential backend: type=token path=token/
2019-10-01T15:44:27.253Z [INFO] core: restoring leases
2019-10-01T15:44:27.253Z [INFO] rollback: starting rollback manager
2019-10-01T15:44:27.254Z [DEBUG] expiration: collecting leases
2019-10-01T15:44:27.254Z [DEBUG] expiration: leases collected: num_existing=0
2019-10-01T15:44:27.255Z [INFO] expiration: lease restore complete
2019-10-01T15:44:27.255Z [DEBUG] identity: loading entities
2019-10-01T15:44:27.255Z [DEBUG] identity: entities collected: num_existing=0
2019-10-01T15:44:27.256Z [INFO] identity: entities restored
2019-10-01T15:44:27.256Z [DEBUG] identity: identity loading groups
2019-10-01T15:44:27.256Z [DEBUG] identity: groups collected: num_existing=0
2019-10-01T15:44:27.256Z [INFO] identity: groups restored
2019-10-01T15:44:27.256Z [DEBUG] core: starting cluster listeners
2019-10-01T15:44:27.256Z [DEBUG] core: cluster listener setup function
2019-10-01T15:44:27.256Z [DEBUG] core: clearing forwarding clients
2019-10-01T15:44:27.256Z [DEBUG] core: done clearing forwarding clients
2019-10-01T15:44:27.256Z [DEBUG] core: leaving cluster listener setup function
2019-10-01T15:44:27.256Z [INFO] core: post-unseal setup complete
2019-10-01T15:44:27.256Z [INFO] core: starting listener: listener_address=0.0.0.0:8201
2019-10-01T15:44:27.256Z [INFO] core: serving cluster requests: cluster_listen_address=[::]:8201
2019-10-01T15:44:27.258Z [INFO] core: root token generated
2019-10-01T15:44:27.258Z [INFO] core: pre-seal teardown starting
2019-10-01T15:44:27.258Z [INFO] core: stopping cluster listeners
2019-10-01T15:44:27.258Z [DEBUG] core: waiting for success notification while stopping cluster listeners
2019-10-01T15:44:27.258Z [INFO] core: shutting down forwarding rpc listeners
2019-10-01T15:44:27.258Z [INFO] core: forwarding rpc listeners stopped
2019-10-01T15:44:27.760Z [INFO] core: rpc listeners successfully shut down
2019-10-01T15:44:27.760Z [INFO] core: cluster listeners successfully shut down
2019-10-01T15:44:27.760Z [DEBUG] expiration: stop triggered
2019-10-01T15:44:27.760Z [DEBUG] expiration: finished stopping
2019-10-01T15:44:27.760Z [INFO] rollback: stopping rollback manager
2019-10-01T15:44:27.762Z [INFO] core: pre-seal teardown complete
2019-10-01T15:44:27.762Z [INFO] core: vault is unsealed
2019-10-01T15:44:27.763Z [INFO] core: post-unseal setup starting
2019-10-01T15:44:27.763Z [DEBUG] core: clearing forwarding clients
2019-10-01T15:44:27.763Z [DEBUG] core: done clearing forwarding clients
2019-10-01T15:44:27.763Z [INFO] core: loaded wrapping token key
2019-10-01T15:44:27.763Z [INFO] core: successfully setup plugin catalog: plugin-directory=
2019-10-01T15:44:27.764Z [INFO] core: successfully mounted backend: type=kv path=secret/
2019-10-01T15:44:27.765Z [INFO] core: successfully mounted backend: type=system path=sys/
2019-10-01T15:44:27.766Z [INFO] core: successfully mounted backend: type=identity path=identity/
2019-10-01T15:44:27.766Z [INFO] core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2019-10-01T15:44:27.770Z [INFO] core: successfully enabled credential backend: type=token path=token/
2019-10-01T15:44:27.770Z [INFO] core: restoring leases
2019-10-01T15:44:27.770Z [INFO] rollback: starting rollback manager
2019-10-01T15:44:27.770Z [DEBUG] expiration: collecting leases
2019-10-01T15:44:27.770Z [DEBUG] expiration: leases collected: num_existing=0
2019-10-01T15:44:27.770Z [INFO] expiration: lease restore complete
2019-10-01T15:44:27.770Z [DEBUG] identity: loading entities
2019-10-01T15:44:27.771Z [DEBUG] identity: entities collected: num_existing=0
2019-10-01T15:44:27.771Z [INFO] identity: entities restored
2019-10-01T15:44:27.771Z [DEBUG] identity: identity loading groups
2019-10-01T15:44:27.771Z [DEBUG] identity: groups collected: num_existing=0
2019-10-01T15:44:27.771Z [INFO] identity: groups restored
2019-10-01T15:44:27.771Z [DEBUG] core: starting cluster listeners
2019-10-01T15:44:27.771Z [DEBUG] core: cluster listener setup function
2019-10-01T15:44:27.771Z [DEBUG] core: clearing forwarding clients
2019-10-01T15:44:27.771Z [DEBUG] core: done clearing forwarding clients
2019-10-01T15:44:27.771Z [DEBUG] core: leaving cluster listener setup function
2019-10-01T15:44:27.771Z [INFO] core: post-unseal setup complete
2019-10-01T15:44:27.771Z [INFO] core: starting listener: listener_address=0.0.0.0:8201
2019-10-01T15:44:27.771Z [INFO] core: serving cluster requests: cluster_listen_address=[::]:8201
2019-10-01T15:44:27.776Z [INFO] core: mount tuning of options: path=secret/ options=map[version:2]
2019-10-01T15:44:27.778Z [INFO] secrets.kv.kv_09513d99: collecting keys to upgrade
2019-10-01T15:44:27.779Z [INFO] secrets.kv.kv_09513d99: done collecting keys: num_keys=1
2019-10-01T15:44:27.780Z [DEBUG] secrets.kv.kv_09513d99: upgrading keys: progress=0/1
2019-10-01T15:44:27.780Z [INFO] secrets.kv.kv_09513d99: upgrading keys finished
2019-10-01T15:44:32.700Z [INFO] core: successful mount: namespace= path=database/ type=database
2019-10-01T15:44:33.869Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: initialize: transport=builtin status=started
2019-10-01T15:44:34.447Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: initialize: transport=builtin status=finished verify=true err=<nil> took=577.8242ms
2019-10-01T15:44:46.790Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:44:48.117Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.326805s
2019-10-01T15:44:50.143Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:45:27.701Z [DEBUG] rollback: attempting rollback: path=auth/token/
2019-10-01T15:45:27.701Z [DEBUG] rollback: attempting rollback: path=identity/
2019-10-01T15:45:27.701Z [DEBUG] rollback: attempting rollback: path=cubbyhole/
2019-10-01T15:45:27.702Z [DEBUG] rollback: attempting rollback: path=secret/
2019-10-01T15:45:27.702Z [DEBUG] rollback: attempting rollback: path=sys/
2019-10-01T15:45:27.702Z [DEBUG] rollback: attempting rollback: path=database/
2019-10-01T15:45:52.248Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:46:27.633Z [DEBUG] rollback: attempting rollback: path=auth/token/
2019-10-01T15:46:27.633Z [DEBUG] rollback: attempting rollback: path=secret/
2019-10-01T15:46:27.633Z [DEBUG] rollback: attempting rollback: path=cubbyhole/
2019-10-01T15:46:27.633Z [DEBUG] rollback: attempting rollback: path=sys/
2019-10-01T15:46:27.633Z [DEBUG] rollback: attempting rollback: path=database/
2019-10-01T15:46:27.633Z [DEBUG] rollback: attempting rollback: path=identity/
2019-10-01T15:46:54.204Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:47:27.564Z [DEBUG] rollback: attempting rollback: path=identity/
2019-10-01T15:47:27.564Z [DEBUG] rollback: attempting rollback: path=database/
2019-10-01T15:47:27.564Z [DEBUG] rollback: attempting rollback: path=cubbyhole/
2019-10-01T15:47:27.564Z [DEBUG] rollback: attempting rollback: path=sys/
2019-10-01T15:47:27.564Z [DEBUG] rollback: attempting rollback: path=secret/
2019-10-01T15:47:27.564Z [DEBUG] rollback: attempting rollback: path=auth/token/
2019-10-01T15:47:56.260Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:48:27.492Z [DEBUG] rollback: attempting rollback: path=auth/token/
2019-10-01T15:48:27.492Z [DEBUG] rollback: attempting rollback: path=secret/
2019-10-01T15:48:27.492Z [DEBUG] rollback: attempting rollback: path=cubbyhole/
2019-10-01T15:48:27.492Z [DEBUG] rollback: attempting rollback: path=sys/
2019-10-01T15:48:27.492Z [DEBUG] rollback: attempting rollback: path=database/
2019-10-01T15:48:27.492Z [DEBUG] rollback: attempting rollback: path=identity/
2019-10-01T15:48:58.298Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:49:27.421Z [DEBUG] rollback: attempting rollback: path=auth/token/
2019-10-01T15:49:27.421Z [DEBUG] rollback: attempting rollback: path=secret/
2019-10-01T15:49:27.421Z [DEBUG] rollback: attempting rollback: path=identity/
2019-10-01T15:49:27.422Z [DEBUG] rollback: attempting rollback: path=cubbyhole/
2019-10-01T15:49:27.422Z [DEBUG] rollback: attempting rollback: path=sys/
2019-10-01T15:49:27.422Z [DEBUG] rollback: attempting rollback: path=database/
2019-10-01T15:50:00.279Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:50:03.346Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err="driver: bad connection" took=5m13.5570328s
2019-10-01T15:50:03.347Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err="context canceled" took=4m11.3820182s
2019-10-01T15:50:03.349Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err="context canceled" took=3m9.3568063s
2019-10-01T15:50:03.349Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err="context canceled" took=1m5.1224078s
2019-10-01T15:50:03.351Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err="context canceled" took=2m7.2336053s
2019-10-01T15:50:04.857Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=4.5787007s
2019-10-01T15:50:06.841Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:50:08.169Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.363741s
2019-10-01T15:50:10.371Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:50:11.773Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.4022791s
2019-10-01T15:50:13.883Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=started
2019-10-01T15:50:15.256Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.373114s
^C==> Vault shutdown triggered
2019-10-01T15:50:16.187Z [DEBUG] core: shutdown called
2019-10-01T15:50:16.187Z [INFO] core: marked as sealed
2019-10-01T15:50:16.187Z [DEBUG] core: clearing forwarding clients
2019-10-01T15:50:16.187Z [DEBUG] core: done clearing forwarding clients
2019-10-01T15:50:16.187Z [INFO] core: pre-seal teardown starting
2019-10-01T15:50:16.187Z [INFO] core: stopping cluster listeners
2019-10-01T15:50:16.187Z [DEBUG] core: waiting for success notification while stopping cluster listeners
2019-10-01T15:50:16.187Z [INFO] core: shutting down forwarding rpc listeners
2019-10-01T15:50:16.187Z [INFO] core: forwarding rpc listeners stopped
2019-10-01T15:50:16.438Z [INFO] core: rpc listeners successfully shut down
2019-10-01T15:50:16.438Z [INFO] core: cluster listeners successfully shut down
2019-10-01T15:50:16.438Z [DEBUG] expiration: stop triggered
2019-10-01T15:50:16.438Z [DEBUG] expiration: finished stopping
2019-10-01T15:50:16.438Z [INFO] rollback: stopping rollback manager
2019-10-01T15:50:16.438Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: close: transport=builtin status=started
2019-10-01T15:50:16.439Z [TRACE] secrets.database.database_0f754b69.postgresql-database-plugin: close: transport=builtin status=finished err=<nil> took=558.2µs
2019-10-01T15:50:16.439Z [INFO] core: pre-seal teardown complete
2019-10-01T15:50:16.439Z [DEBUG] core: sealing barrier
2019-10-01T15:50:16.439Z [INFO] core: vault is sealed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment