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

[SLE15-SP6] Restore the selected products (bsc#1218391) #1106

Merged
merged 1 commit into from Feb 6, 2024

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Feb 6, 2024

Problem

  • https://bugzilla.suse.com/show_bug.cgi?id=1218391
  • The upgrade summary from SLE12 does not list several modules and extensions
  • From the y2log it turned out that the products were properly selected to install but later the package manager was restarted and the selected products were not restored back.

Solution

  • Restore the selected products after reloading the package manager, properly install all products for new modules and extensions.

Testing

  • Added a new unit test
  • Tested manually

Notes

The upgrade_repo_manager.rb file has not been changed since SP5 where the problem does not happen. But it was not called at all there, so the bug was triggered by some other change. Anyway restoring the previous selection after reloading the package manager it always a good idea.

Screenshots

The original buggy behavior, for example the "Python 3" module was not displayed in the "Update Options" section although the repository service from SCC was added into the system:

sp6_upgrade_summary

With the fix the "Pyhon 3" module and some more are correctly listed:

sp6_upgrade_summary_fixed

...after reloading the package manager, properly install all products for new
modules and extensions when upgrading from SLE12

- 4.6.10
@coveralls
Copy link

Coverage Status

coverage: 40.922% (+0.01%) from 40.911%
when pulling 3da0820 on restore_selection_sp6
into 6b32196 on SLE-15-SP6.

@lslezak lslezak merged commit 00a48ba into SLE-15-SP6 Feb 6, 2024
12 checks passed
@lslezak lslezak deleted the restore_selection_sp6 branch February 6, 2024 16:03
@lslezak lslezak changed the title Restore the selected products (bsc#1218391) [SLE15-SP6] Restore the selected products (bsc#1218391) Feb 6, 2024
@yast-bot
Copy link
Contributor

yast-bot commented Feb 6, 2024

✔️ Internal Jenkins job #5 successfully finished
✔️ Created IBS submit request #320713

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.

None yet

4 participants