Hide Forgot
Description of problem: rhn-schema-version crashed when it can't connect to database # /usr/bin/rhn-schema-version Traceback (most recent call last): File "/usr/bin/rhn-schema-version", line 49, in <module> rhnSQL.initDB() File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 151, in initDB closeDB() File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 189, in closeDB __DB.commit() File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 230, in commit self.dbh.commit() AttributeError: Database instance has no attribute 'dbh' # Version-Release number of selected component (if applicable): 5.7 How reproducible: Every time if db server stopped Steps to Reproduce: 1. Stop the database 2. Run /usr/bin/rhn-schema-version 3. Actual results: /usr/bin/rhn-schema-version crash Expected results: error message without crashing Additional info:
Given that this exception can only happen if the database you're trying to query is inaccessible, and given that Satellite5 is in Production Phase 3 support, we have no plans to address this request.