Bug 1373819
Summary: | there are differences between upgraded 5.6 to 5.7 and installed 5.7 db schema | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Ales Dujicek <adujicek> |
Component: | Upgrades | Assignee: | Tomáš Kašpárek <tkasparek> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ales Dujicek <adujicek> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 570 | CC: | dyordano, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhn-upgrade-5.8.0.11-1-sat satellite-schema-5.8.0.23-1-sat spacewalk-schema-2.5.1-31-sat | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-21 12:14:30 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: | 1368978, 1393921 |
Description
Ales Dujicek
2016-09-07 08:16:12 UTC
one more thing F) select a1.label l1, a2.label l2 from rhnPackageUpgradeArchCompat, rhnPackageArch a1, rhnPackageArch a2 where package_arch_id = a1.id and package_upgrade_arch_id = a2.id and (a1.label = 'ppc64le' or a2.label = 'ppc64le'); upgraded 5.6 -> 5.7: 2 rows installed 5.7 sat: 3 rows there is insert into rhnPackageUpgradeArchCompat (package_arch_id, package_upgrade_arch_id, created, modified) select LOOKUP_PACKAGE_ARCH('ppc64le'), LOOKUP_PACKAGE_ARCH('ppc64le'), current_timestamp, current_timestamp from dual where not exists (select 1 from rhnPackageUpgradeArchCompat where package_arch_id = LOOKUP_PACKAGE_ARCH('noarch') and package_upgrade_arch_id = LOOKUP_PACKAGE_ARCH('ppc64le')); in schema/spacewalk/upgrade/spacewalk-schema-2.2-to-spacewalk-schema-2.3/003-add-ppc64le.sql which tries to insert ppc64le - ppc64le where not exists noarch - ppc64le and it exists, so ppc64le - ppc64le is not inserted and then is missing in upgraded schema I do not think all the listed differences are valid (I suppose the architectures may have been added by satellite-sync), but I think the bug is definitely worth investigating. FYI differences between 5.7->5.8 and clean 5.8 should be sorted out. |