slime-io/slime

The MeshRegistry cannot work

tanjunchen opened this issue · 1 comments

问题描述

The MeshRegistry can't work,it always print the logs.

2023-07-19T10:59:57.548664Z	info	mcp-xds	Pushed extensions.istio.io/v1alpha1/WasmPlugin to sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3 count=0 size=0 nonce=
2023-07-19T10:59:57.548688Z	info	mcp-xds	recv req networking.istio.io/v1alpha3/DestinationRule from sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3, err <nil>, nonce
2023-07-19T10:59:57.548706Z	info	mcp-xds	Pushed networking.istio.io/v1alpha3/DestinationRule to sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3 count=0 size=0 nonce=
2023-07-19T10:59:57.548711Z	info	mcp-xds	recv req networking.istio.io/v1alpha3/EnvoyFilter from sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3, err <nil>, nonce
2023-07-19T10:59:57.548728Z	info	mcp-xds	Pushed networking.istio.io/v1alpha3/EnvoyFilter to sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3 count=0 size=0 nonce=
2023-07-19T10:59:57.549582Z	info	mcp-xds	recv req networking.istio.io/v1alpha3/Gateway from sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3, err <nil>, nonce
2023-07-19T10:59:57.549619Z	info	mcp-xds	Pushed networking.istio.io/v1alpha3/Gateway to sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3 count=0 size=0 nonce=
2023-07-19T10:59:57.549625Z	info	mcp-xds	recv req networking.istio.io/v1alpha3/Sidecar from sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3, err <nil>, nonce
2023-07-19T10:59:57.549644Z	info	mcp-xds	Pushed networking.istio.io/v1alpha3/Sidecar to sidecar~10.0.1.205~istiod-7b77857877-8l4sr.istio-system~istio-system.svc.cluster.local-3 count=0 size=0 nonce=

影响的子模块(在下面列表中打'X')

  • 配置懒加载
  • 插件管理
  • 智能限流
  • 注册仓库
  • 安装Boot

重现问题的步骤

  1. create istio cluster (istio 1.16.5)
istioctl install --set  values.global.proxy.privileged=true --set values.global.proxy.enableCoreDump=true --set profile=demo -y
  1. install meshregistry component according to https://slime-io.github.io/user-guide/meshregistry/tutorial/
  2. the logs of meshregistry
