Bug 1537098
Summary: | don't parse weak/rich dependencies unless the the whole list can be processed | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Tomas Lestach <tlestach> |
Component: | Server | Assignee: | Tomáš Kašpárek <tkasparek> |
Status: | CLOSED ERRATA | QA Contact: | Radovan Drazny <rdrazny> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 580 | CC: | ggainey, rdrazny, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-backend-2.5.3-161-sat | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-06 15:47:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1450111 |
Description
Tomas Lestach
2018-01-22 12:37:09 UTC
spacewalk.github: 8fe431e0ac2b3c4870d98aacc41bfb7c8b8f9fdd packageImport knows how to ignore the 'new tags' on older Spacewalks, *and* old versions of RPM. Reproduced with spacewalk-backend-2.5.3-160 using the reproducer from the initial report. While rpm provides complete list for "suggests" and "enahances", Spacewalk WebUI shows only first item from each list, just like described. - First scenario - updated Satellite (spacewalk-backend-2.5.3-162.el6sat), old rpm libs (rpm-4.8.0-55.el6), import a package providing "enhances"/"suggests" tags: Checking the package details in the Satellite (package management, Dependencies tab), there are no items in Suggests nor Enhances section. - Second scenario - updated Satellite (spacewalk-backend-2.5.3-162.el6sat), updated rpm libs (rpm-4.8.0-56.el6_9), import a package providing "enhances"/"suggests" tags: Checking the package details in the Satellite (package management, Dependencies tab), there are all items in Suggests and Enhances sections. In case of acme-tiny-0.1-12.20160810git5a7b4e7.fc26 it means: - httpd - mod_ssl - nginx in both cases. It is necessary to restart the Satellite after updating rpm libs, otherwise the new functionality is not working. Basically, the functionality works as expected now, with or without updated rpm. But I see an issue with the existing data. If packages were imported using the old spacewalk-backend and old rpm, even after update, Satellite will display old incorrect data generated during the initial package import/rhnpush/reposync. It is necessary to remove the packages and do a re-import to generate the correct data. Grant, is there some simple way to do a package data refresh to generate the correct data, without removing and re-importing packages? In any case, I think it would be useful to add a warning to the errata doc making user aware of the need to do a package refresh/reimport to make Satellite display correct package data. The new capabilities don't appear in RHEL until RHEL8 happens. So no Satellite user will be affected by this. If someone has, say, imported a recent Fedora, then they'll just have to bite the bullet and re-import to fix, alas. Working as intended. (In reply to Grant Gainey from comment #6) > The new capabilities don't appear in RHEL until RHEL8 happens. So no > Satellite user will be affected by this. If someone has, say, imported a > recent Fedora, then they'll just have to bite the bullet and re-import to > fix, alas. Working as intended. Ok. In that case, the fix works as expected. VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0393 |