应用管理页面点击仓库地址,跳转到gitlab提示422

这个表里的gitlab_token才是确定权限的么?

这个表里的iam_user_id和gitlab_user_id的对应关系是存在的,会不会是我将gitlab数据恢复之后,gitlab的access token变化导致丢失了?
gitlab恢复数据之后,我修改了gitlab-service的configmap,修改了configmap里对应的access token,然后重新启动了gitlab-service。数据库未做修改。

  1. 你看下iam-user-id 和gitlab-user-id 的对应关系是否正常的,是否id对应错乱,和gitlab-token没关系

  2. 检查下gitlab的 group的member里面是否有这些用户

你看下iam-user-id 和gitlab-user-id 的对应关系是正常的,可以对应上。

gitlab的group和members里没有这个用户

但是我在猪齿鱼上修改用户为项目的所有者是成功的

但是实际gitlab上这个账号却不在group的member里。

groupmember里面没有这个数据,应该是恢复备份gitlab数据的时候丢失了,你可以取消某个用户项目所有者,然后重新分配下项目所有者 ,应该就可以了

这样操作过了,取消用户的权限,然后重新添加为项目所有者,但是感觉数据没同步到gitlab。

先取消权限

再添加权限

操作都是成功的。

gitlab-service的有报错,

2019-05-14 14:32:06.630  INFO 7 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2019-05-14 14:32:22.928  INFO 7 --- [ XNIO-2 task-71] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://register-server.c7n-system:8000/
2019-05-14 14:32:22.942  INFO 7 --- [ XNIO-2 task-71] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=gitlab-service, profiles=[default], label=, version=0.16.1, state=
2019-05-14 14:32:56.873 ERROR 7 --- [ XNIO-3 task-70] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:56.945 ERROR 7 --- [ XNIO-3 task-75] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:56.978 ERROR 7 --- [ XNIO-3 task-73] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.011 ERROR 7 --- [ XNIO-3 task-80] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.072 ERROR 7 --- [ XNIO-3 task-79] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.148 ERROR 7 --- [ XNIO-3 task-74] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.228 ERROR 7 --- [ XNIO-3 task-76] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.503 ERROR 7 --- [ XNIO-3 task-81] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.561 ERROR 7 --- [ XNIO-3 task-83] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.603 ERROR 7 --- [ XNIO-3 task-86] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.659 ERROR 7 --- [ XNIO-3 task-85] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.723 ERROR 7 --- [ XNIO-3 task-82] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.754 ERROR 7 --- [ XNIO-3 task-87] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.807 ERROR 7 --- [ XNIO-3 task-78] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.839 ERROR 7 --- [ XNIO-3 task-90] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:57.871 ERROR 7 --- [ XNIO-3 task-94] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.130 ERROR 7 --- [ XNIO-3 task-66] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.187 ERROR 7 --- [ XNIO-3 task-84] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.226 ERROR 7 --- [ XNIO-3 task-89] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.279 ERROR 7 --- [ XNIO-3 task-92] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.582 ERROR 7 --- [ XNIO-3 task-97] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.640 ERROR 7 --- [ XNIO-3 task-93] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.707 ERROR 7 --- [ XNIO-3 task-95] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.745 ERROR 7 --- [ XNIO-3 task-99] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.807 ERROR 7 --- [ XNIO-3 task-88] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.867 ERROR 7 --- [ XNIO-3 task-98] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.919 ERROR 7 --- [XNIO-3 task-100] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:58.952 ERROR 7 --- [XNIO-3 task-103] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 14:32:59.101  INFO 7 --- [XNIO-3 task-102] i.c.r.h.ControllerExceptionHandler       : exception info io.choerodon.core.exception.FeignException: 404 Group Not Found
	at io.choerodon.gitlab.app.service.impl.GroupServiceImpl.createMember(GroupServiceImpl.java:148)
	at io.choerodon.gitlab.api.controller.v1.GroupsController.createMember(GroupsController.java:142)
	at sun.reflect.GeneratedMethodAccessor340.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:209)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at io.choerodon.resource.filter.JwtTokenFilter.doFilter(JwtTokenFilter.java:90)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:155)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:123)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:65)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:336)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:813)
