Closed dyrnq closed 2 years ago
2022-09-17 09:36:30.957 [ERROR][28] tunnel-ip-allocator/ipam.go 1788: Error reading block 10.244.39.0/26: resource does not exist: IPAMBlock(10-244-39-0-26) with error: ipamblocks.crd.projectcalico.org "10-244-39-0-26" not found
2022-09-17 09:36:30.969 [INFO][28] tunnel-ip-allocator/allocateip.go 357: Current address is not assigned, assign a new one currentAddr="10.244.39.0" type="ipipTunnelAddress"
2022-09-17 09:36:30.969 [INFO][28] tunnel-ip-allocator/allocateip.go 370: Release any old tunnel addresses IP="10.244.39.0" type="ipipTunnelAddress"
2022-09-17 09:36:30.986 [INFO][28] tunnel-ip-allocator/allocateip.go 381: Assign new tunnel address IP="10.244.39.0" type="ipipTunnelAddress"
2022-09-17 09:36:30.986 [INFO][28] tunnel-ip-allocator/ipam.go 104: Auto-assign 1 ipv4, 0 ipv6 addrs for host 'master-1'
2022-09-17 09:36:31.026 [INFO][28] tunnel-ip-allocator/ipam.go 657: Looking up existing affinities for host handle="ipip-tunnel-addr-master-1" host="master-1"
2022-09-17 09:36:31.231 [INFO][28] tunnel-ip-allocator/ipam.go 369: Looking up existing affinities for host host="master-1"
2022-09-17 09:36:31.355 [INFO][28] tunnel-ip-allocator/ipam.go 518: Ran out of existing affine blocks for host host="master-1"
2022-09-17 09:36:31.379 [INFO][28] tunnel-ip-allocator/ipam.go 535: Tried all affine blocks. Looking for an affine block with space, or a new unclaimed block host="master-1"
2022-09-17 09:36:31.513 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 154: Found free block: 10.244.39.0/26
2022-09-17 09:36:31.513 [INFO][28] tunnel-ip-allocator/ipam.go 547: Found unclaimed block host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.513 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 171: Trying to create affinity in pending state host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.555 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 201: Successfully created pending affinity for block host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.555 [INFO][28] tunnel-ip-allocator/ipam.go 152: Attempting to load block cidr=10.244.39.0/26 host="master-1"
2022-09-17 09:36:31.572 [INFO][28] tunnel-ip-allocator/ipam.go 157: The referenced block doesn't exist, trying to create it cidr=10.244.39.0/26 host="master-1"
2022-09-17 09:36:31.623 [INFO][28] tunnel-ip-allocator/ipam.go 164: Wrote affinity as pending cidr=10.244.39.0/26 host="master-1"
2022-09-17 09:36:31.648 [INFO][28] tunnel-ip-allocator/ipam.go 173: Attempting to claim the block cidr=10.244.39.0/26 host="master-1"
2022-09-17 09:36:31.648 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 223: Attempting to create a new block host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.695 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 264: Successfully created block
2022-09-17 09:36:31.695 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 275: Confirming affinity host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.723 [INFO][28] tunnel-ip-allocator/ipam_block_reader_writer.go 290: Successfully confirmed affinity host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.723 [INFO][28] tunnel-ip-allocator/ipam.go 582: Block '10.244.39.0/26' has 64 free ips which is more than 1 ips required. host="master-1" subnet=10.244.39.0/26
2022-09-17 09:36:31.723 [INFO][28] tunnel-ip-allocator/ipam.go 1177: Attempting to assign 1 addresses from block block=10.244.39.0/26 handle="ipip-tunnel-addr-master-1" host="master-1"
2022-09-17 09:36:31.750 [INFO][28] tunnel-ip-allocator/ipam.go 1679: Creating new handle: ipip-tunnel-addr-master-1
2022-09-17 09:36:31.898 [INFO][28] tunnel-ip-allocator/ipam.go 1200: Writing block in order to claim IPs block=10.244.39.0/26 handle="ipip-tunnel-addr-master-1" host="master-1"
2022-09-17 09:36:32.158 [INFO][28] tunnel-ip-allocator/ipam.go 1213: Successfully claimed IPs: [10.244.39.0/26] block=10.244.39.0/26 handle="ipip-tunnel-addr-master-1" host="master-1"
2022-09-17 09:36:32.158 [INFO][28] tunnel-ip-allocator/ipam.go 844: Auto-assigned 1 out of 1 IPv4s: [10.244.39.0/26] handle="ipip-tunnel-addr-master-1" host="master-1"
2022-09-17 09:36:32.605 [INFO][28] tunnel-ip-allocator/allocateip.go 469: Assigned tunnel address to node IP="10.244.39.0" type="ipipTunnelAddress"
Calico node started successfully
I lost kubelet args --network-plugin=cni