The rhevm-reports-setup command fails with error "Return Code is not zero".
Issue
- The
rhevm-reports-setupcommand fails with errorReturn Code is not zero. - Error while running
rhevm-reports-setupcommand:
# rhevm-reports-setup
Welcome to rhevm-reports setup utility
In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service (yes|no): yes
Stopping ovirt-engine... [ DONE ]
Editing XML files... [ DONE ]
Setting DB connectivity... [ DONE ]
Please choose a password for the reports admin user(s) (rhevm-admin and superuser):
Retype password:
Deploying Server... [ DONE ]
Updating Redirect Servlet... [ DONE ]
Importing reports... [ DONE ]
Customizing Server... [ DONE ]
Return Code is not zero
Error encountered while installing rhevm-reports, please consult the log file: /var/log/ovirt-engine/ovirt-engine-reports-setup-2014_02_03_14_24_00.log
- Error in log file:
2014-02-03 14:28:14::DEBUG::common_utils::1074::root:: stderr = Traceback (most recent call last):
File "/usr/share/ovirt-engine-reports/ssl2jkstrust.py", line 116, in <module>
main()
File "/usr/share/ovirt-engine-reports/ssl2jkstrust.py", line 114, in main
os.rename(tmp, options.keystore)
OSError: [Errno 2] No such file or directory
2014-02-03 14:28:14::DEBUG::common_utils::1075::root:: retcode = 1
2014-02-03 14:28:14::ERROR::rhevm-reports-setup::1280::root:: Failed to complete the setup of the reports package!
2014-02-03 14:28:14::DEBUG::rhevm-reports-setup::1281::root:: Traceback (most recent call last):
File "/usr/bin/rhevm-reports-setup", line 1255, in main
updateApplicationSecurity()
File "/usr/bin/rhevm-reports-setup", line 930, in updateApplicationSecurity
failOnError=True,
File "/usr/share/ovirt-engine-reports/common_utils.py", line 1078, in execCmd
raise Exception(msg)
Exception: Return Code is not zero
Environment
- Red Hat Enterprise Virtualization 3.3
- Rhevm reports
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