Caused by: org.gitlab4j.api.GitLabApiException: 404 Group Not Found
	at org.gitlab4j.api.AbstractApi.validate(AbstractApi.java:330)
	at org.gitlab4j.api.AbstractApi.post(AbstractApi.java:143)
	at org.gitlab4j.api.GroupApi.addMember(GroupApi.java:368)
	at io.choerodon.gitlab.app.service.impl.GroupServiceImpl.createMember(GroupServiceImpl.java:145)
	... 82 more

2019-05-14 14:32:59.102  WARN 7 --- [XNIO-3 task-102] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [io.choerodon.core.exception.FeignException: 404 Group Not Found]

no member found 是什么member没找到,最后的404 Group not found,分别对应的gitlab上的什么数据,我去检查下。感觉猪齿鱼没什么问题,问题在gitlab。

这个错是另外一张表里面的project和gitlab group的对应关系不对

我去检查一下

  1. iam_project_id 是choerodon平台项目

  2. devops_app_group_id 是gitlab对应的应用组id

  3. devops_env_group_id是gitlab对应的环境组id

devops_service里的数据如下:

mysql> use devops_service;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

mysql> mysql> select * from devops_project;
+----------------+---------------------+---------------------+-----------------------+------------+---------------------+-----------------+---------------------+
| iam_project_id | devops_app_group_id | devops_env_group_id | object_version_number | created_by | creation_date       | last_updated_by | last_update_date    |
+----------------+---------------------+---------------------+-----------------------+------------+---------------------+-----------------+---------------------+
|              1 |                  23 |                  24 |                     2 |          1 | 2019-05-14 04:26:14 |               1 | 2019-05-14 04:26:16 |
+----------------+---------------------+---------------------+-----------------------+------------+---------------------+-----------------+---------------------+
1 row in set (0.00 sec)

gitlab的版本是11.4.7,在gitlab-mysql里没找到对应的应用组id和环境组id


这样应用组和环境组的id都是2吧?

环境组和应用组是不一样的 ,环境组的name是在应用组的name后面加上了-gitops

image

devops_app_group_id 和 devops_env_group_id是从gitlab-mysql里的那张表里获取的数据?还是说在猪齿鱼上修改组织和创建项目之后,自动生成的?这个值保存在那个数据库的那个表里?

这两个值是在choerodon创建项目成功之后自动回写的,值来源于gitlab-mysql里面的namespace表

mysql> select * from devops_project;
+----------------+---------------------+---------------------+-----------------------+------------+---------------------+-----------------+---------------------+
| iam_project_id | devops_app_group_id | devops_env_group_id | object_version_number | created_by | creation_date       | last_updated_by | last_update_date    |
+----------------+---------------------+---------------------+-----------------------+------------+---------------------+-----------------+---------------------+
|              1 |                   2 |                   3 |                     2 |          1 | 2019-05-14 04:26:14 |               1 | 2019-05-14 04:26:16 |
+----------------+---------------------+---------------------+-----------------------+------------+---------------------+-----------------+---------------------+
1 row in set (0.00 sec)

