***L:ERROR Internal error: 'module' object has no attribute 'ENGINE_SYSCONFDIR' encountered while running upgraded rhsc-setup
Environment
Glusterfs 3.1.*
Issue
The first part of upgrading RHSC is to upgrade rhsc-setup and then run rhsc-setup to upgrade RHSC .
After upgrading rhsc-setup from rhsc-setup-3.0.* to rhsc-setup-3.1.*, you may encounter the following when running the upgraded rhsc-setup script:
***L:ERROR Internal error: 'module' object has no attribute 'ENGINE_SYSCONFDIR'
Resolution
Please move the following files to the /tmp directory and run rhsc-setup again:
/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/redhataccessplugin
/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.py
/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.pyo
Root Cause
The rhsc-setup upgrade did not remove the files used by the old rhsc-setup
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
