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

check_rhui: allow minor versions in the RHUI table #1240

Merged
merged 5 commits into from
Jun 7, 2024

Commits on May 28, 2024

  1. check_rhui: allow minor versions in the RHUI table

    With RHEL8.10, different target RHUI clients have to be installed,
    depending on the target minor version. The RHUI_SETUPS structure
    used for navigating upgrades on RHUI and associated infrastructure
    did not allow to setups based on their minor version. RHUI_SETUPS
    is used to both determine what RHUI variant are we running on and what
    is the target setup. Therefore, any solution would have to:
    - ensure that when we are on RHEL8.10, we will look for correct client
      (this point is fairly easy, and it would be sufficient to just declare
       another setup description in RHUI_SETUPS)
    - determine what target client to install depending on whether we are
      targetting RHEL8.10 or, e.g., RHEL8.8
    Introducing another setup to the map causes multiple target variants
    to be eligible, and, thus, leapp would error due to not being able to
    pick the target setup. Therefore, a solution has to include such
    conflict resolution based on target minor version.
    
    Given the above description of the solution space, this patch allows
    specifying minor versions in the RHUI_SETUPS table used to resolve
    conflicts when multiple target setups matching the major version are
    eligable. Identification of the source and corresponding target RHUI
    variant works by using the entry with the closest (younger) minor
    version. For example, when 8.4 and 8.8 are suitable target setups (based
    on the installed clients), 8.4 will be used when the upgrade taget is
    8.6. The minor versions in the RHUI_SETUPS table, therefore, are
    in a sense a "changelog" of leapp's RHUI knowledge. If the table
    contains an entry A with version 8.0, and an entry B with version
    8.8, this can be understood as:
      Since 8.0, we know that the setups use this client and we need to do
      these things to access target content. Since 8.8 onwards, we know
      that we need to use a different client etc.
    mhecko committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c724e65 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. rhui(google): add RHEL7 ELS setup into RHUI_SETUPS

    Add RHEL7 ELS setup into RHUI_SETUPS and modify repomapping
    accordingly.
    mhecko committed May 29, 2024
    Configuration menu
    Copy the full SHA
    44a53a5 View commit details
    Browse the repository at this point in the history
  2. rhui(aws-arm): fix incorrect client names

    mhecko committed May 29, 2024
    Configuration menu
    Copy the full SHA
    e88a86e View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    2854b99 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. fix rhui package collection

    mhecko committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    0ec6e6e View commit details
    Browse the repository at this point in the history