uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
438 stars 183 forks source link

Web UI feature #9499

Open PorteBannana opened 2 days ago

PorteBannana commented 2 days ago

Short description

Add a feature in the Web UI to display and activate open source products and repositories without requiring CLI commands.

Details

Currently, Uyuni relies heavily on CLI commands like spacewalk-common-channels to add products and repositories, including open source distributions (e.g., openSUSE Leap, Tumbleweed). While this approach works, it can be cumbersome and lacks visibility, especially for users managing open source environments exclusively.

The proposed feature would allow administrators to see a list of available open source products directly in the Web UI. From there, they could activate and synchronize the desired products without needing to switch to the command line. Suggested Improvements

  1. Add a dedicated "Available Products" page in the Web UI:

    • Display a pre-defined list of open source products and repositories that do not require credentials (e.g., openSUSE Leap, AlmaLinux, Debian).

    • Allow users to filter by distribution, version, and architecture (e.g., x86_64, aarch64).

  2. Provide visibility for repository details:

    • Show URLs and descriptions for each repository.
    • Indicate the current synchronization status (e.g., "Not Synced", "In Progress", "Up to Date").
  3. Enable product activation with a single click:

    • Allow users to select products/repositories and click an "Add and Synchronize" button.
    • Automatically import the products into the Web UI's managed channels list.

Benefits

  1. Improved User Experience: Simplifies the workflow for adding open source products by removing the need for manual CLI commands.

  2. Enhanced Visibility: Provides a clear, graphical overview of available repositories and their synchronization status.

  3. Reduced Errors: Minimizes the risk of misconfigured repositories or forgetting to include necessary sub-channels.

  4. Encourages Adoption: By making Uyuni more user-friendly, especially for organizations focused on open source distributions, this feature could increase adoption.

Example Use Case

An administrator managing openSUSE Leap servers wishes to add and synchronize repositories for openSUSE Leap 15.6 (including updates, non-oss, etc.). Instead of running:

spacewalk-common-channels -u admin -a x86_64 opensuse_leap15_6*

The administrator would:

  1. Go to the Web UI > Admin > Available Products.
  2. Select openSUSE Leap 15.6 and its sub-channels.
  3. Click "Add and Synchronize".

The Web UI would then handle the synchronization process, displaying progress and any potential errors.

RenownTwiz commented 15 hours ago

I up vote this as well. It's not end user friendly the way it is now. It might also help if there was a bit of a redesign on the (Admin --> Setup Wizard --> "Organization Credentials" & "Products") sections to not just be SUSE specific. Maybe it could be setup to allow for RHEL credentials/CA/Cert/Key and when possible handle opensource repositories and channels so that everything upstream distro related is in the same spot in the GUI? Later maybe we could get Oracle & ULN credentials added if we can get Oracle come on board and move from their Spacewalk clone to Uyuni.