Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分享应用到团队时, 报"应用信息处理发生错误" #203

Closed
GLYASAI opened this issue Aug 8, 2019 · 2 comments
Closed

分享应用到团队时, 报"应用信息处理发生错误" #203

GLYASAI opened this issue Aug 8, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@GLYASAI
Copy link
Contributor

@GLYASAI GLYASAI commented Aug 8, 2019

如果你想提交一个BUG,请优先查看已经存在的BUG提交是否与你的问题一致。
如果你想提交一个需求建议,请详细描述你的场景。
如果你想咨询Rainbond的使用场景,请移步Rainbond用户社区

  • Rainbond版本: V5.1-dev-50c570c-2019-07-24-08

  • 操作系统类型和版本: ubuntu1604

  • 部署环境:公有云

分享应用时, http://host/console/teams/23ehgni5/share/376/info?use_force=false这个接口报一下的错误:

{
    "msg": "create share info",
    "code": 500,
    "data": {
        "bean": {},
        "list": []
    },
    "msg_show": "应用信息处理发生错误"
}
@barnettZQG barnettZQG added this to the v5.1.7 milestone Aug 13, 2019
@barnettZQG

This comment has been minimized.

Copy link
Contributor

@barnettZQG barnettZQG commented Aug 23, 2019

2019-08-23 18:51:54 [ERROR] localhost [custom_exception_handler] /app/ui/console/views/base.py:336 'ServiceRepo' object has no attribute 'get_service_by_tenant_and_alias'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 471, in dispatch
    self.initial(request, *args, **kwargs)
  File "/app/ui/console/views/services_toplogical.py", line 62, in initial
    self.service = service_repo.get_service_by_tenant_and_alias(self.tenant.tenant_id, service_alias)
AttributeError: 'ServiceRepo' object has no attribute 'get_service_by_tenant_and_alias'
@barnettZQG

This comment has been minimized.

Copy link
Contributor

@barnettZQG barnettZQG commented Aug 23, 2019

File "/app/ui/console/services/share_services.py", line 754, in create_share_info
    group_info["scope"], share_team.tenant_name)
  File "/app/ui/console/appstore/appstore.py", line 55, in get_image_connection_info
    raise ServiceHandleException("no cloud permission", msg_show="云市授权不通过", status_code=403, error_code=10407)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.