Hi,
I'm running vault 0.6.2 on a postgresql storage backend and zookeeper HA backend. I upgraded to 0.7.0 by upgrading two of my three vault nodes, unsealing them and then stepping down the last one. On step down, the following error came up in one of the upgraded nodes:
2017/04/20 14:55:08.319231 [ERROR] core: post-unseal setup failed: error=expiration state restore failed: failed to read lease entry: pq: unnamed prepared statement does not exist
2017/04/20 14:55:08.552974 [INFO ] core: acquired lock, enabling active operation
2017/04/20 14:55:08.563094 [ERROR] core: error performing key upgrades: error=error scheduling upgrade cleanup: failed to list upgrades: pq: bind message supplies 1 parameters, but prepared statement "" requires 2
2017/04/20 14:55:08.567253 [INFO ] core: vault is sealed
After which, I shut down all of the vault nodes and now I'm getting: 2017/04/20 15:45:13.429732 [INFO ] core: security barrier not initialized
I have had this issue before and just had to restore from backup to fix it as I think that the 'core/keyring' entry was obliterated from the database.
Once again, I search for the 'core/keyring' entry, but cannot find it in the database.
I rolled back the vault nodes to 0.6.2 and still getting the core: security barrier not initialized error.
I'm not sure what is going on here. It looks to me like the upgrade lost my keyring. Am I crazy?
Thanks in advance.
George