RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 858246 - CIM could not be set successfully after upgrading from 6.2 to 6.3
Summary: CIM could not be set successfully after upgrading from 6.2 to 6.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-18 12:23 UTC by Meng Liang
Modified: 2016-04-26 14:37 UTC (History)
13 users (show)

Fixed In Version: ovirt-node-2.5.0-8.el6
Doc Type: Bug Fix
Doc Text:
In certain Red Hat Enterprise Virtualization Hypervisor upgrade conditions, the CIM user is not created correctly, causing errors when CIM is enabled and a password is added. This fix adds validation to the set_password function to ensure that the user is setup and correctly configured prior to setting the password.
Clone Of:
Environment:
Last Closed: 2013-02-28 16:39:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of error message (1.25 MB, image/jpeg)
2012-09-18 12:25 UTC, Meng Liang
no flags Details
screenshot of the empty page (1.68 MB, image/jpeg)
2012-09-18 12:26 UTC, Meng Liang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0556 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2013-02-28 21:29:06 UTC

Description Meng Liang 2012-09-18 12:23:30 UTC
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):
rhev-hypervisor6-6.3-20120913.0.el6_3

How reproducible:
Always

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.

Actual results:
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'

Expected results:
CIM could be enable successfully without error message.

Additional info:

Comment 1 Meng Liang 2012-09-18 12:25:05 UTC
Created attachment 613993 [details]
screenshot of error message

Comment 2 Meng Liang 2012-09-18 12:26:21 UTC
Created attachment 613994 [details]
screenshot of the empty page

Comment 4 Mike Burns 2012-10-12 21:22:15 UTC
This works correctly with upgrade from media.  testing now with upgrade from rhevm.

Comment 5 Mike Burns 2012-10-12 22:00:43 UTC
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.

Comment 6 Mike Burns 2012-10-13 12:59:45 UTC
Upstream patch:

http://gerrit.ovirt.org/8524

Comment 7 Mike Burns 2012-10-15 22:54:11 UTC
Patch failed in dev testing, needs additional work

Comment 14 errata-xmlrpc 2013-02-28 16:39:05 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-0556.html


Note You need to log in before you can comment on or make changes to this bug.