pai icon indicating copy to clipboard operation
pai copied to clipboard

general user can not visit marketplace template while admin can visit in openpai v1.7.0

Open guningbo opened this issue 3 years ago • 4 comments

when I click a template ,It will report 403 Error,and then Redirect to http://localhost:9286/plugin.html?index=0 image image

image

Organization Name:

Short summary about the issue/question:

Brief what process you are following:

How to reproduce it:

OpenPAI Environment:

  • OpenPAI version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Hardware (e.g. core number, memory size, storage size, GPU type etc.):
  • Others:

Anything else we need to know:

guningbo avatar Aug 09 '21 07:08 guningbo

Please update to v1.8.0

siaimes avatar Aug 09 '21 09:08 siaimes

when I update to v1.8.0, rest-server can not start image @siaimes

guningbo avatar Aug 09 '21 12:08 guningbo

@guningbo I know that this issue of the marketplace has been resolved in v1.8.0, and I did not encounter the problem of failing to start when I upgraded to v1.8.0. So I can't help you any further.

siaimes avatar Aug 10 '21 07:08 siaimes

You can deploy OpenPAI Marketplace v1.8.0 in OpenPAI v1.7.0, if you change these lines: src/marketplace-restserver/deploy/marketplace-restserver.yaml.template: line 21

        image: openpai/pai-marketplace-restserver:v1.8.0

and src/marketplace-webportal/deploy/marketplace-webportal.yaml.template: line 21

        image: openpai/pai-marketplace-webportal:v1.8.0

After that, use paictl.py to restart marketplace-restserver and marketplace-webportal.

yiyione avatar Aug 23 '21 07:08 yiyione