Skip to content

Conversation

@PeterMocary
Copy link
Collaborator

@PeterMocary PeterMocary commented Dec 1, 2025

The post-upgrade task which updates the system packages failed when
running upgrade with custom repositories. Since leapp does not update the
repositories in /etc/yum.repos.d when upgrading with custom repositories,
the post-upgrade update task is now skipped in the case when
the leapp_upgrade_type is custom and when the local_repos_post_upgrade
are not defined.

This PR includes commits from the PR#285 already since these fix some issues
with python interpreter encountered in 9 to 10 tests.
The last commit acts as
a minor fix to the clean up of role tests, since executing these without it caused
them to fail. The analysis role test fails on leapp being not installed since its
dependencies are not satisfied and there is no rescue block for error handling
as in the upgrade role test. Currently these are here just to execute the roles
independently. We need to decide what to do with them in future.

@PeterMocary PeterMocary force-pushed the fix-9-10-upgrade-with-interpret-fixes branch from d5c723c to cb257cf Compare December 1, 2025 19:59
@PeterMocary
Copy link
Collaborator Author

Fixed the linter issues.

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 1, 2025

[citest]

@PeterMocary PeterMocary force-pushed the fix-9-10-upgrade-with-interpret-fixes branch from cb257cf to 572a8b2 Compare December 1, 2025 21:14
@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@PeterMocary PeterMocary force-pushed the fix-9-10-upgrade-with-interpret-fixes branch from 572a8b2 to 7a7cab8 Compare December 2, 2025 11:49
@PeterMocary
Copy link
Collaborator Author

Rebased onto main.

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

10 similar comments
@PeterMocary
Copy link
Collaborator Author

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@PeterMocary
Copy link
Collaborator Author

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 2, 2025

[citest]

@spetrosi
Copy link
Collaborator

spetrosi commented Dec 3, 2025

[citest]

@PeterMocary
Copy link
Collaborator Author

[citest]

@PeterMocary PeterMocary force-pushed the fix-9-10-upgrade-with-interpret-fixes branch from 7a7cab8 to b4f5a66 Compare December 8, 2025 09:47
@PeterMocary
Copy link
Collaborator Author

Trying to run the upgrades without the interpreter fix.

@PeterMocary
Copy link
Collaborator Author

[citest]

@PeterMocary PeterMocary force-pushed the fix-9-10-upgrade-with-interpret-fixes branch from b4f5a66 to 2ee11f6 Compare December 8, 2025 12:31
@PeterMocary
Copy link
Collaborator Author

Rebased onto main.

@PeterMocary
Copy link
Collaborator Author

[citest]

The post-upgrade task which updates the system packages failed when
running upgrade with custom repositories. Since leapp does not update the
repositories in /etc/yum.repos.d when upgrading with custom
repositories, the post-upgrade update task is now skipped in the case
when the leapp_upgrade_type is custom and when the
local_repos_post_upgrade are not defined.

Jira: RHELMISC-21816
@PeterMocary PeterMocary force-pushed the fix-9-10-upgrade-with-interpret-fixes branch from 2ee11f6 to 4b25f6a Compare December 8, 2025 14:27
@PeterMocary PeterMocary marked this pull request as ready for review December 8, 2025 14:28
@PeterMocary
Copy link
Collaborator Author

Added the changelog fragment.

@PeterMocary
Copy link
Collaborator Author

[citest]

@spetrosi spetrosi merged commit 16366d5 into redhat-cop:main Dec 8, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants