Bug 1315964
Summary: | unable to upgrade 5.6.0@externalOracle to 5.7.0@externalPostgreSQL (IMO would be same for all PostgreSQL variants) | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
Component: | Upgrades | Assignee: | Tomáš Kašpárek <tkasparek> |
Status: | CLOSED DEFERRED | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 570 | CC: | adujicek, jdobes, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-09 14:56:18 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: |
Description
Jan Hutař
2016-03-09 07:20:32 UTC
As a workaround to get this running after I found `./install.pl --upgrade --external-postgresql` did not migrated mine DB, I have restored /etc/rhn/rhn.conf from backup (so it contains mine external Oracle DB connection info) and downgraded satellite-schema package to 5.5.* version with `rpm -Uvh --oldpackage satellite-schema-5.5.0.13-1.el6sat.noarch.rpm`. There is a workaround, so lowering severity. Jan, my understanding is, this upgrade scenario isn't supported. Feel free to point me to any sources, in case I'm wrong. I'd say you need to do it in two steps: 1) upgrade 5.6.0@extOra -> 5.7.0@extOra 2) migrate 5.7.0@extOra -> 5.7.0@extPG according to https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html/Installation_Guide/sect-Migrating_from_an_External_Oracle_Database_to_an_External_PostgreSQL_Database.html (Btw. this docs still needs to be verified by QA, see Bug 1313492 for more info.) It looks like NOTABUG for me. IMO it is: Check /etc/sysconfig/rhn/satellite-upgrade/README from rhn-upgrade-5.7.0.29-1.el6sat.noarch package: | Database considerations | ----------------------- | | Red Hat Satellite 5.7 supports several options for database backend: | | 1. ... embedded ... PostgreSQL ... | | 2. ... managed ... PostgreSQL ... | | 3. ... external PostgreSQL ... | | 4. ... external Oracle ... | | | If your current Satellite uses embedded Oracle database, ... | | If your current Satellite uses external Oracle database, you may upgrade to | Red Hat Satellite 5.7 with database options 1, 2, 3 or 4. I'll be happy if you prove me I miss-understood here :-/ I'm aware the upgrade has some gaps, that's why Bug 1313262. Another way to workaround it is to create the backup manually before ./install.pl --upgrade # cp /etc/rhn/rhn.conf /tmp/oracle-rhn.conf But then you would hit bz1315974 anyway We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog. This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed. |