multus-cni icon indicating copy to clipboard operation
multus-cni copied to clipboard

Network status field in annotations lost infomation

Open thanhlong9x opened this issue 2 years ago • 3 comments

What happend: I deployed the statefulsets of kafka application with SRIOV network. The replicas of statefulset is 3 What you expected to happen: In created pods, pod-0 lost the network information in k8s.v1.cni.cncf.io/networks-status field. I don't know what happened ? image

How to reproduce it (as minimally and precisely as possible): This is random and I don't know how to reproduce this error

Environment:

  • Multus version image path and image ID (from 'docker images'): multus:v3.4
  • Kubernetes version (use kubectl version): 1.21.5
  • Primary CNI for Kubernetes cluster: Calico
  • OS (e.g. from /etc/os-release): redhat 7
  • File of '/etc/cni/net.d/':
    • 00-multus.conf:
    • 10-calico.conflist

thanhlong9x avatar May 30 '22 08:05 thanhlong9x

Transient error? Shoot. Let us know when you see it again.

dougbtv avatar Jun 23 '22 14:06 dougbtv

Try updating to a later version as well, 3.4 is dated!

dougbtv avatar Jun 23 '22 14:06 dougbtv

https://github.com/k8snetworkplumbingwg/network-attachment-definition-client/blob/6ace5615d26a4d00d0a24bbbfa5d5f400ce7593e/pkg/utils/net-attach-def.go#L86-L96

hi @dougbtv , I'm curious about why we use UpdateStatus(context.TODO(), pod, metav1.UpdateOptions{}) method to patch annotations?

nayihz avatar Jul 25 '22 07:07 nayihz

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 24 '22 04:10 github-actions[bot]