The download end-point of Spacewalk/SUSE Manager resolves the packages from channels dynamically with a database query.

With the integration of Salt into SUSE Manager we have the chance to rethink this.

As the current SUSE Manager Salt implementation uses a plain HTTP end-point and self-contained JWT tokens for authentication against the end-point, we think about resolving the channel/package relationship at repodata generation time (eg. symlinks) and then doing the authentication with a simple helper program so that we don't need to hit tomcat at all.

This would also make possible to use the endpoint without any authentication at all, giving even more performance.

Making the end-point static would make scalability much easier.


Results

The experiment failed and we were not able to implement a fully static end-point because of authentication. However, the project resulted in the addition of mod_xsendfile to avoid having the package download go via Tomcat.

Looking for hackers with the skills:

spacewalk susemanager http

This project is part of:

Hack Week 13

Activity

  • over 5 years ago: moio left this project.
  • about 6 years ago: moio joined this project.
  • about 6 years ago: j_renner liked this project.
  • about 6 years ago: dmacvicar started this project.
  • about 6 years ago: dmacvicar added keyword "spacewalk" to this project.
  • about 6 years ago: dmacvicar added keyword "susemanager" to this project.
  • about 6 years ago: dmacvicar added keyword "http" to this project.
  • about 6 years ago: dmacvicar originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    On-demand notification using spacewalk (SUMA) API by atighineanu

    [comment]: # (Please use the project descriptio...


    Uyuni/SUSE Manager: build Python APE and a Salt+Python bundle to support ANY client operating system by pagarcia

    Uyuni/SUSE Manager build client tools for each ...


    Uyuni/SUSE Manager containerization project by moio

    Deploy Uyuni as an **app from the Rancher marke...


    Uyuni as a Bootstrap theme by Etheryte

    Project Description

    Currently, Uyuni has ...


    On-demand notification using spacewalk (SUMA) API by atighineanu

    [comment]: # (Please use the project descriptio...


    Raspberry Pi and SUSE Manager by e_bischoff

    I have bought a Raspberry Pi 400 and would like...