Bug 1459136
Summary: | spacewalk-debug misses rhn_pgversion.conf on upgraded Satellite with Oracle | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Ales Dujicek <adujicek> |
Component: | Other | Assignee: | Tomáš Kašpárek <tkasparek> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 580 | CC: | cshereme, dyordano, tkasparek, tlestach, xdmoon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-22 06:54:33 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
Ales Dujicek
2017-06-06 12:05:11 UTC
(In reply to Ales Dujicek from comment #0) > ./install.pl: > if (not $opts{"upgrade"} or Spacewalk::Setup::is_db_migration(\%opts)) { > write_pg_version(); > } > the file is not generated when upgrading Oracle->Oracle According to this the /usr/share/rhn/config-defaults/rhn_pgversion.conf file is written when: * installing Sat with embedded PG * installing Sat with external PG * installing Sat with external Oracle * upgrading Sat with Oracle to embedded PG and is NOT written when: * upgrading Sat with external PG * upgrading Sat with external Oracle Tomas, is that correct? Hi Tomas/Jan, If I read the attached case 01889163 correctly it was closed as resolved after customer made update to tomcat config changing -Dorg.xml.sax.driver=com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser to -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser per kbase https://access.redhat.com/solutions/3115311 CommentsHelpfulFollow[Satellite 5] After update to 5.8 rhn-search throws exception "java.lang.ClassNotFoundException: com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser" Is that part of this bugfix or should be a different BZ? Thanks, (In reply to Jan Dobes from comment #2) > (In reply to Ales Dujicek from comment #0) > > ./install.pl: > > if (not $opts{"upgrade"} or Spacewalk::Setup::is_db_migration(\%opts)) { > > write_pg_version(); > > } > > the file is not generated when upgrading Oracle->Oracle > > According to this the /usr/share/rhn/config-defaults/rhn_pgversion.conf file > is written when: > > * installing Sat with embedded PG > * installing Sat with external PG > * installing Sat with external Oracle > * upgrading Sat with Oracle to embedded PG > > and is NOT written when: > > * upgrading Sat with external PG > * upgrading Sat with external Oracle > > Tomas, is that correct? It's correct partially as /usr/share/rhn/config-defaults/rhn_pgversion.conf file is written when: * installing new 5.8 or upgrading to 5.8 with embedded PG * installing new 5.8 managed DB or upgrading managed DB to 5.8 (and the conf file is written on managed DB machine) in all other cases it's not written, which means it's not written when you have Oracle or external Postgresql (by that I mean you're not using managed DB). (In reply to Xixi from comment #3) > Hi Tomas/Jan, > If I read the attached case 01889163 correctly it was closed as resolved > after customer made update to tomcat config changing > -Dorg.xml.sax.driver=com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser > to > -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser > > per kbase https://access.redhat.com/solutions/3115311 > CommentsHelpfulFollow[Satellite 5] After update to 5.8 rhn-search throws > exception "java.lang.ClassNotFoundException: > com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser" > > Is that part of this bugfix or should be a different BZ? > Thanks, This looks like completely different issue, thus different BZ. (In reply to Xixi from comment #3) For issues with spacewalk-debug observed in case attached I've created new BZ as I am going to close this BZ as not having rhn_pgversion.conf on external Oracle is intended. (In reply to Tomáš Kašpárek from comment #5) > This looks like completely different issue, thus different BZ. opened Bug 1484551 - After upgrade to Satellite 5.8 rhn-search throws exception "java.lang.ClassNotFoundException: com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser" |