v0.22 升级 0.23 按升级文档操作 , 制品库部署配置了nexus.
【 】错误1:原有v0.22版本下的gilab CI全部报错。
devops1.com/devops/ci?token=3333333-689d-4f73-a4cd-eedc2238b5e4
{“failed”:true,“code”:“no custom or default warehouse configuration exists”,“message”:"io.choerodon.devops.infra.exception.DevopsCiInvalidException: no custom or default warehouse configuration exists\n\tat io.choerodon.devops.app.service.impl.AppServiceServiceImpl.queryFile(AppServiceServiceImpl.java:1011)\n\tat io.choerodon.devops.app.service.impl.AppServiceServiceImpl$$FastClassBySpringCGLIB$$e2351bf.invoke()\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)\n\tat io.choerodon.devops.app.service.impl.AppServiceServiceImpl$$EnhancerBySpringCGLIB$$9b6d9383.queryFile()\n\tat io.choerodon.devops.api.controller.v1.CiController.queryFile(CiController.java:69)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n\tat java.lang.reflect.Method.invoke(Unknown Source)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)\n\tat org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:635)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:742)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
错误2:平台管理下面的 制品库管理报错
/#/rdupm/product-lib-site?organizationId=1:1 Uncaught (in promise) n: 程序出现错误,请联系管理员
请求:http://xxx.com/rdupm/v1/nexus-repositorys/site/repo?page=0&size=10&distributedQueryFlag=0&repoType=MAVEN
响应:{“failed”:true,“code”:“error.error”,“message”:“程序出现错误,请联系管理员”,“type”:“warn”}
错误3:管理中心 下的 代码库管理报错
http://xxx.com/rducm/v1/organizations/1/projects/gitlab/repositories/members?page=0&size=10&projectIds=“108611062823403520”
{failed: true, code: “error.error”, message: “程序出现错误,请联系管理员”, type: “warn”}
code: “error.error”
failed: true
message: “程序出现错误,请联系管理员”
type: “warn”
错误4:项目下的 制品库管理 创建制品库报错
http://xx.com/rdupm/v1/1/nexus-server-configs/project/14/list
{failed: true, code: “error.nexus.server.info.not.config”, message: “没有可用的nexus服务配置”, type: “warn”}
code: “error.nexus.server.info.not.config”
failed: true
message: “没有可用的nexus服务配置”
type: “warn”
错误5:项目下的 制品库管理 自定义nexus服务 功能错误
自定义填写nexus服务,保存后 继续提示 无自定义 nexus服务,撒都没有保存下来