Comments (7)
执行结果:
[Step 3/6] Install Kube-OVN
configmap/ovn-vpc-nat-config created
configmap/ovn-vpc-nat-gw-config created
deployment.apps/kube-ovn-controller created
daemonset.apps/kube-ovn-cni created
daemonset.apps/kube-ovn-pinger created
deployment.apps/kube-ovn-monitor created
service/kube-ovn-monitor created
service/kube-ovn-pinger created
service/kube-ovn-controller created
service/kube-ovn-cni created
Waiting for deployment "kube-ovn-controller" rollout to finish: 0 of 1 updated replicas are available...
deployment "kube-ovn-controller" successfully rolled out
Waiting for daemon set "kube-ovn-cni" rollout to finish: 0 of 1 updated pods are available...
error: timed out waiting for the condition
from kube-ovn.
I0401 11:59:16.013921 63485 config.go:169] node name not specified in command line parameters, fall back to the environment variable
I0401 11:59:16.013952 63485 config.go:347] no --kubeconfig, use in-cluster kubernetes config
I0401 11:59:16.014592 63485 k8s.go:27] succeeded to dial apiserver "10.96.0.1:443"
I0401 11:59:16.072073 63485 config.go:187] daemon config: &{ eth1 br-phy 1400 1360 false mirror0 /run/openvswitch/kube-ovn-daemon.sock /run/openvswitch/db.sock 0xc0001d1860 0xc000328710 node1 10.96.0.0/12 ovn-cluster join true false false 10665 geneve /etc/cni/net.d /kube-ovn/01-kube-ovn.conflist 01-kube-ovn.conflist provider eth1 kube-system external true true /var/lib/kubelet false 8100 8101 false 100}
I0401 11:59:16.090081 63485 cniserver.go:55] init node gw
I0401 11:59:16.119280 63485 ovs_linux.go:409] wait ovn0 gw ready
W0401 11:59:19.120617 63485 ovs.go:34] 100.64.0.2 network not ready after 3 ping to gateway 100.64.0.1
W0401 11:59:22.120862 63485 ovs.go:34] 100.64.0.2 network not ready after 6 ping to gateway 100.64.0.1
W0401 11:59:25.120912 63485 ovs.go:34] 100.64.0.2 network not ready after 9 ping to gateway 100.64.0.1
W0401 11:59:28.120777 63485 ovs.go:34] 100.64.0.2 network not ready after 12 ping to gateway 100.64.0.1
W0401 11:59:31.120873 63485 ovs.go:34] 100.64.0.2 network not ready after 15 ping to gateway 100.64.0.1
W0401 11:59:34.120680 63485 ovs.go:34] 100.64.0.2 network not ready after 18 ping to gateway 100.64.0.1
W0401 11:59:37.120439 63485 ovs.go:34] 100.64.0.2 network not ready after 21 ping to gateway 100.64.0.1
W0401 11:59:40.120580 63485 ovs.go:34] 100.64.0.2 network not ready after 24 ping to gateway 100.64.0.1
W0401 11:59:43.120618 63485 ovs.go:34] 100.64.0.2 network not ready after 27 ping to gateway 100.64.0.1
W0401 11:59:46.120650 63485 ovs.go:34] 100.64.0.2 network not ready after 30 ping to gateway 100.64.0.1
W0401 11:59:49.120220 63485 ovs.go:34] 100.64.0.2 network not ready after 33 ping to gateway 100.64.0.1
W0401 11:59:52.120931 63485 ovs.go:34] 100.64.0.2 network not ready after 36 ping to gateway 100.64.0.1
from kube-ovn.
检查一下 ovs-ovn 以及 ovn-central 是否正常。
from kube-ovn.
检查一下 ovs-ovn 以及 ovn-central 是否正常。
看pod状态是running,就没注意看里面的日志,但看日志,貌似不正常,
ovs-ovn的日志:
.......
2024-04-01T08:15:42.816Z|00556|patch|WARN|Bridge 'br-office' not found for network 'office'
2024-04-01T08:15:42.817Z|00557|patch|WARN|Bridge 'br-pn-piqi3rlh' not found for network 'pn-piqi3rlh'
2024-04-01T08:15:42.817Z|00558|patch|WARN|Bridge 'br-provider' not found for network 'provider'
2024-04-01T08:15:42.817Z|00559|patch|WARN|Bridge 'br-office' not found for network 'office'
2024-04-01T08:15:47.817Z|00560|patch|WARN|Bridge 'br-pn-piqi3rlh' not found for network 'pn-piqi3rlh'
2024-04-01T08:15:47.817Z|00561|patch|WARN|Bridge 'br-provider' not found for network 'provider'
2024-04-01T08:15:47.817Z|00562|patch|WARN|Bridge 'br-office' not found for network 'office'
2024-04-01T08:15:47.818Z|00563|patch|WARN|Bridge 'br-pn-piqi3rlh' not found for network 'pn-piqi3rlh'
2024-04-01T08:15:47.818Z|00564|patch|WARN|Bridge 'br-provider' not found for network 'provider'
2024-04-01T08:15:47.818Z|00565|patch|WARN|Bridge 'br-office' not found for network 'office'
ovn-central日志:
- ovn-northd is not running
- ovnnb_db is not running
- ovnsb_db is not running
[{"uuid":["uuid","b0758eb0-75f9-44ac-a937-c3a5bc0aa54e"]},{"uuid":["uuid","40626311-d93c-43fb-a7b5-965019d0bccd"]}]
[{"uuid":["uuid","7b67eb49-dae1-4e99-92dd-9704e855798b"]},{"uuid":["uuid","48fb822c-5e50-4d19-bab7-f0422d3ab2fb"]}]
ovsdb-client: failed to connect to "tcp:[10.252.29.2]:6641" (Connection refused) - Starting ovsdb-nb
2024-04-01T08:10:02Z|00001|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connecting...
2024-04-01T08:10:02Z|00002|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connected - Waiting for OVN_Northbound to come up
- Starting ovsdb-sb
2024-04-01T08:10:02Z|00001|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connecting...
2024-04-01T08:10:02Z|00002|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connected - Waiting for OVN_Southbound to come up
- Starting ovn-northd
I0401 16:10:02.872702 521 ovn.go:105] no --kubeconfig, use in-cluster kubernetes config
from kube-ovn.
kubectl get node -o wide 看一下操作系统版本和内核版本。
from kube-ovn.
操作系统centos7.9
内核版本:4.14
from kube-ovn.
目前看应该是kube-ovn版本问题,我测试如下:
k8s版本:v1.26.X
kube-ovn版本:v1.10.10
部署方式:kubekey
插件部署成功
情况二:
k8s版本:v1.28.X
kube-ovn版本:v1.10.10/v1.11.16
部署方式:kubeadm
插件部署成功
from kube-ovn.
Related Issues (20)
- [BUG] HOT 2
- [BUG] EIP 和 SNAT 配置,因网卡写错,导致节点离线,网络无法恢复,修改ConfigMap不行,删除ConfigMap也不行 HOT 5
- [Feature Request] Allow setting default subnet for custom vpc
- [Feature Request] HOT 4
- [BUG] need to manually enable the Promiscuous mode for the Nic on VirtualBox VM HOT 1
- [Improvement] Use ovn-controller option external_ids:ovn-match-northd-version to improve upgrade process
- [BUG] func GetSubnetIPRangeString nil pointer dereference HOT 3
- [BUG] NatGateway ceases working after being restarted HOT 22
- [docs] 缩写词其后补充(全称)
- [BUG] vpc网关pod删除后,pod使用的弹性外网ip未释放 HOT 4
- [BUG] Cilium and VPC-DNS HOT 13
- [BUG] 跨节点访问,节点访问容器hostport不通 HOT 13
- 外网网关配置,无法ping通EIP HOT 16
- [e2e] ovn-vpc-nat-gw-conformance-e2e log 提示有问题
- [BUG] need to handle the failure during allocate multiple IPs for a single pod, or it will exhausted the whole IP Pool. HOT 16
- [Feature Request] Announce NAT-GW EIP over BGP HOT 27
- 删除重建ovs-ovn pod,高频率报错/var/run/openvswitch/br-int.mgmt: connection failed (No such file or directory),pod恢复时间较长,导致虚机业务中断时间较长。 HOT 3
- [BUG] 开启U2O和DHCP,虚机通过DHCP获取到的网关仍是原网关
- [BUG] The ovs pods are not active on the rocky9.3 with kubelet 1.27.6 HOT 2
- [Bug] Use JSON merge patch to update labels/annotations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-ovn.