Closed xuegao321 closed 3 years ago
submariner-20210709084314.zip this is 'subctl gather'
[root@master1 ~]# calicoctl get ippool
NAME CIDR SELECTOR
default-ipv4-ippool 172.30.0.0/16 all()
podcluster02 172.40.0.0/16 all()
svccluster02 10.253.0.0/16 all()
[root@master1 ~]# subctl diagnose all ✓ Checking Submariner support for the Kubernetes version used in cluster "kubernetes" ✓ The Kubernetes version meets Submariner's requirements
✓ Retrieving Submariner resource from "kubernetes"
✓ Checking Submariner support for the CNI network plugin in cluster "kubernetes" ✓ The detected CNI network plugin ("generic") is supported by Submariner. ✗ Calico CNI detected, verifying if the Submariner IPPool pre-requisites are configured. ✗ Could not find any IPPools in the cluster
I set ippool, but I still get an error when I execute the command?
@xuegao321 It looks like subctl is not able to read the ippools here - https://github.com/submariner-io/submariner-operator/blob/47268fb9eb09e8478c139b1c1d681176110f1bf7/pkg/subctl/cmd/diagnose/cni.go#L130
Can you share the output of one of your ippools. I'd like to compare it with the GVR we use while listing the ippools.
calicoGVR = schema.GroupVersionResource{
Group: "crd.projectcalico.org",
Version: "v1",
Resource: "ippools",
}
Closing this issue as there is no activity/update for the last query. Please reopen if required.
Environment:
subctl version
):kubectl version
):subctl diagnose all
):subctl gather
)cat /etc/os-release
):uname -a
):NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
Linux master1.cmccpaas.com 4.18.8-1.el7.elrepo.x86_64 #1 SMP Sat Sep 15 10:10:09 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
subctl version subctl version: v0.9.1
[root@master1 ~]# subctl show all
Showing information for cluster "kubernetes": Showing Network details Discovered network details: Network plugin: generic Service CIDRs: [10.254.0.0/16] Cluster CIDRs: [172.30.1.0/24]
Showing Endpoint details CLUSTER ID ENDPOINT IP PUBLIC IP CABLE DRIVER TYPE
cluster01 172.20.53.193 123.103.9.189 libreswan local
cluster02 172.20.47.83 123.103.9.189 libreswan remote
Showing Connection details GATEWAY CLUSTER REMOTE IP NAT CABLE DRIVER SUBNETS STATUS RTT avg.
node1.cmccpaas.com cluster02 172.20.47.83 no libreswan 10.253.0.0/16, 172.40.0.0/16 connected 594.627µs
Showing Gateway details NODE HA STATUS SUMMARY
node2.cmccpaas.com active All connections (1) are established
Showing version details COMPONENT REPOSITORY VERSION
submariner quay.io/submariner 0.9.1
submariner-operator quay.io/submariner 0.9.1
service-discovery quay.io/submariner 0.9.1