Bug 1449723 - rhn-satellite-activate failed on oracle in verbose mode
Summary: rhn-satellite-activate failed on oracle in verbose mode
Keywords:
Status: CLOSED DUPLICATE of bug 1449635
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-10 14:04 UTC by Pavel Studeník
Modified: 2017-08-24 12:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-11 15:00:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Studeník 2017-05-10 14:04:31 UTC
Description of problem:
I run following command and I received traceback on Satellite with Oracle db.

>> rhn-satellite-activate --manifest=/root/manifest.zip -vvv
09:59:13 HTTP_PROXY: None
09:59:13 HTTP_PROXY_USERNAME: None
09:59:13 HTTP_PROXY_PASSWORD: <password>

ERROR: unhandled exception occurred:
Traceback (most recent call last):
  File "/usr/bin/rhn-satellite-activate", line 39, in <module>
    sys.exit(abs(mod.main() or 0))
  File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py", line 475, in main
    cdn_activate = cdn_activation.Activation(options.manifest)
  File "/usr/lib/python2.6/site-packages/spacewalk/cdn_tools/activation.py", line 36, in __init__
    rhnSQL.initDB()
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 145, in initDB
    __init__DB(backend, host, port, username, password, database, sslmode, sslrootcert)
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 57, in __init__DB
    __DB.connect()
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_cx_Oracle.py", line 407, in connect
    self.dbh = self._connect()
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_cx_Oracle.py", line 434, in _connect
    dbh = cx_Oracle.Connection(self.username, self.password, self.database)
cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle


Version-Release number of selected component (if applicable):
spacewalk-backend-tools-2.5.3-123.el6sat.noarch

How reproducible:
only on oracle

Steps to Reproduce:
1. run command with verbose
>> rhn-satellite-activate --manifest=/root/manifest.zip -vvv 

Actual results:
traceback

Expected results:
without traceback

Comment 1 Pavel Studeník 2017-05-10 14:09:57 UTC
Maybe it is not a bug. I receive traceback only on one system.

Comment 2 Tomas Lestach 2017-05-11 15:00:35 UTC

*** This bug has been marked as a duplicate of bug 1449635 ***


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