一键部署choerodon-file,choerodon-message一直CrashLoopBackOff

  • Choerodon平台版本: 0.25.0

  • 遇到问题的执行步骤:

./c7nctl install c7n -c config.yml --version=0.25

  • 文档地址:

官网的地址

  • 环境信息(如:节点信息):

4个节点,4C16G

  • 报错日志:

kubectl logs -n c7n-system choerodon-file-555f99fb88-zgvtp

2021-12-28 22:19:37.374 INFO 9 — [ main] d.s.b.c.e.WelcomeLogoApplicationListener :

:: Dubbo Spring Boot (v2.7.8) : github .com/apache/dubbo-spring-boot-project

:: Dubbo (v3.0.3) : github .com/apache/dubbo

:: Discuss group : dev@dubbo.apache.org

file-init的日志

[main] INFO org.hzero.helper.generator.core.infra.liquibase.excel.ExcelDataLoader - ---- total process 292,time:446ms ----

[main] INFO org.hzero.helper.generator.core.infra.liquibase.excel.ExcelDataLoader - begin update exists datas…

[main] INFO org.hzero.helper.generator.core.infra.liquibase.excel.ExcelDataLoader - update complete, update row:4 (include tl)

[main] INFO org.hzero.helper.generator.core.infra.liquibase.excel.ExcelDataLoader - SUCCESS

[main] INFO org.hzero.helper.generator.core.infra.liquibase.excel.ExcelDataLoader - data process finish, time: 449 ms

[main] INFO org.hzero.helper.generator.core.infra.liquibase.LiquibaseExecutor - The database initialization task is complete

[main] INFO org.hzero.helper.generator.data.app.service.impl.ImportDataServiceImpl - >>>>>>>>>>>>>>>>>>>>>>>>>>>> end : service=hzero_platform, schema=hzero_platform <<<<<<<<<<<<<<<<<<<<<<<<<<<<<

message的日志

2021-12-28 22:22:43.977 ERROR 8 — [ main] o.s.boot.SpringApplication : Application run failed

java.lang.NoSuchMethodError: org/apache/dubbo/common/utils/ConfigUtils.getProperties()Ljava/util/Properties; (loaded from jar:file:/choerodon/choerodon-message.jar!/BOOT-INF/lib/dubbo-3.0.3.jar!/ by org.springframework.boot.loader.LaunchedURLClassLoader@bdc060b7) called from class org.apache.dubbo.spring.boot.context.event.OverrideDubboConfigApplicationListener (loaded from jar:file:/choerodon/choerodon-message.jar!/BOOT-INF/lib/dubbo-spring-boot-autoconfigure-compatible-2.7.8.jar!/ by org.springframework.boot.loader.LaunchedURLClassLoader@bdc060b7).

at org.apache.dubbo.spring.boot.context.event.OverrideDubboConfigApplicationListener.onApplicationEvent(OverrideDubboConfigApplicationListener.java:65) ~[dubbo-spring-boot-autoconfigure-compatible-2.7.8.jar!/:2.7.8]

at org.apache.dubbo.spring.boot.context.event.OverrideDubboConfigApplicationListener.onApplicationEvent(OverrideDubboConfigApplicationListener.java:44) ~[dubbo-spring-boot-autoconfigure-compatible-2.7.8.jar!/:2.7.8]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74) ~[spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) ~[spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:338) [spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:297) [spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137) ~[spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:208) ~[spring-cloud-context-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]

at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:104) ~[spring-cloud-context-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]

at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:70) ~[spring-cloud-context-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]

at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74) ~[spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) ~[spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:338) [spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:297) [spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242) [spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230) [spring-boot-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]

at io.choerodon.message.MessageApplication.main(MessageApplication.java:19) [classes!/:0.25.5]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_272]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_272]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_272]

at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_272]

at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [choerodon-message.jar:0.25.5]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [choerodon-message.jar:0.25.5]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [choerodon-message.jar:0.25.5]

at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [choerodon-message.jar:0.25.5]
  • 原因分析:

    这两个服务的异常导致后续安装中断了

  • 疑问:

    如何恢复这2个服务?

这个两个服务,回退1个小版本就行了

后面按手工部署重新安装这2个服务,然后再继续安装其它服务,完成系统部署了