mysql> select * from namespaces where path like 'operation%';
+----+--------------+---------------------------+----------+---------------------+---------------------+-------+-------------+--------+-----------------------+------------------+------------------------+------------------+-------------+-----------+-----------------------------------+-------------------------+-------------------------+---------------+
| id | name         | path                      | owner_id | created_at          | updated_at          | type  | description | avatar | share_with_group_lock | visibility_level | request_access_enabled | description_html | lfs_enabled | parent_id | require_two_factor_authentication | two_factor_grace_period | cached_markdown_version | runners_token |
+----+--------------+---------------------------+----------+---------------------+---------------------+-------+-------------+--------+-----------------------+------------------+------------------------+------------------+-------------+-----------+-----------------------------------+-------------------------+-------------------------+---------------+
|  2 | ??-??        | operation-dongfang        |     NULL | 2019-03-08 12:21:41 | 2019-03-08 12:21:41 | Group |             | NULL   |                     0 |                0 |                      0 |                  |        NULL |      NULL |                                 0 |                      48 |                      11 | NULL          |
|  3 | ??-??-gitops | operation-dongfang-gitops |     NULL | 2019-03-08 12:21:43 | 2019-03-08 12:21:43 | Group |             | NULL   |                     0 |                0 |                      0 |                  |        NULL |      NULL |                                 0 |                      48 |                      11 | NULL          |
+----+--------------+---------------------------+----------+---------------------+---------------------+-------+-------------+--------+-----------------------+------------------+------------------------+------------------+-------------+-----------+-----------------------------------+-------------------------+-------------------------+---------------+
2 rows in set (0.00 sec)

按照这样修改了之后,使用一个项目所有者创建项目成功了。

看来导入之前存有数据的gitlab到猪齿鱼平台是可以的,只是中间有很多关系在进行gitlab数据恢复之后丢失了。

还有一个问题,gitlab里的代码是从备份数据中恢复的,猪齿鱼上的

分支要如何设置才会有数据,把基本的流程调整好了之后就要开始测试流水线发布。

已有的分支是不会同步过来的,只有在gitlab新创建分支或者在choerodon界面上创建分支才会显示在分支列表里面,建议在界面上创建分支,可以关联敏捷的问题。

choerodon界面上没找到创建分支的地方呀?

刚才一个账号新增了一个应用,然后去gitlab上新增了dev和master分支,并将代码提交到dev分支了,

但是choerodon界面上还是没有显示分支

是操作不对么?还是有内置的关联关系缺失了?

2019-05-14 15:48:53.219  INFO 7 --- [XNIO-2 task-210] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://register-server.c7n-system:8000/
2019-05-14 15:48:53.233  INFO 7 --- [XNIO-2 task-210] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=gitlab-service, profiles=[default], label=, version=0.16.1, state=
2019-05-14 15:49:39.514 ERROR 7 --- [XNIO-3 task-192] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 15:49:39.568  INFO 7 --- [XNIO-3 task-188] i.c.r.h.ControllerExceptionHandler       : exception info io.choerodon.core.exception.FeignException: error.tag.get
	at io.choerodon.gitlab.app.service.impl.RepositoryServiceImpl.listTags(RepositoryServiceImpl.java:48)
	at io.choerodon.gitlab.api.controller.v1.RepositoryController.listTags(RepositoryController.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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:209)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at io.choerodon.resource.filter.JwtTokenFilter.doFilter(JwtTokenFilter.java:90)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:155)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:123)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:65)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:336)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:813)

2019-05-14 15:49:39.569  WARN 7 --- [XNIO-3 task-188] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [io.choerodon.core.exception.FeignException: error.tag.get]
2019-05-14 15:49:44.994 ERROR 7 --- [XNIO-3 task-182] i.c.g.a.service.impl.ProjectServiceImpl  : no member found
2019-05-14 15:52:06.641  INFO 7 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2019-05-14 15:54:03.184  INFO 7 --- [XNIO-2 task-241] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://register-server.c7n-system:8000/
2019-05-14 15:54:03.193  INFO 7 --- [XNIO-2 task-241] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=gitlab-service, profiles=[default], label=, version=0.16.1, state=

官方文档的教程里有这个创建分支的页面,我在choerodon界面上都没找到对应的页面。

在开发流水线的分支页面,一直是提示"该应用仓库为空,暂无分支"。

你这个应用是刚新建的吗?正常创出来的应用刚开始出来就是有默认master分支的。

如果没有master分支,那么该界面就会展示应用仓库为空,暂无分支,创建按钮也会隐藏

是刚刚创建的呀,创建完再choerodon界面上都没找到创建分支的功能页面,直接点击仓库地址去gitlab上创建分支的。