Comment 1 for bug 1975500

Revision history for this message
Moises Emilio Benzan Mora (moisesbenzan) wrote :

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-4b5c61145135.service.requires/vaultlocker-loop@41ee938d-3724-43ad-934d-4b5c61145135.service → /etc/systemd/system/vaultlocker-loop@.service.
unit-kubernetes-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
unit-kubernetes-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
unit-kubernetes-control-plane-1: 09:05:11 DEBUG unit.kubernetes-control-plane/1.juju-log vault-kv:59: tracer>
tracer: set flag kubernetes-control-plane.secure-storage.created
tracer: -- dequeue handler reactive/kubernetes_control_plane.py:3270:create_secure_storage
unit-kubernetes-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-3d5547baaff2-kubernetes-control-plane/kv/app-hashes/1
unit-kubernetes-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
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed Traceback (most recent call last):
unit-kubernetes-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>
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed main()
unit-kubernetes-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
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed hookenv._run_atexit()
unit-kubernetes-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
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed callback(*args, **kwargs)
unit-kubernetes-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
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed app_kv.update_hashes()
unit-kubernetes-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, in update_hashes
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed self._client.write(self._hash_path, **self._new_hashes)
unit-kubernetes-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/hvac/v1/__init__.py", line 269, in write
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed return self._adapter.post(
unit-kubernetes-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/hvac/adapters.py", line 126, in post
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed return self.request("post", url, **kwargs)
unit-kubernetes-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/hvac/adapters.py", line 364, in request
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed response = super(JSONAdapter, self).request(*args, **kwargs)
unit-kubernetes-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/hvac/adapters.py", line 330, in request
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed utils.raise_for_error(
unit-kubernetes-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/hvac/utils.py", line 49, in raise_for_error
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed raise exceptions.InternalServerError(
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed hvac.exceptions.InternalServerError: 1 error occurred:
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed * failed to write: dial tcp 127.0.0.1:3306: connect: connection refused
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed
unit-kubernetes-control-plane-1: 09:05:11 WARNING unit.kubernetes-control-plane/1.vault-kv-relation-changed , on post http://172.31.36.61:8200/v1/charm-e34c99d9-06c4-445c-8f56-3d5547baaff2-kubernetes-control-plane/kv/app-hashes/1
unit-kubernetes-control-plane-1: 09:05:11 DEBUG juju.worker.uniter.remotestate got leader settings change for kubernetes-control-plane/1: ok=true