You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Istio Ingress is scaled beyond 1, It goes in to error state. It should instead continue to work and it should scale custom deployments accordingly.
To Reproduce
juju scale-application istio-ingress-k8s 2
Environment
latest/edge
Relevant log output
unit-istio-ingress-k8s-1: 23:13:37 ERROR unit.istio-ingress-k8s/1.juju-log Uncaught exception whilein charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/./src/charm.py", line 374, in<module>
main(IstioIngressCharm)
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/main.py", line 551, in main
manager.run()
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/main.py", line 530, in run
self._emit()
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/main.py", line 519, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name)
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/main.py", line 147, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/framework.py", line 348, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/framework.py", line 860, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/venv/ops/framework.py", line 950, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/./src/charm.py", line 135, in _on_config_changed
self._sync_all_resources()
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/./src/charm.py", line 291, in _sync_all_resources
self._sync_ingress_resources()
File "/var/lib/juju/agents/unit-istio-ingress-k8s-1/charm/./src/charm.py", line 308, in _sync_ingress_resources
raise RuntimeError("Ingress can only be provided on the leader unit.")
RuntimeError: Ingress can only be provided on the leader unit.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
When Istio Ingress is scaled beyond 1, It goes in to error state. It should instead continue to work and it should scale custom deployments accordingly.
To Reproduce
juju scale-application istio-ingress-k8s 2
Environment
latest/edge
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: