cloud-barista / cb-ladybug

Cloud-Barista Multi-Cloud Application Runtime Framework : Support Multi-Cloud Kubernetes Service
Apache License 2.0
11 stars 11 forks source link

Duplicated private-ip problem on multiple regions #123

Closed itnpeople closed 2 years ago

itnpeople commented 2 years ago

$ kubectl logs canal-27g5p -n kube-system -c calico-node

2022-01-11 01:09:35.029 [INFO][8] startup/startup.go 396: Early log level set to info
2022-01-11 01:09:35.030 [INFO][8] startup/utils.go 126: Using NODENAME environment for node name w-34-yvbp4
2022-01-11 01:09:35.030 [INFO][8] startup/utils.go 138: Determined node name: w-34-yvbp4
2022-01-11 01:09:35.030 [INFO][8] startup/startup.go 98: Starting node w-34-yvbp4 with version v3.20.0
2022-01-11 01:09:35.031 [INFO][8] startup/startup.go 401: Checking datastore connection
2022-01-11 01:09:35.054 [INFO][8] startup/startup.go 425: Datastore connection verified
2022-01-11 01:09:35.054 [INFO][8] startup/startup.go 108: Datastore is ready
2022-01-11 01:09:35.090 [INFO][8] startup/startup.go 713: Using autodetected IPv4 address on interface eth0: 192.168.1.234/24
2022-01-11 01:09:35.090 [INFO][8] startup/startup.go 530: Node IPv4 changed, will check for conflicts
2022-01-11 01:09:35.123 [WARNING][8] startup/startup.go 1074: Calico node 'c-2-tguu8' is already using the IPv4 address 192.168.1.234.
2022-01-11 01:09:35.123 [WARNING][8] startup/utils.go 48: Terminating
Calico node failed to start
itnpeople commented 2 years ago
itnpeople commented 2 years ago

Private-IP 채번

현상

itnpeople commented 2 years ago
itnpeople commented 2 years ago

Kilo cni private-ip 중복 확인 사항

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 ens4
10.4.0.0        0.0.0.0         255.255.0.0     U     0      0        0 kilo0
10.244.2.0      0.0.0.0         255.255.255.0   U     0      0        0 cni0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.1.1     0.0.0.0         255.255.255.255 UH    100    0        0 ens4
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 ens4
10.4.0.0        0.0.0.0         255.255.0.0     U     0      0        0 kilo0
10.244.0.0      10.4.0.1        255.255.255.0   UG    0      0        0 kilo0
10.244.2.0      10.4.0.2        255.255.255.0   UG    0      0        0 kilo0
10.244.3.0      10.4.0.4        255.255.255.0   UG    0      0        0 kilo0
10.244.4.0      10.4.0.5        255.255.255.0   UG    0      0        0 kilo0
10.244.5.0      10.4.0.6        255.255.255.0   UG    0      0        0 kilo0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.1.1     0.0.0.0         255.255.255.255 UH    100    0        0 ens4
192.168.1.2     10.4.0.2        255.255.255.255 UGH   0      0        0 kilo0
192.168.1.4     10.4.0.1        255.255.255.255 UGH   0      0        0 kilo0
192.168.1.5     10.4.0.5        255.255.255.255 UGH   0      0        0 kilo0
192.168.1.6     10.4.0.6        255.255.255.255 UGH   0      0        0 kilo0
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 ens4
10.4.0.0        0.0.0.0         255.255.0.0     U     0      0        0 kilo0
10.244.0.0      0.0.0.0         255.255.255.0   U     0      0        0 cni0
10.244.2.0      10.4.0.2        255.255.255.0   UG    0      0        0 kilo0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.1.1     0.0.0.0         255.255.255.255 UH    100    0        0 ens4
192.168.1.2     10.4.0.2        255.255.255.255 UGH   0      0        0 kilo0