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

[POC] [WIP] IPU 9 -> 10: Initial preparation: upgrade paths and leapp packages def #1169

Draft
wants to merge 36 commits into
base: master
Choose a base branch
from

Commits on Jun 26, 2024

  1. IPU 9 -> 10: Initial preparation: upgrade paths and leapp packages def

    Introducing initial changes needed for IPU 9 -> 10 to prevent abouvious
    crashes and inhibitors:
    * extend the list of supported source versions for the upgrade by el9
    * define upgrade paths for IPU 9 -> 10
    
    TODO:
    * add RHEL 10 product certificates
    * add RHEL 10 GPG keys
    
    * Introducing el9toel10 repository
      created .gitkeep files inside empty dirs
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    6c196cc View commit details
    Browse the repository at this point in the history
  2. Packaging: Introduce builds for EL 9 for IPU 9 -> 10

    TODO:
      - update commit msg
      - still incomplete - update Makefile
    
    Partially updated Makefile
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    87dca83 View commit details
    Browse the repository at this point in the history
  3. Packit: add epel-9-x86_64 buildroot

    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    054ed27 View commit details
    Browse the repository at this point in the history
  4. IPU 9 -> 10: Add RHEL 10 certs (intel only now)

    TODO:
    * add certs for other architectures too
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    13cb2df View commit details
    Browse the repository at this point in the history
  5. squash! IPU 9 -> 10: Initial preparation: upgrade paths and leapp pac…

    …kages def
    
    Enable upgrade from RHEL 9.4 & 9.5 to RHEL 10.0 for now. For the
    experiment purposes. These will not be supported for the upgrade at all,
    but to make testing and experimentations easier, allow it for now.
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    5f07cf4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    912a6d2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f9f405f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c261cb View commit details
    Browse the repository at this point in the history
  9. IPU 9 -> 10: Set gpg-pubkeys to be obsoleted

    * TODO: this is just experimental, copied value from IPU 8 -> 9 to
      pass the execution without traceback. Check what should be really
      set inside.
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    7d8626b View commit details
    Browse the repository at this point in the history
  10. DROP_COMMIT_BEFORE_MERGE: drop some actions around certs

    Temporarily disabled, not sure now why. The commit will be for
    sure changed or dropped before the merge.
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    b659a26 View commit details
    Browse the repository at this point in the history
  11. [TMP] - Handle RPM DB migration

    The tool file is fine but we need to create a separate actor for this
    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    8e86920 View commit details
    Browse the repository at this point in the history
  12. squash! Packaging: Introduce builds for EL 9 for IPU 9 -> 10

    Set common python deps + builds-deps for RHEL 8+. Previosly, build
    deps have been set just for RHEL 8, not for RHEL 9, so we could not
    create *pyc files for RHEL 9 builds due to missing macros.
    pirat89 authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ab578e3 View commit details
    Browse the repository at this point in the history
  13. TMP: temp to_remove entry for testing

    OAMG-10976
    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    2eb1bbb View commit details
    Browse the repository at this point in the history
  14. [TMP] - Official key

    Until RHELBLD-15138 is resolved
    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a1e6022 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4f8337a View commit details
    Browse the repository at this point in the history
  16. Update PES data

    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    510eb2e View commit details
    Browse the repository at this point in the history
  17. Skip "directory-hash" files

    They are not owned by any package and can dynamically grow to
    a huge amount of files causing hitting open files limit
    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f2852fe View commit details
    Browse the repository at this point in the history
  18. Install "util-linux" into the target container

    "util-linux" package is not brought in as a dependency anymore and
    we are missing "/usr/bin/su"
    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    15470c5 View commit details
    Browse the repository at this point in the history
  19. Stop removing the "openssl-fips-provider" pkgs

    The issue was fixed.
    Rezney authored and matejmatuska committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a1bcbb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Add RHEL9 container for linting and testing

    Since `python3-virtualenv` package is not available in the RHEL 9 UBI,
    a workaround is introduced `make install-deps-fedora`, which is used by
    the testing containers. If not able to install the package, `pip install
    virtualenv` is used as a fallback as this is working in the image.
    
    The relatively recent Python version used in the container means there
    is also a relative recent Pylint verision, which introduces 2 new
    checks. For now these are ignored in .pylintrc.
    matejmatuska committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    96051d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0edea1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d175f0f View commit details
    Browse the repository at this point in the history
  4. Fix tests

    matejmatuska committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    80b7bbc View commit details
    Browse the repository at this point in the history
  5. Add comment header to RPM-GPG-KEY-redhat-release

    Just for completeness I guess
    matejmatuska committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    02f1c6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4ac4da4 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    55bc1eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c0476d View commit details
    Browse the repository at this point in the history
  3. Revert "migraterpmdb: Also rebuild the DB after migration"

    This reverts commit c8898da.
    
    Breaks the upgrade, will be added later
    matejmatuska committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    6c4080e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df04b12 View commit details
    Browse the repository at this point in the history
  5. Rebuild RPM DB during the upgrade beginning 8to9 IPU

    Previously the RPM DB was being rebuilt only during 8->9 IPU. Let's
    rebuild the DB on 9to10 and subsequent IPUs as well, as it's reasonable
    to do so after every distro upgrade.
    matejmatuska committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    8dd6283 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c964c52 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    6e875e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e24ae2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f1959a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a3580e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8261889 View commit details
    Browse the repository at this point in the history