➜  init git:(master) ✗ kubectl -n mesh-operator exec -it meshregistry-c9b7cc786-rpwf6  -- curl localhost:8081/meshregistry/xdsCache
{
  "networking.istio.io/v1alpha3/ServiceEntry": [
    {
      "type": "networking.istio.io/v1alpha3/ServiceEntry",
      "name": "consumer-demo",
      "namespace": "nacos",
      "labels": {
        "app": "consumer-demo",
        "registry": "nacos"
      },
      "annotations": {
        "ResourceVersion": "2023-07-19 08:28:50.789771709 +0000 UTC m=+35.599247019"
      },
      "creationTimestamp": "2023-07-19T08:28:50.789742129Z",
      "Spec": {
        "hosts": [
          "consumer-demo"
        ],
        "addresses": [],
        "ports": [
          {
            "number": 80,
            "protocol": "HTTP",
            "name": "http-80"
          },
          {
            "number": 9999,
            "protocol": "HTTP",
            "name": "http-9999"
          }
        ],
        "resolution": "STATIC",
        "endpoints": [
          {
            "address": "10.0.0.63",
            "ports": {
              "http-80": 9999,
              "http-9999": 9999
            },
            "labels": {
              "app": "consumer-demo",
              "istio-locality": "gz.zoneC.",
              "pod-template-hash": "957957f8d",
              "preserved.register.source": "SPRING_CLOUD",
              "security.istio.io/tlsMode": "istio",
              "service.istio.io/canonical-name": "consumer-demo",
              "service.istio.io/canonical-revision": "latest",
              "topology.istio.io/network": "gz"
            },
            "locality": "gz/zoneC/"
          }
        ]
      }
    },
    {
      "type": "networking.istio.io/v1alpha3/ServiceEntry",
      "name": "provider-demo",
      "namespace": "nacos",
      "labels": {
        "app": "provider-demo",
        "registry": "nacos"
      },
      "annotations": {
        "ResourceVersion": "2023-07-19 08:28:50.789802512 +0000 UTC m=+35.599277828"
      },
      "creationTimestamp": "2023-07-19T08:28:50.789782323Z",
      "Spec": {
        "hosts": [
          "provider-demo"
        ],
        "addresses": [],
        "ports": [
          {
            "number": 80,
            "protocol": "HTTP",
            "name": "http-80"
          },
          {
            "number": 10001,
            "protocol": "HTTP",
            "name": "http-10001"
          }
        ],
        "resolution": "STATIC",
        "endpoints": [
          {
            "address": "10.0.1.187",
            "ports": {
              "http-10001": 10001,
              "http-80": 10001
            },
            "labels": {
              "app": "provider-demo",
              "istio-locality": "gz.zoneC.",
              "pod-template-hash": "6f5b5f5468",
              "preserved.register.source": "SPRING_CLOUD",
              "security.istio.io/tlsMode": "istio",
              "service.istio.io/canonical-name": "provider-demo",
              "service.istio.io/canonical-revision": "v1",
              "topology.istio.io/network": "gz",
              "version": "v1"
            },
            "locality": "gz/zoneC/"
          },
          {
            "address": "10.0.1.188",
            "ports": {
              "http-10001": 10001,
              "http-80": 10001
            },
            "labels": {
              "app": "provider-demo",
              "istio-locality": "gz.zoneC.",
              "pod-template-hash": "5489f5b9cb",
              "preserved.register.source": "SPRING_CLOUD",
              "security.istio.io/tlsMode": "istio",
              "service.istio.io/canonical-name": "provider-demo",
              "service.istio.io/canonical-revision": "v2",
              "topology.istio.io/network": "gz",
              "version": "v2"
            },
            "locality": "gz/zoneC/"
          }
        ]
      }
    }
  ]
}
  1. the logs of istiod
