canonical / charmed-aether-sd-core

Charmed Aether SD-Core is a secure, reliable and observable open source 5G private mobile network.
https://canonical-charmed-aether-sd-core.readthedocs-hosted.com/en/latest/
Apache License 2.0
2 stars 2 forks source link

Juju switch SDcore + traefik & upf failures #27

Open Codeternel opened 2 months ago

Codeternel commented 2 months ago

Bug Description

Hello,

I have several issues when following your Getting started tutorial. I am posting them all in one single issue because I suspect they may all be correlated.

Everything runs fine until step 5, where I need to deploy the SD-Core.

  1. First, up until very recently, I had issues when running the command juju switch sdcore, where I got a message stating that permission to mount was denied. It also told me some directory was not accessible. Unfortunately I cannot be more precise, because this command is now running without error messages and I don't know why (now it simply tells microk8s-localhost:admin/sdcore (no change)). The only difference is that I have re-ran the command with the sudo prefix. Any clues on what happened? Does writing some commands with sudo and some others without can cause undesirable behaviors (to be clear, I have not added other sudo's if not indicated by the tutorial) ?
  2. When I tried to understand what was wrong with sdcore, I have tried executing juju show-controller sdcore, and I got the following result:
{}
ERROR controller sdcore not found

However, when I run juju whoami, I get:

Controller:  microk8s-localhost
Model:       sdcore
User:        admin

Does that make any sense? Can it block the correct execution of the program further down the road?

  1. After executing the terraform apply -auto-approve command followed by watch -n 1 -c juju status --color --relations, I get the following status:

image

Unfortunately, I cannot get any information about this PFCP agent service and how to fix this. As already mentioned, I suspect it may be linked to the two first points; is there any chance someone knows what is going wrong and how to fix it?

Thank you very much for your help in advance.

To Reproduce

First point:

  1. juju switch sdcore

Second point:

  1. juju show-controller sdcore
  2. juju whoami

Third point:

  1. terraform apply -auto-approve
  2. watch -n 1 -c juju status --color --relations

Environment

I am running Juju on a VM through a Proxmox Virtual Environment version 8.2.2. The VM has the following hardware configuration:

Relevant log output

