diff --git a/cce-network-v2/VERSION b/cce-network-v2/VERSION index 121a8d1..f41be07 100644 --- a/cce-network-v2/VERSION +++ b/cce-network-v2/VERSION @@ -1 +1 @@ -2.11.7 \ No newline at end of file +2.11.8 \ No newline at end of file diff --git a/cce-network-v2/docs/release.md b/cce-network-v2/docs/release.md index a4f69fc..c29f3ff 100644 --- a/cce-network-v2/docs/release.md +++ b/cce-network-v2/docs/release.md @@ -5,6 +5,9 @@ v2 版本新架构,支持VPC-ENI 辅助IP和vpc路由。版本发布历史如 新特性功能: 1. 新特性:容器内支持分配 RDMA 子网卡及 RDMA 辅助IP。 +#### 2.11.8 [20241101] +1. [Bug] 修复 agent 在初始化 ENI 缺少 mac 地址时,会给 lo 网卡重命名的问题 + #### 2.11.7 [20241031] 1. [Optimize] 增加 ENI 主 IP 获取流程,避免新节点缺少主 IP 无法就绪的问题 diff --git a/cce-network-v2/pkg/bce/agent/eni_provider.go b/cce-network-v2/pkg/bce/agent/eni_provider.go index 04a4149..1f3cc73 100644 --- a/cce-network-v2/pkg/bce/agent/eni_provider.go +++ b/cce-network-v2/pkg/bce/agent/eni_provider.go @@ -70,6 +70,11 @@ func (eh *eniInitFactory) OnUpdateENI(oldObj, newObj *ccev2.ENI) error { return nil } + if resource.Spec.MacAddress == "" { + scopedLog.Debug("mac address is empty, skip update ENI") + return nil + } + // downward compatibility with BBC models // TODO 2021-03-08: remove this after BBC secondary models are deprecated if resource.Spec.Type == ccev2.ENIForBBC {