After kubeflow-lite installaton juju status
gives me information below.
There are two dex-auth unit. One fails, and the other is “waiting for leadership”
dex-auth/4* error idle 10.1.85.178 5556/TCP hook failed: “ingress-relation-broken” dex-auth/5 waiting idle 10.1.85.185 5556/TCP Waiting for leadership
kfp-schedwf/1*, kfp-viz/1*, and admission-webhook/1* are waiting for leadership.
Morever, I have the logs below. Could you please help me how I can solve these problems?
application-dex-auth: 10:15:43 ERROR unit.dex-auth/4.juju-log ingress:3: Uncaught exception while in charm code: Traceback (most recent call last): *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/model.py”, line 1284, in _run*** *** result = run(args, kwargs)* *** File “/usr/lib/python3.8/subprocess.py”, line 516, in run*** *** raise CalledProcessError(retcode, process.args,*** subprocess.CalledProcessError: Command ‘(’/var/lib/juju/tools/unit-dex-auth-4/relation-get’, ‘-r’, ‘3’, ‘-’, ‘’, ‘–app’, ‘–format=json’)’ returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): *** File “./src/charm.py”, line 209, in *** *** main(Operator)*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/main.py”, line 394, in main*** *** charm = charm_class(framework)*** *** File “./src/charm.py”, line 44, in init*** *** self.interfaces = get_interfaces(self)*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/serialized_data_interface/init.py”, line 263, in get_interfaces*** *** requires = {*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/serialized_data_interface/init.py”, line 264, in *** *** name: SerializedDataInterface(*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/serialized_data_interface/init.py”, line 110, in init*** *** others = {*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/serialized_data_interface/init.py”, line 111, in *** *** app.name: bag.get("_supported_versions")*** *** File “/usr/lib/python3.8/_collections_abc.py”, line 660, in get*** *** return self[key]*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/model.py”, line 400, in getitem*** *** return self._data[key]*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/model.py”, line 384, in _data*** *** data = self._lazy_data = self._load()*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/model.py”, line 748, in _load*** *** return self._backend.relation_get(self.relation.id, self._entity.name, self._is_app)*** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/model.py”, line 1351, in relation_get*** *** return self._run(args, return_output=True, use_json=True)** *** File “/var/lib/juju/agents/unit-dex-auth-4/charm/venv/ops/model.py”, line 1286, in _run*** *** raise ModelError(e.stderr)*** ops.model.ModelError: b’ERROR “” is not a valid unit or application\n’