Red Hat Bugzilla – Bug 858246
CIM could not be set successfully after upgrading from 6.2 to 6.3
Last modified: 2016-04-26 10:37:01 EDT
Description of problem:
CIM could not be set successfully after upgrading from rhev-hypervisor6-6.2-20120605.0.el6_2 to rhev-hypervisor6-6.3-20120913.0.el6_3 on RHEVM
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install rhev-hypervisor6-6.2-20120605.0.el6_2
2. register rhevh to rhevm (ic157)
3. upgrade rhevh to rhev-hypervisor6-6.3-20120913.0.el6_3 via RHEVM
4. enable CIM and provide correct password.
Error message(see attached figure) shows press 'ok' to return to the configure page.
Enable CIM and enter password again, empty page shows(see attached figure)
The only way to go back to configure page is press F2 to command line and enter 'exit'
CIM still display as 'disable' after setting to 'enable'
CIM could be enable successfully without error message.
Created attachment 613993 [details]
screenshot of error message
Created attachment 613994 [details]
screenshot of the empty page
This works correctly with upgrade from media. testing now with upgrade from rhevm.
Fails with upgrade from RHEV-M.
The cim user does not exist. I'm not sure if that is the root cause or not, but it certainly doesn't help.
Thoughts for fixing:
alter cim.py to:
check for the cim user
If it does not exist create it with a command like:
unmount_config /etc/shadow /etc/passwd
useradd -G sfcb -g cim -s /sbin/nologin cim
persist /etc/shadow /etc/password
then proceed with setting password, enabling the service, etc.
Patch failed in dev testing, needs additional work
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.