Input should be a valid URL, invalid IPv4 address [type=url_parsing, input_value='http://sdcore-nms.10.0.0.3/', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/url_parsing
unit-traefik-0: 09:54:31 ERROR juju.worker.uniter.operation hook "config-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-traefik-0: 09:54:31 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-router-0: 09:54:31 INFO unit.router/0.juju-log Successfully set IP forwarding
unit-router-0: 09:54:32 INFO unit.router/0.juju-log Successfully set ip tables
unit-router-0: 09:54:32 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 09:54:32 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-gw "HTTP/1.1 200 OK"
unit-router-0: 09:54:32 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/ran-gw "HTTP/1.1 200 OK"
unit-router-0: 09:54:32 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-gw "HTTP/1.1 200 OK"
unit-router-0: 09:54:32 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 09:54:32 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/router-0 "HTTP/1.1 200 OK"
unit-router-0: 09:54:32 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-udm-0: 09:54:35 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-self-signed-certificates-0: 09:54:41 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-grafana-agent-0: 09:55:00 INFO unit.grafana-agent/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/grafana-agent "HTTP/1.1 200 OK"
unit-grafana-agent-0: 09:55:01 INFO unit.grafana-agent/0.juju-log HTTP Request: PATCH https://10.152.183.1/api/v1/namespaces/sdcore/services/grafana-agent "HTTP/1.1 200 OK"
unit-grafana-agent-0: 09:55:01 INFO unit.grafana-agent/0.juju-log Kubernetes service 'grafana-agent' patched successfully
unit-grafana-agent-0: 09:55:02 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-traefik-0: 09:55:08 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-traefik-0: 09:55:08 WARNING unit.traefik/0.juju-log No 'certificates' relation found. Cannot generate csr.
unit-traefik-0: 09:55:10 ERROR unit.traefik/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
  File "./src/charm.py", line 1199, in <module>
    main(TraefikIngressCharm, use_juju_for_storage=True)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 548, in main
    manager.run()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 527, in run
    self._emit()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 516, in _emit
    _emit_charm_event(self.charm, self.dispatcher.event_name)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 348, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 860, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 950, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 540, in _on_config_changed
    self._process_status_and_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 601, in _process_status_and_configurations
    self._update_ingress_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 634, in _update_ingress_configurations
    self._process_ingress_relation(ingress_relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 754, in _process_ingress_relation
    self._provide_ingress(relation, provider)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 878, in _provide_ingress
    config = config_getter(relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 942, in _get_configs_per_app
    ipa.publish_url(relation, external_url)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/traefik_k8s/v2/ingress.py", line 552, in publish_url
    IngressProviderAppData(ingress=ingress_url).dump(relation.data[self.app])  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/pydantic/main.py", line 176, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for IngressProviderAppData
ingress.url
  Input should be a valid URL, invalid IPv4 address [type=url_parsing, input_value='http://sdcore-nms.10.0.0.3/', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/url_parsing
unit-traefik-0: 09:55:10 ERROR juju.worker.uniter.operation hook "config-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-traefik-0: 09:55:10 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-mongodb-0: 09:55:29 WARNING unit.mongodb/0.juju-log No relation: certificates
unit-mongodb-0: 09:55:30 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-nssf-0: 09:55:39 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-nms-0: 09:55:46 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-traefik-0: 09:56:26 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-traefik-0: 09:56:27 WARNING unit.traefik/0.juju-log No 'certificates' relation found. Cannot generate csr.
unit-traefik-0: 09:56:27 ERROR unit.traefik/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
  File "./src/charm.py", line 1199, in <module>
    main(TraefikIngressCharm, use_juju_for_storage=True)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 548, in main
    manager.run()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 527, in run
    self._emit()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 516, in _emit
    _emit_charm_event(self.charm, self.dispatcher.event_name)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 348, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 860, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 950, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 540, in _on_config_changed
    self._process_status_and_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 601, in _process_status_and_configurations
    self._update_ingress_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 634, in _update_ingress_configurations
    self._process_ingress_relation(ingress_relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 754, in _process_ingress_relation
    self._provide_ingress(relation, provider)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 878, in _provide_ingress
    config = config_getter(relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 942, in _get_configs_per_app
    ipa.publish_url(relation, external_url)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/traefik_k8s/v2/ingress.py", line 552, in publish_url
    IngressProviderAppData(ingress=ingress_url).dump(relation.data[self.app])  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/pydantic/main.py", line 176, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for IngressProviderAppData
ingress.url
  Input should be a valid URL, invalid IPv4 address [type=url_parsing, input_value='http://sdcore-nms.10.0.0.3/', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/url_parsing
unit-traefik-0: 09:56:27 ERROR juju.worker.uniter.operation hook "config-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-traefik-0: 09:56:27 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-traefik-0: 09:56:40 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-udr-0: 09:56:49 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-smf-0: 09:57:09 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-ausf-0: 09:57:17 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-nrf-0: 09:57:23 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-webui-0: 09:57:26 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: PATCH https://10.152.183.1/api/v1/namespaces/sdcore/services/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log Kubernetes service 'gnbsim' patched successfully
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/gnb-net "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/gnbsim-0 "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log Config file written
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log UPF route created
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/gnb-net "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:34 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/gnbsim-0 "HTTP/1.1 200 OK"
unit-gnbsim-0: 09:57:35 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-upf-0: 09:57:49 WARNING unit.upf/0.juju-log 2 containers are present in metadata.yaml and refresh_event was not specified. Defaulting to update_status. Metrics IP may not be set in a timely fashion.
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-net "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-net "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 09:57:49 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/upf-0 "HTTP/1.1 200 OK"
unit-upf-0: 09:57:52 ERROR unit.upf/0.juju-log Configuration check failed: non-zero exit code 1 executing ['/opt/bess/bessctl/bessctl', 'show', 'module', 'accessRoutes'], stdout='', stderr="WARNING: All log messages before absl::InitializeLog() is called are written to STDERR\nI0000 00:00:1721807872.500148     236 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache\n*** Error: No module 'accessRoutes' found\n  BESS daemon response - errno=2 (ENOENT: No such file or directory)\n       query: GetModuleInfo\n   query_arg: {'name': 'accessRoutes'}\n  Command failed: show module accessRoutes\n"
unit-upf-0: 09:57:52 INFO unit.upf/0.juju-log Starting configuration of the `bessd` service
unit-upf-0: 09:57:54 INFO unit.upf/0.juju-log Service `bessd` configuration script complete
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: WARNING:
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: All
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: log
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: messages
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: before
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: absl::InitializeLog()
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: is
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: called
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: are
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: written
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: to
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: STDERR
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: I0000
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: 00:00:1721807873.186476
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: 252
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: config.cc:230]
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: gRPC
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: experiments
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: enabled:
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: call_status_override_on_cancellation,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: event_engine_dns,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: event_engine_listener,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: http2_stats_fix,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: monitoring_experiment,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: pick_first_new,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: trace_record_callops,
unit-upf-0: 09:57:54 ERROR unit.upf/0.juju-log `up4.bess`: work_serializer_clears_time_cache
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log Service `routectl` restarted
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log No `fiveg_n3` relations found.
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/upf-external "HTTP/1.1 200 OK"
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-net "HTTP/1.1 200 OK"
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-net "HTTP/1.1 200 OK"
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 09:57:57 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/upf-0 "HTTP/1.1 200 OK"
unit-upf-0: 09:58:01 INFO unit.upf/0.juju-log Waiting for pfcp agent service to run
unit-upf-0: 09:58:02 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-grafana-agent-0: 09:58:04 INFO juju.worker.uniter.operation ran "metrics-endpoint-relation-changed" hook (via hook dispatching script: dispatch)
unit-pcf-0: 09:58:49 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-traefik-0: 09:58:57 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-traefik-0: 09:58:57 WARNING unit.traefik/0.juju-log No 'certificates' relation found. Cannot generate csr.
unit-traefik-0: 09:58:57 ERROR unit.traefik/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
  File "./src/charm.py", line 1199, in <module>
    main(TraefikIngressCharm, use_juju_for_storage=True)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 548, in main
    manager.run()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 527, in run
    self._emit()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 516, in _emit
    _emit_charm_event(self.charm, self.dispatcher.event_name)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 348, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 860, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 950, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 540, in _on_config_changed
    self._process_status_and_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 601, in _process_status_and_configurations
    self._update_ingress_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 634, in _update_ingress_configurations
    self._process_ingress_relation(ingress_relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 754, in _process_ingress_relation
    self._provide_ingress(relation, provider)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 878, in _provide_ingress
    config = config_getter(relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 942, in _get_configs_per_app
    ipa.publish_url(relation, external_url)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/traefik_k8s/v2/ingress.py", line 552, in publish_url
    IngressProviderAppData(ingress=ingress_url).dump(relation.data[self.app])  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/pydantic/main.py", line 176, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for IngressProviderAppData
ingress.url
  Input should be a valid URL, invalid IPv4 address [type=url_parsing, input_value='http://sdcore-nms.10.0.0.3/', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/url_parsing
unit-traefik-0: 09:58:58 ERROR juju.worker.uniter.operation hook "config-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-traefik-0: 09:58:58 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-udm-0: 09:59:11 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-nssf-0: 09:59:45 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-gw "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/ran-gw "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-gw "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 10:00:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/router-0 "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO unit.router/0.juju-log Successfully set IP forwarding
unit-router-0: 10:00:03 INFO unit.router/0.juju-log Successfully set ip tables
unit-router-0: 10:00:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-gw "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/ran-gw "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-gw "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/router-0 "HTTP/1.1 200 OK"
unit-router-0: 10:00:03 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-self-signed-certificates-0: 10:00:12 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-amf-0: 10:00:19 INFO unit.amf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/amf-external "HTTP/1.1 200 OK"
unit-amf-0: 10:00:19 INFO unit.amf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/amf-external "HTTP/1.1 200 OK"
unit-amf-0: 10:00:19 INFO unit.amf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/amf-external "HTTP/1.1 200 OK"
unit-amf-0: 10:00:19 INFO unit.amf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/amf-external "HTTP/1.1 200 OK"
unit-amf-0: 10:00:19 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-grafana-agent-0: 10:00:22 INFO unit.grafana-agent/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/grafana-agent "HTTP/1.1 200 OK"
unit-grafana-agent-0: 10:00:22 INFO unit.grafana-agent/0.juju-log HTTP Request: PATCH https://10.152.183.1/api/v1/namespaces/sdcore/services/grafana-agent "HTTP/1.1 200 OK"
unit-grafana-agent-0: 10:00:22 INFO unit.grafana-agent/0.juju-log Kubernetes service 'grafana-agent' patched successfully
unit-grafana-agent-0: 10:00:22 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-nms-0: 10:00:53 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-mongodb-0: 10:01:15 WARNING unit.mongodb/0.juju-log No relation: certificates
unit-mongodb-0: 10:01:16 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-traefik-0: 10:02:08 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-nrf-0: 10:02:11 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-udr-0: 10:02:17 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-ausf-0: 10:02:25 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-webui-0: 10:02:36 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-upf-0: 10:02:46 WARNING unit.upf/0.juju-log 2 containers are present in metadata.yaml and refresh_event was not specified. Defaulting to update_status. Metrics IP may not be set in a timely fashion.
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-net "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-net "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 10:02:46 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/upf-0 "HTTP/1.1 200 OK"
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log No `fiveg_n3` relations found.
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/upf-external "HTTP/1.1 200 OK"
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-net "HTTP/1.1 200 OK"
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-net "HTTP/1.1 200 OK"
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/upf "HTTP/1.1 200 OK"
unit-upf-0: 10:02:53 INFO unit.upf/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/upf-0 "HTTP/1.1 200 OK"
unit-upf-0: 10:02:57 INFO unit.upf/0.juju-log Waiting for pfcp agent service to run
unit-upf-0: 10:02:57 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-smf-0: 10:03:01 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: PATCH https://10.152.183.1/api/v1/namespaces/sdcore/services/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log Kubernetes service 'gnbsim' patched successfully
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/gnb-net "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:13 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/gnbsim-0 "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log Config file written
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log UPF route created
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/gnb-net "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/gnbsim "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:14 INFO unit.gnbsim/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/gnbsim-0 "HTTP/1.1 200 OK"
unit-gnbsim-0: 10:03:14 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-pcf-0: 10:03:35 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-traefik-0: 10:03:58 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-traefik-0: 10:03:59 WARNING unit.traefik/0.juju-log No 'certificates' relation found. Cannot generate csr.
unit-traefik-0: 10:03:59 ERROR unit.traefik/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
  File "./src/charm.py", line 1199, in <module>
    main(TraefikIngressCharm, use_juju_for_storage=True)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 548, in main
    manager.run()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 527, in run
    self._emit()
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 516, in _emit
    _emit_charm_event(self.charm, self.dispatcher.event_name)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 348, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 860, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 950, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 540, in _on_config_changed
    self._process_status_and_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 601, in _process_status_and_configurations
    self._update_ingress_configurations()
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 634, in _update_ingress_configurations
    self._process_ingress_relation(ingress_relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 754, in _process_ingress_relation
    self._provide_ingress(relation, provider)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 878, in _provide_ingress
    config = config_getter(relation)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "./src/charm.py", line 942, in _get_configs_per_app
    ipa.publish_url(relation, external_url)
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 548, in wrapped_function
    return callable(*args, **kwargs)  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/traefik_k8s/v2/ingress.py", line 552, in publish_url
    IngressProviderAppData(ingress=ingress_url).dump(relation.data[self.app])  # type: ignore
  File "/var/lib/juju/agents/unit-traefik-0/charm/venv/pydantic/main.py", line 176, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for IngressProviderAppData
ingress.url
  Input should be a valid URL, invalid IPv4 address [type=url_parsing, input_value='http://sdcore-nms.10.0.0.3/', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/url_parsing
unit-traefik-0: 10:04:00 ERROR juju.worker.uniter.operation hook "config-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-traefik-0: 10:04:00 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-router-0: 10:04:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 10:04:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 10:04:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 10:04:02 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-gw "HTTP/1.1 200 OK"
unit-router-0: 10:04:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/ran-gw "HTTP/1.1 200 OK"
unit-router-0: 10:04:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-gw "HTTP/1.1 200 OK"
unit-router-0: 10:04:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 10:04:03 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/router-0 "HTTP/1.1 200 OK"
unit-router-0: 10:04:03 INFO unit.router/0.juju-log Successfully set IP forwarding
unit-router-0: 10:04:04 INFO unit.router/0.juju-log Successfully set ip tables
unit-router-0: 10:04:04 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions "HTTP/1.1 200 OK"
unit-router-0: 10:04:04 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/core-gw "HTTP/1.1 200 OK"
unit-router-0: 10:04:04 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/ran-gw "HTTP/1.1 200 OK"
unit-router-0: 10:04:04 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/k8s.cni.cncf.io/v1/namespaces/sdcore/network-attachment-definitions/access-gw "HTTP/1.1 200 OK"
unit-router-0: 10:04:04 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/apis/apps/v1/namespaces/sdcore/statefulsets/router "HTTP/1.1 200 OK"
unit-router-0: 10:04:04 INFO unit.router/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/pods/router-0 "HTTP/1.1 200 OK"
unit-router-0: 10:04:04 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-self-signed-certificates-0: 10:04:13 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-grafana-agent-0: 10:04:23 INFO unit.grafana-agent/0.juju-log HTTP Request: GET https://10.152.183.1/api/v1/namespaces/sdcore/services/grafana-agent "HTTP/1.1 200 OK"
unit-grafana-agent-0: 10:04:23 INFO unit.grafana-agent/0.juju-log HTTP Request: PATCH https://10.152.183.1/api/v1/namespaces/sdcore/services/grafana-agent "HTTP/1.1 200 OK"
unit-grafana-agent-0: 10:04:23 INFO unit.grafana-agent/0.juju-log Kubernetes service 'grafana-agent' patched successfully
unit-grafana-agent-0: 10:04:23 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)

Additional context

I could not detect the specific part of the relevant log output, I have copied the last chunk of log. There was plenty more with more errors, I can provide if necessary.

Gmerold commented 2 days ago

Hello @Codeternel, After some discussions in our Matrix channel is this bug still relevant?