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

Support mirroring content simulating an RMT server #28

Open
srbarrios opened this issue Feb 27, 2023 · 2 comments
Open

Support mirroring content simulating an RMT server #28

srbarrios opened this issue Feb 27, 2023 · 2 comments
Labels

Comments

@srbarrios
Copy link
Member

srbarrios commented Feb 27, 2023

In order to support a tool custom made for Liberty Linux.
We need to simulate the behaviour of a RMT server into out Minima Mirror.

In theory, we are already synchronizing the same channels, but there is some missing piece to make that work.

Let's research about it.

Discussion: https://github.com/uyuni-project/sumaform/pull/1259/files#r1118824998

@Bischoff
Copy link

Bischoff commented Feb 27, 2023

We don't necessarily need to simulate a RMT server. Being able to mirror it would be enough.

I suspect we will have to create a third kind of entries in minima configuration file, alongside scc: and http:

@srbarrios
Copy link
Member Author

srbarrios commented Feb 28, 2023

  • ℹ️ We already mirror all the content as shared in the discussion, see:

http://minima-mirror-bv.mgr.prv.suse.net/repo/SUSE/Updates/ ---> SLL* folders

  • It doesn't make sense to mirror content from a mirror, so it doesn't make sense a new section in our YAML file (RMT is already mirroring content, we can directly use the source origin of that content).

Example:
http://minima-mirror-bv.mgr.prv.suse.net/repo/SUSE/Updates/SLL-CB/9/x86_64/update/

  • ⚠️ What we don't support is the query string the HTTP request we are currently doing it includes

This part:
?credentials=SUSE_Liberty_Linux_x86_64

🟢 : https://rmt.scc.suse.de/repo/SUSE/Updates/SLL-CB/9/x86_64/update/?credentials=SUSE_Liberty_Linux_x86_64
❓ : http://minima-mirror-bv.mgr.prv.suse.net/repo/SUSE/Updates/SLL-CB/9/x86_64/update/?credentials=SUSE_Liberty_Linux_x86_64

  • 💡 My guess is that's the reason why the script was not parsing the content properly, but we need to research it:

image

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

No branches or pull requests

2 participants