hongming ks-contrller-manager用途是什么,部署后一直在报错,不断的重启。
I1124 08:41:05.416742 1 event.go:281] Event(v1.ObjectReference{Kind:“ClusterRoleBinding”, Namespace:"", Name:“admin-cluster-admin”, UID:“823ebca3-78fb-402d-a8f1-4f3361c355dc”, APIVersion:“rbac.authorization.k8s.io/v1”, ResourceVersion:“14712”, FieldPath:""}): type: ‘Normal’ reason: ‘Synced’ ClusterRoleBinding synced successfully
I1124 08:41:05.429757 1 workspacetemplate_controller.go:200] Successfully synced key:system-workspace
I1124 08:41:05.430659 1 event.go:281] Event(v1.ObjectReference{Kind:“WorkspaceTemplate”, Namespace:"", Name:“system-workspace”, UID:“b848f765-f032-452d-aea7-61d185fbbf1f”, APIVersion:“tenant.kubesphere.io/v1alpha2”, ResourceVersion:“12027”, FieldPath:""}): type: ‘Normal’ reason: ‘Synced’ WorkspaceTemplate synced successfully
I1124 08:41:05.459128 1 workspacetemplate_controller.go:200] Successfully synced key:middleware-workspace
I1124 08:41:05.459174 1 event.go:281] Event(v1.ObjectReference{Kind:“WorkspaceTemplate”, Namespace:"", Name:“middleware-workspace”, UID:“d3b02c89-f145-4184-b986-b117fb0cd15f”, APIVersion:“tenant.kubesphere.io/v1alpha2”, ResourceVersion:“2527516”, FieldPath:""}): type: ‘Normal’ reason: ‘Synced’ WorkspaceTemplate synced successfully
E1124 08:41:05.480520 1 runtime.go:78] Observed a panic: “invalid memory address or nil pointer dereference” (runtime error: invalid memory address or nil pointer dereference)
goroutine 1143 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic(0×1f0b740, 0×393d920)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/runtime/runtime.go:74 +0xa3
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0×0, 0×0, 0×0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/runtime/runtime.go:48 +0×82
panic(0×1f0b740, 0×393d920)
/opt/hostedtoolcache/go/1.13.15/x64/src/runtime/panic.go:679 +0×1b2
github.com/beevik/etree.(*Element).Text(0×0, 0×2278b22, 0xa)
/home/runner/go/pkg/mod/github.com/beevik/etree@v1.1.0/etree.go:426 +0×26
kubesphere.io/kubesphere/pkg/simple/client/devops/jenkins.parseMultiBranchPipelineConfigXml(0xc001342000, 0xf2c, 0xf2c, 0×0, 0×0)
/home/runner/work/kubesphere/kubesphere/pkg/simple/client/devops/jenkins/pipeline_internal.go:884 +0×28b
kubesphere.io/kubesphere/pkg/simple/client/devops/jenkins.(*Jenkins).GetProjectPipelineConfig(0xc000333050, 0xc000a83410, 0×14, 0xc0009ffd00, 0×13, 0×1, 0×0, 0×1)
/home/runner/work/kubesphere/kubesphere/pkg/simple/client/devops/jenkins/project_pipeline.go:171 +0×39f
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).syncHandler(0xc0003e4dc0, 0xc000a83410, 0×28, 0xc000dfcf30, 0xc002d4bcf0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:234 +0×707
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).processNextWorkItem.func1(0xc0003e4dc0, 0×1e39320, 0xc000f0c020, 0×0, 0×0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:143 +0xf3
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).processNextWorkItem(0xc0003e4dc0, 0×0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:150 +0×51
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).worker(0xc0003e4dc0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:163 +0×2b
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc000e1a6b0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/wait/wait.go:152 +0×5e
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000e1a6b0, 0×3b9aca00, 0×0, 0×225c6c6f636f7401, 0xc00009c360)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/wait/wait.go:153 +0xf8
k8s.io/apimachinery/pkg/util/wait.Until(0xc000e1a6b0, 0×3b9aca00, 0xc00009c360)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/wait/wait.go:88 +0×4d
created by kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).Run
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:183 +0×23f
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0×1 addr=0×40 pc=0×1bd39d6]
goroutine 1143 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0×0, 0×0, 0×0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/runtime/runtime.go:55 +0×105
panic(0×1f0b740, 0×393d920)
/opt/hostedtoolcache/go/1.13.15/x64/src/runtime/panic.go:679 +0×1b2
github.com/beevik/etree.(*Element).Text(0×0, 0×2278b22, 0xa)
/home/runner/go/pkg/mod/github.com/beevik/etree@v1.1.0/etree.go:426 +0×26
kubesphere.io/kubesphere/pkg/simple/client/devops/jenkins.parseMultiBranchPipelineConfigXml(0xc001342000, 0xf2c, 0xf2c, 0×0, 0×0)
/home/runner/work/kubesphere/kubesphere/pkg/simple/client/devops/jenkins/pipeline_internal.go:884 +0×28b
kubesphere.io/kubesphere/pkg/simple/client/devops/jenkins.(*Jenkins).GetProjectPipelineConfig(0xc000333050, 0xc000a83410, 0×14, 0xc0009ffd00, 0×13, 0×1, 0×0, 0×1)
/home/runner/work/kubesphere/kubesphere/pkg/simple/client/devops/jenkins/project_pipeline.go:171 +0×39f
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).syncHandler(0xc0003e4dc0, 0xc000a83410, 0×28, 0xc000dfcf30, 0xc002d4bcf0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:234 +0×707
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).processNextWorkItem.func1(0xc0003e4dc0, 0×1e39320, 0xc000f0c020, 0×0, 0×0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:143 +0xf3
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).processNextWorkItem(0xc0003e4dc0, 0×0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:150 +0×51
kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).worker(0xc0003e4dc0)
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:163 +0×2b
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc000e1a6b0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/wait/wait.go:152 +0×5e
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000e1a6b0, 0×3b9aca00, 0×0, 0×225c6c6f636f7401, 0xc00009c360)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/wait/wait.go:153 +0xf8
k8s.io/apimachinery/pkg/util/wait.Until(0xc000e1a6b0, 0×3b9aca00, 0xc00009c360)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/util/wait/wait.go:88 +0×4d
created by kubesphere.io/kubesphere/pkg/controller/pipeline.(*Controller).Run
/home/runner/work/kubesphere/kubesphere/pkg/controller/pipeline/pipeline_controller.go:183 +0×23f