Red Hat Bugzilla – Bug 1316642
spacewalk-dump-schema ORA-24334 @ s390x
Last modified: 2016-03-22 04:29:15 EDT
Description of problem:
When running spacewalk-dump-schema as part of upgrade (doc/satellite-and-os-upgrade-postgresql.txt , step 1), on a s390x machine with satellite 5.4.1 with EmbOracle (maybe others, but NOT x86_64 with sat 5.4.1 on EmbOracle, tested), the following error occurs:
DBD::Oracle::db prepare failed: ORA-24334: no descriptor for this position (DBD ERROR: OCIParamGet) [for Statement "select * from rhnpackageevr"] at ./spacewalk-dump-schema line 369.
There exists some dump as a result but importing it as per doc results in WebUI ISEs and impossible spacewalk-schema-upgrade, so the exported dump is just broken.
Version-Release number of selected component (if applicable):
rhn-upgrade-188.8.131.52-1.el6sat (and probably others)
Steps to Reproduce:
1. Have a sat 5.4.1 @ s390x with EmbOracle, up to date
2. Have rhn-upgrade package installed
3. Run /etc/sysconfig/rhn/satellite-upgrade/scripts/spacewalk-dump-schema
Broken dump, ORA error
Importable dump, no errors reported