{"record":{"id":"974c4719aac625b3","repo":"istio/istio","slug":"service-registry-s-is-not-supported","errorCode":null,"errorMessage":"service registry %s is not supported","messagePattern":"service registry (.+?) is not supported","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pilot/pkg/bootstrap/servicecontroller.go","lineNumber":64,"sourceCode":"\t)\n\tserviceControllers.AddRegistry(s.serviceEntryController)\n\n\tregistered := sets.New[provider.ID]()\n\tfor _, r := range args.RegistryOptions.Registries {\n\t\tserviceRegistry := provider.ID(r)\n\t\tif registered.Contains(serviceRegistry) {\n\t\t\tlog.Warnf(\"%s registry specified multiple times.\", r)\n\t\t\tcontinue\n\t\t}\n\t\tregistered.Insert(serviceRegistry)\n\t\tlog.Infof(\"Adding %s registry adapter\", serviceRegistry)\n\t\tswitch serviceRegistry {\n\t\tcase provider.Kubernetes:\n\t\t\tif err := s.initKubeRegistry(args); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\tdefault:\n\t\t\treturn fmt.Errorf(\"service registry %s is not supported\", r)\n\t\t}\n\t}\n\n\t// Defer running of the service controllers.\n\ts.addStartFunc(\"service controllers\", func(stop <-chan struct{}) error {\n\t\tgo serviceControllers.Run(stop)\n\t\treturn nil\n\t})\n\n\tif features.EnableAmbient {\n\t\ts.ambientIndex = ambient.New(ambient.Options{\n\t\t\tSystemNamespace:        args.Namespace,\n\t\t\tDomainSuffix:           args.RegistryOptions.KubeOptions.DomainSuffix,\n\t\t\tClusterID:              s.clusterID,\n\t\t\tRevision:               args.Revision,\n\t\t\tXDSUpdater:             s.XDSServer,\n\t\t\tMeshConfig:             s.environment.Watcher,\n\t\t\tStatusNotifier:         args.RegistryOptions.KubeOptions.StatusWritingEnabled,","sourceCodeStart":46,"sourceCodeEnd":82,"githubUrl":"https://github.com/istio/istio/blob/8dc789c5cf17517c64e3c36cb3288230f149dfae/pilot/pkg/bootstrap/servicecontroller.go#L46-L82","documentation":"Error \"service registry %s is not supported\" thrown in istio/istio.","triggerScenarios":"Thrown at pilot/pkg/bootstrap/servicecontroller.go:64 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8dc789c5cf17517c64e3c36cb3288230f149dfae","analyzedAt":"2026-08-15T15:16:55.434Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}