
I0421 13:14:14.563237 1 filepath.go:71] [Storage] LocalFileStorage File directory /tmp/ks-upgrade already exists
I0421 13:14:14.563378 1 executor.go:158] [Job] kubeedge is disabled
I0421 13:14:14.563390 1 executor.go:158] [Job] kubefed is disabled
I0421 13:14:14.563394 1 executor.go:158] [Job] servicemesh is disabled
I0421 13:14:14.563396 1 executor.go:158] [Job] storage-utils is disabled
I0421 13:14:14.563397 1 executor.go:158] [Job] tower is disabled
I0421 13:14:14.563399 1 executor.go:158] [Job] whizard-telemetry is disabled
I0421 13:14:14.563401 1 executor.go:158] [Job] whizard-alerting is disabled
I0421 13:14:14.563409 1 executor.go:155] [Job] application is enabled, priority 100
I0421 13:14:14.563413 1 executor.go:155] [Job] devops is enabled, priority 800
I0421 13:14:14.563421 1 executor.go:155] [Job] iam is enabled, priority 999
I0421 13:14:14.563428 1 executor.go:158] [Job] whizard-logging is disabled
I0421 13:14:14.563431 1 executor.go:158] [Job] metrics-server is disabled
I0421 13:14:14.563435 1 executor.go:155] [Job] network is enabled, priority 100
I0421 13:14:14.563443 1 executor.go:155] [Job] core is enabled, priority 10000
I0421 13:14:14.563446 1 executor.go:158] [Job] whizard-events is disabled
I0421 13:14:14.563457 1 executor.go:155] [Job] gateway is enabled, priority 90
I0421 13:14:14.563460 1 executor.go:158] [Job] opensearch is disabled
I0421 13:14:14.563462 1 executor.go:158] [Job] vector is disabled
I0421 13:14:14.563464 1 executor.go:158] [Job] whizard-monitoring is disabled
I0421 13:14:14.563466 1 executor.go:158] [Job] whizard-notification is disabled
I0421 13:14:14.568650 1 helm.go:145] getting history for release [ks-core]
I0421 13:14:14.633176 1 validator.go:57] [Validator] Current release's version is v3.3.2
I0421 13:14:14.633200 1 executor.go:220] [Job] core prepare-upgrade start
I0421 13:14:14.633209 1 executor.go:58] [Job] Detected that the plugin core is true
I0421 13:14:14.658523 1 core.go:314] scale down deployment kubesphere-system/ks-apiserver unchanged
I0421 13:14:14.668097 1 core.go:314] scale down deployment kubesphere-system/ks-console unchanged
I0421 13:14:14.680227 1 core.go:314] scale down deployment kubesphere-system/ks-controller-manager unchanged
I0421 13:14:14.690029 1 core.go:314] scale down deployment kubesphere-system/ks-installer unchanged
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x2025ccf]
goroutine 1 [running]:
kubesphere.io/ks-upgrade/pkg/jobs/core.(\*upgradeJob).deleteKubeSphereWebhook(0xc0009def00, {0x2ba2f40, 0x40e7c00})
/workspace/pkg/jobs/core/core.go:429 +0x22f
kubesphere.io/ks-upgrade/pkg/jobs/core.(\*upgradeJob).PrepareUpgrade(0xc0009def00, {0x2ba2f40, 0x40e7c00})
/workspace/pkg/jobs/core/core.go:118 +0xcc
kubesphere.io/ks-upgrade/pkg/executor.(\*Executor).PrepareUpgrade(0xc000403560, {0x2ba2f40, 0x40e7c00})
/workspace/pkg/executor/executor.go:227 +0x275
main.init.func5(0xc000158600?, {0x26e5683?, 0x4?, 0x26e5687?})
/workspace/cmd/ks-upgrade.go:102 +0x26
github.com/spf13/cobra.(\*Command).execute(0x4095a80, {0xc00081ce40, 0x3, 0x3})
/workspace/vendor/github.com/spf13/cobra/command.go:985 +0xaaa
github.com/spf13/cobra.(\*Command).ExecuteC(0x4094c20)
/workspace/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff
github.com/spf13/cobra.(\*Command).Execute(...)
/workspace/vendor/github.com/spf13/cobra/command.go:1041
main.main()
/workspace/cmd/ks-upgrade.go:136 +0x4e
helm 更新到了3.17之后,执行报错