Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling UPF down to 0 then back to 1 results in failure #54

Closed
markbeierl opened this issue Nov 14, 2023 · 2 comments
Closed

Scaling UPF down to 0 then back to 1 results in failure #54

markbeierl opened this issue Nov 14, 2023 · 2 comments

Comments

@markbeierl
Copy link
Contributor

If the UPF needs to be stopped, for example to conserve CPU resources when not in use, it cannot be scaled back up to 1 unit as Multus errors seem to occur. The following is observed on describing the pod after scaling back to 1 unit:

  Warning  NoNetworkFound          10s   multus             cannot find a network-attachment-definition (access-net) in namespace (core): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found
  Warning  FailedCreatePodSandBox  10s   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "b6d1bb486054a040c13ad71fa794b362e810f89221ef0ac66682096241f9cd0b": plugin type="multus" name="multus-cni-network" failed (add): Multus: [core/upf-0/581b7566-b041-4324-a337-7e1a50307ed4]: error loading k8s delegates k8s args: TryLoadPodDelegates: error in getting k8s network for pod: GetNetworkDelegates: failed getting the delegate: getKubernetesDelegate: cannot find a network-attachment-definition (access-net) in namespace (core): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found
@markbeierl
Copy link
Contributor Author

Confirmed this is still present

@markbeierl
Copy link
Contributor Author

  Warning  NoNetworkFound          38s                multus             cannot find a network-attachment-definition (access-net) in namespace (user-plane): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found
  Warning  FailedCreatePodSandBox  38s                kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "d8bed800ec33957467f19548105d2a677bd8e74d17771de75e9913d07e868dd1": plugin type="multus" name="multus-cni-network" failed (add): Multus: [user-plane/upf-0/84b62bdf-4c70-4265-a9a3-16a742e50a23]: error loading k8s delegates k8s args: TryLoadPodDelegates: error in getting k8s network for pod: GetNetworkDelegates: failed getting the delegate: getKubernetesDelegate: cannot find a network-attachment-definition (access-net) in namespace (user-plane): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found
  Warning  NoNetworkFound          26s                multus             cannot find a network-attachment-definition (access-net) in namespace (user-plane): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found
  Warning  NoNetworkFound          11s                multus             cannot find a network-attachment-definition (access-net) in namespace (user-plane): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found
  Warning  FailedCreatePodSandBox  11s (x2 over 26s)  kubelet            (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "24cccc2c019b338b44056801816dbd71d68ae8f8d14dede1b7b80033c4cd4d3e": plugin type="multus" name="multus-cni-network" failed (add): Multus: [user-plane/upf-0/84b62bdf-4c70-4265-a9a3-16a742e50a23]: error loading k8s delegates k8s args: TryLoadPodDelegates: error in getting k8s network for pod: GetNetworkDelegates: failed getting the delegate: getKubernetesDelegate: cannot find a network-attachment-definition (access-net) in namespace (user-plane): network-attachment-definitions.k8s.cni.cncf.io "access-net" not found

No messages in juju debug-log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant