1

我在本地 kubernetes 集群(minikube)上运行 spinnaker。我按照https://github.com/kenzanlabs/spinikube的说明启动了一个大三角帆,并更改了一些配置以适应我的环境。

当我尝试启动包含手动判断阶段但该阶段从未触发的管道时。

这是我在 orca 堆栈跟踪中找到的内容。

2016-10-07 04:05:06.024 错误 1 ​​--- [nio-8083-exec-2] cnspinnaker.orca.batch.StageBuilder:构建流程构建器 java.lang.IllegalStateException 时发生异常:无法找到阶段构建器在 sun.reflect.GeneratedMethodAccessor510.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43) 在 java.lang.reflect.Method.invoke(Method.java:498) 在 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) 在 groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java :324) 在 org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) 在 groovy。lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) 在 groovy.lang.Closure.call(Closure.java:423) 在 groovy.lang.Closure.call(Closure.java:439) 在 org.codehaus.groovy.runtime .DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1372) at com.netflix.spinnaker.orca.batch.StageBuilder.buildDependentStages(StageBuilder.groovy:182 ) 在 com.netflix.spinnaker.orca.batch.StageBuilder.build(StageBuilder.groovy:88) 在 com.netflix.spinnaker 的 com.netflix.spinnaker.orca.batch.StageBuilder.buildParallel(StageBuilder.groovy:162)。 orca.batch.StageBuilder$_buildDependentStages_closure7.doCall(StageBuilder.groovy:217) 在 sun.reflect.GeneratedMethodAccessor510.invoke(Unknown Source) 在 sun。reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy .lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) 在 org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) 在 groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) 在groovy.lang.Closure.call(Closure.java:423) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379) at org.codehaus.groovy.runtime. .codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1372) 在 com.netflix.spinnaker.orca.batch.StageBuilder。buildDependentStages(StageBuilder.groovy:182) at com.netflix.spinnaker.orca.batch.StageBuilder.buildParallel(StageBuilder.groovy:162) at com.netflix.spinnaker.orca.batch.StageBuilder.build(StageBuilder.groovy:88)在 com.netflix.spinnaker.orca.pipeline.PipelineJobBuilder.createStage(PipelineJobBuilder.groovy:121) 在 com.netflix.spinnaker.orca.pipeline.PipelineJobBuilder.buildFlowParallel(PipelineJobBuilder.groovy:114) 在 com.netflix.spinnaker.orca .pipeline.PipelineJobBuilder.build(PipelineJobBuilder.groovy:49) 在 com.netflix.spinnaker.orca.pipeline.PipelineJobBuilder.build(PipelineJobBuilder.groovy) 在 com.netflix.spinnaker.orca.pipeline.ExecutionStarter.createJob(ExecutionStarter.groovy :96) 在 com.netflix.spinnaker.orca.pipeline.ExecutionStarter.startExecution(ExecutionStarter.groovy:65) 在 com.netflix.spinnaker.orca.pipeline.ExecutionStarter$start.call(Unknown Source) 在 com.netflix.spinnaker 的 com.netflix.spinnaker.orca.pipeline.ExecutionStarter.start(ExecutionStarter.groovy:61)。 orca.controllers.OperationsController.startPipeline(OperationsController.groovy:169) at com.netflix.spinnaker.orca.controllers.OperationsController.this$2$startPipeline(OperationsController.groovy) at com.netflix.spinnaker.orca.controllers.OperationsController$this $2$startPipeline$1.callCurrent(Unknown Source) at com.netflix.spinnaker.orca.controllers.OperationsController.orchestrate(OperationsController.groovy:111) at com.netflix.spinnaker.orca.controllers.OperationsController$$FastClassBySpringCGLIB$$c9607418。在 org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.invoke() 调用()java:204) 在 org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649) 在 com.netflix.spinnaker.orca.controllers.OperationsController$$EnhancerBySpringCGLIB$$e00c860d.orchestrate() 在太阳。 reflect.GeneratedMethodAccessor523.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method。 support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) 在 org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) 在 org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod。 invokeAndHandle(ServletInvocableHandlerMethod.java:110) 在 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter. java:705) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) at org.springframework.web.servlet.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) .web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) 在 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965) 在 org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java :867) 在 javax.servlet。http.HttpServlet.service(HttpServlet.java:648) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:841) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org .apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52) 在 org.springframework 的 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 的 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)。 boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter。doFilterInternal(EndpointWebMvcAutoConfiguration.java:300) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor .invoke(FilterSecurityInterceptor.java:118) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java :342) 在 org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) 在 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) 在 org.springframework.security .web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) 在 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) 在 org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter (AnonymousAuthenticationFilter.java:113) 在 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) 在 org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter。doFilter(SecurityContextHolderAwareRequestFilter.java:154) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)在 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) 在 org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) 在 org.springframework.security .web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter .java:107) 在 org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) 在 org.springframework.security 的 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) .web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) 在 org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) 在 org.springframework.web.filter.OncePerRequestFilter .doFilter(OncePerRequestFilter.java:107) 在 org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) 在 org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache.catalina.core.ApplicationFilterChain 的 org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) .doFilter(ApplicationFilterChain.java:206) 在 com.netflix.spinnaker.orca.web.config.WebConfiguration$1.doFilter(WebConfiguration.groovy:76) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 239) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) 在 org.eclipse.jetty.servlets.GzipFilter .doFilter(GzipFilter.java:300) 在 org.apache.catalina.core.ApplicationFilterChain。internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:103) at org .springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206) 在 org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) 在 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 在 org.apache.catalina。核。ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.netflix.spinnaker.fiat.shared.FiatAuthenticationFilter.doFilter(FiatAuthenticationFilter.java:53)在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:85) 在 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache。卡塔利娜core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:77) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java: 107) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 javax.servlet.FilterChain$doFilter.call (未知来源)在 com.netflix.spinnaker.filters.AuthenticatedRequestFilter.doFilter(AuthenticatedRequestFilter.groovy:108) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 在 org.apache.catalina.core .ApplicationFilterChain。doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache .catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) 在 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) 在 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :79) 在 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) 在 org.apache.coyote.http11 的 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)。 org.apache.coyote 上的 AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)。AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) 在 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) 在 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor。 run(NioEndpoint.java:1456) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat .util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 在 java.lang.Thread.run(Thread.java:745)org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:) 中的 ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 61) 在 java.lang.Thread.run(Thread.java:745)org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:) 中的 ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 61) 在 java.lang.Thread.run(Thread.java:745)
4

1 回答 1

0
  1. 将大三角帆升级到更高版本
  2. 检查halconfig
  3. 编排微服务 yaml 文件中是否启用了阶段orca.yaml

请告诉我们

于 2020-03-04T03:49:41.357 回答