➜  init git:(master) ✗ more logs
2023-07-19T06:48:44.454309Z     info    FLAG: --caCertFile=""
2023-07-19T06:48:44.454342Z     info    FLAG: --clusterAliases="[]"
2023-07-19T06:48:44.454348Z     info    FLAG: --clusterID="Kubernetes"
2023-07-19T06:48:44.454352Z     info    FLAG: --clusterRegistriesNamespace="istio-system"
2023-07-19T06:48:44.454354Z     info    FLAG: --configDir=""
2023-07-19T06:48:44.454358Z     info    FLAG: --ctrlz_address="localhost"
2023-07-19T06:48:44.454363Z     info    FLAG: --ctrlz_port="9876"
2023-07-19T06:48:44.454366Z     info    FLAG: --domain="cluster.local"
2023-07-19T06:48:44.454369Z     info    FLAG: --grpcAddr=":15010"
2023-07-19T06:48:44.454374Z     info    FLAG: --help="false"
2023-07-19T06:48:44.454377Z     info    FLAG: --httpAddr=":8080"
2023-07-19T06:48:44.454380Z     info    FLAG: --httpsAddr=":15017"
2023-07-19T06:48:44.454385Z     info    FLAG: --keepaliveInterval="30s"
2023-07-19T06:48:44.454388Z     info    FLAG: --keepaliveMaxServerConnectionAge="30m0s"
2023-07-19T06:48:44.454391Z     info    FLAG: --keepaliveTimeout="10s"
2023-07-19T06:48:44.454393Z     info    FLAG: --kubeconfig=""
2023-07-19T06:48:44.454398Z     info    FLAG: --kubernetesApiBurst="160"
2023-07-19T06:48:44.454404Z     info    FLAG: --kubernetesApiQPS="80"
2023-07-19T06:48:44.454407Z     info    FLAG: --log_as_json="false"
2023-07-19T06:48:44.454409Z     info    FLAG: --log_caller=""
2023-07-19T06:48:44.454412Z     info    FLAG: --log_output_level="default:info"
2023-07-19T06:48:44.454414Z     info    FLAG: --log_rotate=""
2023-07-19T06:48:44.454417Z     info    FLAG: --log_rotate_max_age="30"
2023-07-19T06:48:44.454420Z     info    FLAG: --log_rotate_max_backups="1000"
2023-07-19T06:48:44.454423Z     info    FLAG: --log_rotate_max_size="104857600"
2023-07-19T06:48:44.454426Z     info    FLAG: --log_stacktrace_level="default:none"
2023-07-19T06:48:44.454434Z     info    FLAG: --log_target="[stdout]"
2023-07-19T06:48:44.454438Z     info    FLAG: --meshConfig="./etc/istio/config/mesh"
2023-07-19T06:48:44.454441Z     info    FLAG: --monitoringAddr=":15014"
2023-07-19T06:48:44.454444Z     info    FLAG: --namespace="istio-system"
2023-07-19T06:48:44.454447Z     info    FLAG: --networksConfig="./etc/istio/config/meshNetworks"
2023-07-19T06:48:44.454450Z     info    FLAG: --profile="true"
2023-07-19T06:48:44.454458Z     info    FLAG: --registries="[Kubernetes]"
2023-07-19T06:48:44.454461Z     info    FLAG: --secureGRPCAddr=":15012"
2023-07-19T06:48:44.454465Z     info    FLAG: --shutdownDuration="10s"
2023-07-19T06:48:44.454469Z     info    FLAG: --tls-cipher-suites="[]"
2023-07-19T06:48:44.454472Z     info    FLAG: --tlsCertFile=""
2023-07-19T06:48:44.454475Z     info    FLAG: --tlsKeyFile=""
2023-07-19T06:48:44.454479Z     info    FLAG: --vklog="0"
2023-07-19T06:48:44.480798Z     info    initializing Istiod admin server
2023-07-19T06:48:44.481927Z     info    starting HTTP service at [::]:8080
2023-07-19T06:48:44.482039Z     info    klog    Config not found: /var/run/secrets/remote/config
2023-07-19T06:48:44.495172Z     info    initializing mesh configuration ./etc/istio/config/mesh
2023-07-19T06:48:44.502581Z     info    controllers     starting        controller=configmap istio
2023-07-19T06:48:44.502840Z     info    Loaded MeshNetworks config from Kubernetes API server.
2023-07-19T06:48:44.502853Z     info    mesh networks configuration updated to: {

}
2023-07-19T06:48:44.505893Z     info    Loaded MeshConfig config from Kubernetes API server.
2023-07-19T06:48:44.506396Z     info    mesh configuration updated to: {
    "proxyListenPort": 15001,
    "connectTimeout": "10s",
2023-07-19T06:48:44.454472Z     info    FLAG: --tlsCertFile=""
2023-07-19T06:48:44.454475Z     info    FLAG: --tlsKeyFile=""
2023-07-19T06:48:44.454479Z     info    FLAG: --vklog="0"
2023-07-19T06:48:44.480798Z     info    initializing Istiod admin server
2023-07-19T06:48:44.481927Z     info    starting HTTP service at [::]:8080
2023-07-19T06:48:44.482039Z     info    klog    Config not found: /var/run/secrets/remote/config
2023-07-19T06:48:44.495172Z     info    initializing mesh configuration ./etc/istio/config/mesh
2023-07-19T06:48:44.502581Z     info    controllers     starting        controller=configmap istio
2023-07-19T06:48:44.502840Z     info    Loaded MeshNetworks config from Kubernetes API server.
2023-07-19T06:48:44.502853Z     info    mesh networks configuration updated to: {

}
2023-07-19T06:48:44.505893Z     info    Loaded MeshConfig config from Kubernetes API server.
2023-07-19T06:48:44.506396Z     info    mesh configuration updated to: {
    "proxyListenPort": 15001,
    "connectTimeout": "10s",
    "protocolDetectionTimeout": "0s",
    "ingressClass": "istio",
    "ingressService": "istio-ingressgateway",
    "ingressControllerMode": "STRICT",
    "enableTracing": true,
    "accessLogFile": "/dev/stdout",
    "defaultConfig": {
        "configPath": "./etc/istio/proxy",
        "binaryPath": "/usr/local/bin/envoy",
        "serviceCluster": "istio-proxy",
        "drainDuration": "45s",
        "parentShutdownDuration": "60s",
        "discoveryAddress": "istiod.istio-system.svc:15012",
        "proxyAdminPort": 15000,
        "controlPlaneAuthPolicy": "MUTUAL_TLS",
        "statNameLength": 189,
        "concurrency": 2,
        "tracing": {
            "zipkin": {
                "address": "zipkin.istio-system:9411"
            }
        },
        "proxyMetadata": {
            "ISTIO_META_DNS_AUTO_ALLOCATE": "true",
            "ISTIO_META_DNS_CAPTURE": "true"
        },
        "statusPort": 15020,
        "terminationDrainDuration": "5s"
    },
    "outboundTrafficPolicy": {
        "mode": "ALLOW_ANY"
    },
    "configSources": [
        {
            "address": "k8s://"
        },
        {
        "terminationDrainDuration": "5s"
    },
    "outboundTrafficPolicy": {
        "mode": "ALLOW_ANY"
    },
    "configSources": [
        {
            "address": "k8s://"
        },
        {
            "address": "xds://meshregistry.mesh-operator.svc:16010"
        }
    ],
    "enableAutoMtls": true,
    "trustDomain": "cluster.local",
    "defaultServiceExportTo": [
        "*"
    ],
    "defaultVirtualServiceExportTo": [
        "*"
    ],
    "defaultDestinationRuleExportTo": [
        "*"
    ],
    "rootNamespace": "istio-system",
    "localityLbSetting": {
        "enabled": true
    },
    "dnsRefreshRate": "60s",
    "thriftConfig": {

    },
    "enablePrometheusMerge": true,
    "extensionProviders": [
        {
            "name": "prometheus",
            "prometheus": {

            }
        },
        {
            "name": "stackdriver",
            "stackdriver": {

            }
        },
        {
            "name": "envoy",
            "envoyFileAccessLog": {
                "path": "/dev/stdout"
            }
        },
        {
            "name": "otel",
            "envoyOtelAls": {
                "service": "opentelemetry-collector.istio-system.svc.cluster.local",
                "port": 4317
            }
        }
    ],
    "defaultProviders": {

    }
}
2023-07-19T06:48:44.506411Z     info    mesh configuration sources have changed
2023-07-19T06:48:44.511548Z     info    initializing mesh networks from mesh config watcher
2023-07-19T06:48:44.511850Z     info    mesh configuration: {
    "proxyListenPort": 15001,
    "connectTimeout": "10s",
    "protocolDetectionTimeout": "0s",
    "ingressClass": "istio",
    "ingressService": "istio-ingressgateway",
    "ingressControllerMode": "STRICT",
    "enableTracing": true,
    "accessLogFile": "/dev/stdout",
    "defaultConfig": {
        "configPath": "./etc/istio/proxy",
        "binaryPath": "/usr/local/bin/envoy",
        "serviceCluster": "istio-proxy",
        "drainDuration": "45s",
        "parentShutdownDuration": "60s",
        "discoveryAddress": "istiod.istio-system.svc:15012",
        "proxyAdminPort": 15000,
        "controlPlaneAuthPolicy": "MUTUAL_TLS",
        "statNameLength": 189,
        "concurrency": 2,
        "tracing": {
            "zipkin": {
                "address": "zipkin.istio-system:9411"
            }
        },
        "proxyMetadata": {
            "ISTIO_META_DNS_AUTO_ALLOCATE": "true",
            "ISTIO_META_DNS_CAPTURE": "true"
        },
        "statusPort": 15020,
        "terminationDrainDuration": "5s"
    },
    "outboundTrafficPolicy": {
        "mode": "ALLOW_ANY"
    },
    "configSources": [
        {
            "address": "k8s://"
        },
        {
            "address": "xds://meshregistry.mesh-operator.svc:16010"
        }
    ],
    "enableAutoMtls": true,
    "trustDomain": "cluster.local",
    "defaultServiceExportTo": [
        "*"
    ],
    "defaultVirtualServiceExportTo": [
        "*"
    ],
    "defaultDestinationRuleExportTo": [
        "*"
    ],
    "rootNamespace": "istio-system",
    "localityLbSetting": {
        "enabled": true
    },
    "dnsRefreshRate": "60s",
    "thriftConfig": {

    },
    "enablePrometheusMerge": true,
    "extensionProviders": [
        {
            "name": "prometheus",
            "prometheus": {

            }
        },
        {
            "name": "stackdriver",
            "stackdriver": {

            }
        },
        {
            "name": "envoy",
            "envoyFileAccessLog": {
                "path": "/dev/stdout"
            }
        },
        {
            "name": "otel",
            "envoyOtelAls": {
                "service": "opentelemetry-collector.istio-system.svc.cluster.local",
                "port": 4317
            }
        }
    ],
    "defaultProviders": {

    }
}
2023-07-19T06:48:44.511859Z     info    version: 1.16.5-ae8d5164776cd55bf61d9d3fc4658b44a77c6e24-Clean
2023-07-19T06:48:44.512181Z     info    flags: {
   "ServerOptions": {
      "HTTPAddr": ":8080",
      "HTTPSAddr": ":15017",
      "GRPCAddr": ":15010",
      "MonitoringAddr": ":15014",
      "EnableProfiling": true,
      "TLSOptions": {
         "CaCertFile": "",
         "CertFile": "",
         "KeyFile": "",
         "TLSCipherSuites": null,
         "CipherSuits": null
      },
      "SecureGRPCAddr": ":15012"
   },
   "InjectionOptions": {
      "InjectionDirectory": "./var/lib/istio/inject"
   },
   "PodName": "istiod-554d9ddbd8-vglgz",
   "Namespace": "istio-system",
   "Revision": "default",
   "MeshConfigFile": "./etc/istio/config/mesh",
   "NetworksConfigFile": "./etc/istio/config/meshNetworks",
   "RegistryOptions": {
      "FileDir": "",
      "Registries": [
         "Kubernetes"
      ],
      "KubeOptions": {
         "SystemNamespace": "",
         "MeshServiceController": null,
         "DomainSuffix": "cluster.local",
         "ClusterID": "Kubernetes",
         "ClusterAliases": {},
         "Metrics": null,
         "XDSUpdater": null,
         "NetworksWatcher": null,
         "MeshWatcher": null,
         "EndpointMode": 1,
         "KubernetesAPIQPS": 80,
         "KubernetesAPIBurst": 160,
         "SyncTimeout": 0,
         "DiscoveryNamespacesFilter": null
      },
      "ClusterRegistriesNamespace": "istio-system",
      "KubeConfig": "",
      "DistributionCacheRetention": 60000000000,
      "DistributionTrackingEnabled": false
   },
   "CtrlZOptions": {
      "Port": 9876,
      "Address": "localhost"
   },
   "KeepaliveOptions": {
      "Time": 30000000000,
      "Timeout": 10000000000,
      "MaxServerConnectionAge": 1800000000000,
      "MaxServerConnectionAgeGrace": 10000000000
   },
   "ShutdownDuration": 10000000000,
   "JwtRule": ""
}
2023-07-19T06:48:44.512191Z     info    initializing mesh handlers
2023-07-19T06:48:44.512253Z     info    model   reloading network gateways
2023-07-19T06:48:44.512263Z     info    creating CA and initializing public key
2023-07-19T06:48:44.512277Z     info    Using istiod file format for signing ca files
2023-07-19T06:48:44.512291Z     info    Use self-signed certificate as the CA certificate
2023-07-19T06:48:44.515997Z     info    pkica   Load signing key and cert from existing secret istio-system:istio-ca-secret
2023-07-19T06:48:44.516279Z     info    pkica   Using existing public key: -----BEGIN CERTIFICATE-----
MIIC/TCCAeWgAwIBAgIRAOy2QIuiG1MdhZRCdx22FhAwDQYJKoZIhvcNAQELBQAw
GDEWMBQGA1UEChMNY2x1c3Rlci5sb2NhbDAeFw0yMzA3MTkwNjM3MDdaFw0zMzA3
MTYwNjM3MDdaMBgxFjAUBgNVBAoTDWNsdXN0ZXIubG9jYWwwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQCmi49Kn0uYd3Bf70sqbSg4NwTmT1C/an4KOO7F
2nVvTvkqBLqyTJ0zMNqSAPt4G0BNUs7VsIq6M4ikIp/Khg30r0W+Ti2rOYeEANs1
/3jGUa5oVFWcz52lYjohLNNDiRpWsg+VUU5jIjaU1V+c8PAdwqpAOqxrKpIOaEON
Z0yGobr3r4GM8JSqLGb3QPUrdZA2FtGQ0F9HJnKXNyjgP4tNlqcz9WWk0FuMgsNa
4NNgQZAHzFWxZbwYsMDjf6hfrVHFTXdlJsxDQIeoE2TfLJMTDCeJylyT08up0ss4
ec537t/M7Im2WW5EXw14eHz17vil20V4MHG2SIXxiwtKeixfAgMBAAGjQjBAMA4G
A1UdDwEB/wQEAwICBDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQRoYGTDQkx
M8OS2ZjHp01Ak+vJzTANBgkqhkiG9w0BAQsFAAOCAQEAXwmA43w3yHK1Q0jjHx78
/uz636mp4Zaw3j7cSG1Nn9cVpukj+sRBl6H9g6TaxuqpLgtTn9IucZkW/Lped+Vu
DJhvF86hnkM+zjvWtsydYr+ur0TFrFFGb/1CSSl1yMshgGEzti+ncwh2zpkChqO4
e52IFRt+/I5stSn7OUH2+xQCSs3CqOohl0+r6zLoXpF1/G4AWmOcrQGetS4t1Z5M
bkwZaZwD4X6Hrm5V2bnKkiSTASTrtoMSQlDPUiQI/mcFAiTJ4gs0lx+a+3KWvkLL
dytaKJ0HDwpn0SZRUetv7EsF8G0G+yRHh2kv5oYC54nwwtDoccOYreUvCKaJ7qL7
DA==
-----END CERTIFICATE-----

2023-07-19T06:48:44.516307Z     info    rootcertrotator Set up back off time 59m26s to start rotator.
2023-07-19T06:48:44.516318Z     info    initializing controllers
2023-07-19T06:48:44.516356Z     info    No certificates specified, skipping K8S DNS certificate controller
2023-07-19T06:48:44.516544Z     info    rootcertrotator Jitter is enabled, wait 59m26s before starting root cert rotator.
DJhvF86hnkM+zjvWtsydYr+ur0TFrFFGb/1CSSl1yMshgGEzti+ncwh2zpkChqO4
e52IFRt+/I5stSn7OUH2+xQCSs3CqOohl0+r6zLoXpF1/G4AWmOcrQGetS4t1Z5M
bkwZaZwD4X6Hrm5V2bnKkiSTASTrtoMSQlDPUiQI/mcFAiTJ4gs0lx+a+3KWvkLL
dytaKJ0HDwpn0SZRUetv7EsF8G0G+yRHh2kv5oYC54nwwtDoccOYreUvCKaJ7qL7
DA==
-----END CERTIFICATE-----

2023-07-19T06:48:44.516307Z     info    rootcertrotator Set up back off time 59m26s to start rotator.
2023-07-19T06:48:44.516318Z     info    initializing controllers
2023-07-19T06:48:44.516356Z     info    No certificates specified, skipping K8S DNS certificate controller
2023-07-19T06:48:44.516544Z     info    rootcertrotator Jitter is enabled, wait 59m26s before starting root cert rotator.
2023-07-19T06:48:44.579181Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1alpha2/ReferenceGrant as it is not presen
t       controller=crd-controller
2023-07-19T06:48:44.579207Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1alpha2/ReferencePolicy as it is not prese
nt      controller=crd-controller
2023-07-19T06:48:44.579214Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1alpha2/TCPRoute as it is not present   co
ntroller=crd-controller
2023-07-19T06:48:44.579220Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1alpha2/TLSRoute as it is not present   co
ntroller=crd-controller
2023-07-19T06:48:44.579224Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1beta1/GatewayClass as it is not present
        controller=crd-controller
2023-07-19T06:48:44.579230Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1beta1/Gateway as it is not present     co
ntroller=crd-controller
2023-07-19T06:48:44.579236Z     warn    kube    Skipping CRD gateway.networking.k8s.io/v1beta1/HTTPRoute as it is not present   co
ntroller=crd-controller
2023-07-19T06:48:44.579418Z     warn    Started K8S config
2023-07-19T06:48:44.583682Z     warn    Started XDS config [0xc00102e9a0 0xc000b2d450 0xc000dc7cc0]
2023-07-19T06:48:44.583897Z     info    Adding Kubernetes registry adapter
2023-07-19T06:48:44.583953Z     info    initializing Istiod DNS certificates host: istiod.istio-system.svc, custom host:
2023-07-19T06:48:44.586398Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type core/v1alpha1/MeshConfig cnt=0
nonce=
2023-07-19T06:48:44.586440Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type extensions.istio.io/v1alpha1/Wa
smPlugin cnt=0 nonce=
2023-07-19T06:48:44.586457Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/De
stinationRule cnt=0 nonce=
2023-07-19T06:48:44.586471Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/En
voyFilter cnt=0 nonce=
2023-07-19T06:48:44.586483Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/Ga
teway cnt=0 nonce=
2023-07-19T06:48:44.587090Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/Se
rviceEntry cnt=2 nonce=2023-07-19 06:46:43.100632255 +0000 UTC m=+35.606165093
2023-07-19T06:48:44.587673Z     warn    adsc    Error adding a new resource to the store 1 error occurred:
        * invalid tag value: "gz.zoneC."
2023-07-19T06:48:44.587778Z     warn    adsc    Error adding a new resource to the store 2 errors occurred:
        * invalid tag value: "gz.zoneC."
        * invalid tag value: "gz.zoneC."
2023-07-19T06:48:44.587811Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/Si
decar cnt=0 nonce=
2023-07-19T06:48:44.587827Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/Vi
rtualService cnt=0 nonce=
2023-07-19T06:48:44.587917Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/Wo
rkloadEntry cnt=0 nonce=
2023-07-19T06:48:44.587946Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1alpha3/Wo
rkloadGroup cnt=0 nonce=
2023-07-19T06:48:44.587963Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type networking.istio.io/v1beta1/Pro
xyConfig cnt=0 nonce=
2023-07-19T06:48:44.587979Z     info    adsc    Received meshregistry.mesh-operator.svc:16010 type security.istio.io/v1beta1/Autho

@tanjunchen can you provider the original metadata of the nacos instance?

This is a bug caused by our attempt to auto-generate locality information labels for instances.

a place that may need fixing

https://github.com/slime-io/slime/blob/12f27b921be1f7755dbb48b9f92d5110bfd8a9ca/staging/src/slime.io/slime/modules/meshregistry/pkg/util/locality.go#L85-L93C2

You are welcome to fix and submit pr.