ovirt-engine-reports-setup and ovirt-engine-dwh-setup to not work when the RHEV 3.3 engine database has an escaped character.

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.3
  • Red Hat Enterprise Virtualization Manager Reports (rhevm-reports) 3.3

Issue

  • After upgrading to RHEV 3.3, ovirt-engine-dwh-setup and ovirt-engine-reports fail to run.
  • Traceback found in log file after updating to 3.3.1
ERROR::rhevm-dwh-setup::209::root:: Traceback (most recent call last):
File "/usr/bin/rhevm-dwh-setup", line 168, in main
db_dict = getDbDictFromOptions()
File "/usr/bin/rhevm-dwh-setup", line 108, in getDbDictFromOptions
"password" : utils.getPassFromFile(utils.getDbAdminUser())}
File "/usr/share/ovirt-engine-dwh/common_utils.py", line 456, in getPassFromFile
if list[3] == username:
IndexError: list index out of range

Resolution

Both of these problems have been reported as bugs and can be tracked.

  • ovirt-engine-dwh-setup bug can be tracked in BZ#1072406
  • ovirt-engine-reports-setup can be tracked in BZ#1072405

The root cause and diagnostic steps are in the bug reports.

UPDATE

Both of these bugs were resolved in the RHEV 3.3.2 release. More information can be found in these errata:

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.