hook failed: "vault-kv-relation-changed"
Bug #1975500 reported by
Konstantinos Kaskavelis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
We have a test run (SKU: fkb-master-
ERROR:root:
and the message for the Error status of the kubernetes master is:
hook failed: "vault-
Test run:
https:/
Artifacts:
https:/
To post a comment you must log in.
unit-kubernetes -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed Created symlink /etc/systemd/ system/ vaultlocker- decrypt@ 41ee938d- 3724-43ad- 934d-4b5c611451 35.service. requires/ vaultlocker- loop@41ee938d- 3724-43ad- 934d-4b5c611451 35.service → /etc/systemd/ system/ vaultlocker- loop@.service. -control- plane-1: 09:05:11 DEBUG unit.kubernetes -control- plane/1. juju-log vault-kv:59: Writing file /var/snap/ kube-apiserver/ common/ encryption/ encryption_ config. yaml root:root 600 -control- plane-1: 09:05:11 DEBUG unit.kubernetes -control- plane/1. juju-log vault-kv:59: tracer: cleared flag layer.vault- kv.app- kv.changed. encryption_ key -control- plane-1: 09:05:11 DEBUG unit.kubernetes -control- plane/1. juju-log vault-kv:59: tracer> control- plane.secure- storage. created kubernetes_ control_ plane.py: 3270:create_ secure_ storage -control- plane-1: 09:05:11 DEBUG unit.kubernetes -control- plane/1. juju-log vault-kv:59: vault-kv.log: Writing hashes to charm-e34c99d9- 06c4-445c- 8f56-3d5547baaf f2-kubernetes- control- plane/kv/ app-hashes/ 1 -control- plane-1: 09:05:11 DEBUG unit.kubernetes -control- plane/1. juju-log vault-kv:59: vault-kv.log: Logging VaultAppKV in to http:// 172.31. 36.61:8200 -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed Traceback (most recent call last): -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed File "/var/lib/ juju/agents/ unit-kubernetes -control- plane-1/ charm/hooks/ vault-kv- relation- changed" , line 22, in <module> -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed main() -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed File "/var/lib/ juju/agents/ unit-kubernetes -control- plane-1/ .venv/lib/ python3. 10/site- packages/ charms/ reactive/ __init_ _.py", line 84, in main -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed hookenv. _run_atexit( ) -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed File "/var/lib/ juju/agents/ unit-kubernetes -control- plane-1/ .venv/lib/ python3. 10/site- packages/ charmhelpers/ core/hookenv. py", line 1357, in _run_atexit -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed callback(*args, **kwargs) -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed File "/var/lib/ juju/agents/ unit-kubernetes -control- plane-1/ charm/reactive/ vault_kv. py", line 71, in update_ app_kv_ hashes -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed app_kv. update_ hashes( ) -control- plane-1: 09:05:11 WARNING unit.kubernetes -control- plane/1. vault-kv- relation- changed File "/var/lib/ juju/agents/ unit-kubernetes -control- plane-1/ charm/lib/ charms/ layer/vault_ kv.py", line 224, ...
unit-kubernetes
unit-kubernetes
unit-kubernetes
tracer: set flag kubernetes-
tracer: -- dequeue handler reactive/
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes
unit-kubernetes