Bug 1170611 - upgrading Sat5.4.1@RHEL5-s390x embDB to Sat5.7 x86_64 extPG fails on spacewalk-dump-schema with: ORA-24334
Summary: upgrading Sat5.4.1@RHEL5-s390x embDB to Sat5.7 x86_64 extPG fails on spacewal...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 570
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: sat570-postga
TreeView+ depends on / blocked
 
Reported: 2014-12-04 12:55 UTC by Martin Korbel
Modified: 2016-03-22 08:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-22 08:29:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2205041 0 None None None 2016-03-22 08:29:35 UTC

Description Martin Korbel 2014-12-04 12:55:59 UTC
Description of problem:
Upgrading Sat5.4.1@RHEL5 s390x embDB -> Sat5.7 x86_64 extPG fails with this message:
"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."

Version-Release number of selected component (if applicable):
(Satellite-5.4.1-RHEL5-re20110615.0)  rhn-upgrade-5.7.0.10-1.el5sat

How reproducible:
100%

Steps to Reproduce:
1. We have got Sat5.4.1 s390x
2. Synchronize RHEL6 channels without packages and rpms. I'm not sure, if this is important.
> ARCH=$(uname -i); satellite-sync -c -c rhel-${ARCH}-server-6 -c rhn-tools-rhel-${ARCH}-server-6 --no-packages --no-rpms
3. Make dump
> ./spacewalk-dump-schema | bzip2 -7c - | split -d -b 2147483648 - /tmp/backup5.7a/schema-dump-


Actual results:

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.

Expected results:

No errors

Additional info:

Comment 2 Jan Hutař 2014-12-04 13:35:01 UTC
Running the query manually works nicely:

# su - oracle
$ sqlplus `spacewalk-cfg-get default_db`
SQL> select * from rhnpackageevr;
[...]
1011 rows selected.


Note You need to log in before you can comment on or make changes to this bug.