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

Che plugin broker fails to find meta.yaml #13208

Closed
mmorhun opened this issue Apr 23, 2019 · 4 comments · Fixed by #13215
Closed

Che plugin broker fails to find meta.yaml #13208

mmorhun opened this issue Apr 23, 2019 · 4 comments · Fixed by #13215
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@mmorhun
Copy link
Contributor

mmorhun commented Apr 23, 2019

Description

When user wants to use an editor from custom registry and tries to refer to the editor metadata by link, Che plugin broker fails to download it despite correct url is specified.

Reproduction Steps

  1. Create custom plugin registry
  2. Create a workspace and use link to custom editor in attributes.editor field of workspace config, for example:
    https://raw.githubusercontent.com/user/che-custom-plugins/master/plugins/org.eclipse.che.editor.theia:1.0.0
  3. Start the workspace

Expected: workspace is started with the custom editor
Actual: Workspace start fails by timeout. Logs from plugin broker pod:

Failed to download plugin metas: failed to fetch plugin meta.yaml for plugin 'org.eclipse.che.editor.theia:1.0.0' from registry 'https://raw.githubusercontent.com/user/che-custom-plugins/master/plugins': Downloading https://raw.githubusercontent.com/user/che-custom-plugins/master/plugins/plugins/org.eclipse.che.editor.theia/1.0.0/meta.yaml failed. Status code 404. Response body: 404: Not Found

Note double plugins section in path.

After deleting of plugins section from the uri path (which makes the uri invalid) it can find the metadata.

Environment

Minikube, Che multiuser

@mmorhun mmorhun added the kind/bug Outline of a bug - must adhere to the bug report template. label Apr 23, 2019
@garagatyi
Copy link

@amisevsk might be related to the latest changes in plugin brokers

@vitaliy-guliy
Copy link
Contributor

This bug is blocking the development of Plugin management
#12905

@vitaliy-guliy vitaliy-guliy added status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. and removed status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. labels Apr 23, 2019
@amisevsk
Copy link
Contributor

This looks to be related to the Che-side processing of registry URLs. I'll take a look.

@garagatyi
Copy link

garagatyi commented Apr 23, 2019

@amisevsk I have already created a PR to tackle that eclipse-che/che-plugin-broker#50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants