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

IP duplication for statefulset #1809

Closed
oilbeater opened this issue Aug 15, 2022 · 0 comments · Fixed by #1812
Closed

IP duplication for statefulset #1809

oilbeater opened this issue Aug 15, 2022 · 0 comments · Fixed by #1812
Assignees
Labels
bug Something isn't working

Comments

@oilbeater
Copy link
Collaborator

 cat kube-ovn-controller-139.log | grep 100.6.2.0
I0812 21:10:50.947116       8 ipam.go:49] allocate v4 100.6.2.0 v6  mac 00:00:00:59:6E:CE for spic-xxxxxx/admin-frontend-admin-frontend-6868f4f7bf-r9756
W0812 21:10:51.032164       8 ovn-nbctl.go:48] ovn-nbctl command error: ovn-nbctl --timeout=60 --no-wait --may-exist lsp-add ovn-default admin-frontend-admin-frontend-6868f4f7bf-r9756.spic-xxxxxx -- lsp-set-addresses admin-frontend-admin-frontend-6868f4f7bf-r9756.spic-xxxxxx 00:00:00:59:6E:CE 100.6.2.0 -- set logical_switch_port admin-frontend-admin-frontend-6868f4f7bf-r9756.spic-xxxxxx external_ids:pod=spic-diantou/admin-frontend-admin-frontend-6868f4f7bf-r9756 external_ids:vendor=kube-ovn in 35ms
E0812 21:10:51.032224       8 ovn-nbctl.go:181] create port admin-frontend-admin-frontend-6868f4f7bf-r9756.spic-xxxxxx failed: ovn-nbctl: Error on switch ovn-default: duplicate IPv4 address '100.6.2.0' found on logical switch port 'harbor-xxxxxx-2ch7j-harbor-database-0.operators'
E0812 21:10:51.032292       8 pod.go:281] error syncing 'spic-xxxxxx/admin-frontend-admin-frontend-6868f4f7bf-r9756': ovn-nbctl: Error on switch ovn-default: duplicate IPv4 address '100.6.2.0' found on logical switch port 'harbor-xxxxxx-2ch7j-harbor-database-0.operators'
I0812 21:10:51.032730       8 event.go:282] Event(v1.ObjectReference{Kind:"Pod", Namespace:"spic-xxxxxx", Name:"admin-frontend-admin-frontend-6868f4f7bf-r9756", UID:"d3c82fe8-7284-4cff-aeff-cfc46c7a990f", APIVersion:"v1", ResourceVersion:"172572019", FieldPath:""}): type: 'Warning' reason: 'CreateOVNPortFailed' ovn-nbctl: Error on switch ovn-default: duplicate IPv4 address '100.6.2.0' found on logical switch port 'harbor-xxxxxx-2ch7j-harbor-database-0.operators'

And 'harbor-xxxxxx-2ch7j-harbor-database-0 is not init in ipam init

  • kube-ovn version:

    v1.8.9
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants