-
Notifications
You must be signed in to change notification settings - Fork 154
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
Allow upgrades on AWS and Azure using RHUI infrastructure #539
Conversation
Thank you for contributing to the Leapp project!Please note that every PR needs to comply with the Leapp Guidelines, pass tests and linter checks before it can be merged. If you want to re-run tests or request review, you can use following commands as a comment:
|
7bc02a9
to
775aee1
Compare
repos/system_upgrade/el7toel8/actors/addupgradebootentry/libraries/addupgradebootentry.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/targetuserspacecreator/libraries/userspacegen.py
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/addupgradebootentry/libraries/addupgradebootentry.py
Outdated
Show resolved
Hide resolved
4e0dafb
to
3d0e42c
Compare
repos/system_upgrade/el7toel8/actors/addupgradebootentry/libraries/addupgradebootentry.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/addupgradebootentry/libraries/addupgradebootentry.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/dnfupgradetransaction/actor.py
Outdated
Show resolved
Hide resolved
@Rezney the idea looks ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rezney, please report also test coverage for new actors or heavily updated. In order to do this just run:
$ pytest {path to actor} --cov {path to actor}
repos/system_upgrade/el7toel8/actors/checkrhui/tests/component_test_checkrhui.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/createresumeservice/actor.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/dnfpackagedownload/actor.py
Outdated
Show resolved
Hide resolved
...tem_upgrade/el7toel8/actors/targetuserspacecreator/tests/unit_test_targetuserspacecreator.py
Show resolved
Hide resolved
d6e2a88
to
7a6d87a
Compare
@Rezney fails are because of stale branch. Please rebase. You can then run tests using |
5cdb17d
to
822a827
Compare
@AloisMahdal thanks. Will |
@examon the e2e test is failing cause we are not using RHEL7.9 image. |
No, Running "everything we have" is an effort that takes days (due to various reasons related to Beaker load and eg. stage CDN reliability) and is a substantial load on QE resources. If you want to extend beyond |
The murphy-ci/upgrade fail is a false positive caused by recently deployed restraint-0.3.0 (leading to AVC). (Workaround applied in MORF/Murphy so next time it should be fine.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(First part; I am in the middle of PR now)
repos/system_upgrade/el7toel8/actors/addupgradebootentry/libraries/addupgradebootentry.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/addupgradebootentry/tests/unit_test_addupgradebootentry.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/checktargetrepos/tests/test_checktargetrepos.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/targetuserspacecreator/libraries/userspacegen.py
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/kernelcmdlineconfig/actor.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second part of the code review is finished.
repos/system_upgrade/el7toel8/actors/targetuserspacecreator/libraries/userspacegen.py
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/updategrubcore/libraries/updategrubcore.py
Outdated
Show resolved
Hide resolved
7ced225
to
e32ab33
Compare
Upgrade from RHEL 7 to 8 passed in AWS using |
Just for the transparency sakes, the 1st workaround was to not use |
repos/system_upgrade/el7toel8/actors/checktargetrepos/libraries/checktargetrepos.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/kernelcmdlineconfig/actor.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el7toel8/actors/updategrubcore/libraries/updategrubcore.py
Outdated
Show resolved
Hide resolved
290c333
to
81b53a0
Compare
LGTM. I will add approval later after merged PR #520. But it's good otherwise so far. |
- add actor to check for particular cloud package (provided from special repository) to determine whether we are on public cloud. - disable DNF plugin with a message - use the resolved mirrorlist on AWS - copy RHUI data from special Leapp package when on public cloud and running without RHSM - add hybrid (BIOS, UEFI) image grubby workaround
e2e tests |
2 similar comments
e2e tests |
e2e tests |
Verified from RHUI team and in OAMG-3543. |
EDIT: requires PR #520