Satellite upgrade using External Oracle Database shows "TypeError: cannot concatenate 'str' and 'float' objects" error

Solution Verified - Updated -

Issue

  • Satellite Upgrade to Version 5.6 with External Oracle Database returns Python errors.
  • Satellite 5.6 using External Oracle Database return errors in rhn-satellite-activate and rhn-schema-version
[root@host]# rhn-schema-version
Traceback (most recent call last):
  File "/usr/bin/rhn-schema-version", line 49, in ?
    rhnSQL.initDB()
  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/__init__.py", line 102, in initDB
    __init__DB(backend, host, port, username, password, database)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/__init__.py", line 54, in __init__DB
    __DB = db_class(host, port, username, password, database)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_cx_Oracle.py", line 375, in __init__
    self.dbtxt = self.username + '@' + self.database
TypeError: cannot concatenate 'str' and 'float' objects

Environment

  • Red Hat Network Satellite 5.6 - External Oracle Database

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content