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

Improve queries pattern for LinuxContainers Marketplace #6171

Closed
2 of 3 tasks
rsmontero opened this issue Apr 3, 2023 · 3 comments
Closed
2 of 3 tasks

Improve queries pattern for LinuxContainers Marketplace #6171

rsmontero opened this issue Apr 3, 2023 · 3 comments

Comments

@rsmontero
Copy link
Member

rsmontero commented Apr 3, 2023

Description
Current markeplace drivers issues multiple http request to get a list of all available images. This imposes too much load on the linux containers servers.

This issue is to change this pattern and use https://images.linuxcontainers.org/streams/v1/images.json file that contains all the images.

To Reproduce
NaN

Expected behavior
NaM

Details

  • Affected Component: Martkeplace - LinuxContainers
  • Hypervisor: -
  • Version: All

Additional context
Add any other context about the problem here.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@albert0marti
Copy link
Member

Many thanks for the heads-up, @stgraber!

@tinova tinova assigned brodriguez-opennebula and unassigned dann1 May 3, 2023
@brodriguez-opennebula
Copy link
Contributor

Code written and tested in an lxc-ssh microenv. It worked OK

https://github.com/OpenNebula/one-ee/pull/2603

@tinova tinova modified the milestones: Release 6.4.4, Release 6.4.5 May 11, 2023
rsmontero added a commit to OpenNebula/docs that referenced this issue May 17, 2023
rsmontero added a commit to OpenNebula/docs that referenced this issue May 17, 2023
rsmontero pushed a commit that referenced this issue May 17, 2023
Instead of traversing links in https://images.linuxcontainers.org/ (which takes
a lot of time), now the LXC image information is extracted parsing the file
https://images.linuxcontainers.org/streams/v1/images.json

(cherry picked from commit 5748f96)
(cherry picked from commit e4343eb)
@rsmontero
Copy link
Member Author

Merged across branches. Fix should be delivered in next patch releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants