Bug 788341

Summary: RHEV-H back to login screen after register to RHN and can't login
Product: Red Hat Enterprise Linux 6 Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2CC: acathrow, apevec, bsarathy, gouyang, jboggs, leiwang, mburns, moli, ovirt-maint, ycui
Target Milestone: rcKeywords: Regression
Target Release: 6.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-08 20:53:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 788223    
Attachments:
Description Flags
ovirt.log none

Description cshao 2012-02-08 05:12:30 UTC
Description of problem:
RHEV-H back to login screen after register to RHN and can't login.
After the reboot, go back to RHN menu, drop back to login screen again. 

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.2-20120207.0.el6_2

How reproducible:
100%

Steps to Reproduce:
1. Install RHEV-H.
2. Enter Red Hat Network menu.
3. Register RHEV-H to RHN.
  
Actual results:
1. Register to RHN can successful, but RHEV-H back to login screen after register to RHN.
2. User can't login RHEV-H with correct user name and password until reboot.
3. After the reboot, go back to RHN page, drop back to login screen again. 
4. If delete the system info from RHN website (https://rhn.redhat.com), RHEV-H can back to RHN menu without error.

ovirt.log
===================================
{'disallowConfChanges': 'sslCACert;serverURL;disallowConfChanges;noReboot;', 'networkRetries': '1', 'enableProxy': '0', 'serverURL': 'https://xmlrpc.rhn.redhat.com/XMLRPC', 'proxyPassword': '', 'proxyUser': '', 'versionOverride': '', 'sslCACert': '/usr/share/rhn/RHNS-CA-CERT', 'debug': '0', 'httpProxy': '', 'systemIdPath': '/etc/sysconfig/rhn/systemid', 'enableProxyAuth': '0', 'noReboot': '0'}Registering to RHN account.....
['/usr/sbin/rhnreg_ks', '--username', 'qa', '--password', 'XXXXXXXX', '--novirtinfo', '--norhnsd', '--nopackages', '--force']
Warning: yum-rhn-plugin is not present, could not enable it.
/etc/sysconfig/rhn/up2date
File already persisted: /etc/sysconfig/rhn/up2date

/etc/sysconfig/rhn/up2date Already persisted

File persisted


Successfully persisted: /etc/sysconfig/rhn/systemid
System  sucessfully registered to 
current page: 15
{'disallowConfChanges': 'sslCACert;serverURL;disallowConfChanges;noReboot;', 'networkRetries': '1', 'enableProxy': '0', 'serverURL': 'https://xmlrpc.rhn.redhat.com/XMLRPC', 'proxyPassword': '', 'proxyUser': '', 'versionOverride': '', 'sslCACert': '/usr/share/rhn/RHNS-CA-CERT', 'debug': '0', 'httpProxy': '', 'systemIdPath': '/etc/sysconfig/rhn/systemid', 'enableProxyAuth': '0', 'noReboot': '0'}checking for lockfile
current page: 1
eth0
unable to determine ip/netmask from: 
bond0
unable to determine ip/netmask from: 
bond1
unable to determine ip/netmask from: 
bond2
unable to determine ip/netmask from: 
bond3
unable to determine ip/netmask from: 
bond4
unable to determine ip/netmask from: 
breth0
unable to determine ip/netmask from: 
lo
breth0:  dhcp   10.66.11.130 

{'breth0': ('10.66.11.130', '')}Hardware virtualization detected


Expected results:
RHEV-H register to RHN can work normally without error.

Additional info:

Comment 1 cshao 2012-02-08 05:13:51 UTC
Created attachment 560128 [details]
ovirt.log

Comment 2 cshao 2012-02-08 05:17:59 UTC
No such issue in rhev-hypervisor6-6.2-20120119.1.el6_2, so it is a regression bug.

Comment 5 Mike Burns 2012-02-08 13:02:48 UTC
Running on serial console, this dumps to the screen when the TUI crashes:

Traceback (most recent call last):
                                    File "/usr/libexec/ovirt-config-setup", line 1762, in <module>
                      screen.start()
                                      File "/usr/libexec/ovirt-config-setup", line 1571, in start
                     elements = self.get_elements_for_page(screen, self.__current_page)
         File "/usr/libexec/ovirt-config-setup", line 222, in get_elements_for_page
       return p.form()
                        File "/usr/lib/python2.6/site-packages/ovirt_config_setup/rhn.py", line 357, in form
                              File "/usr/lib/python2.6/site-packages/ovirt_config_setup/

Comment 6 Joey Boggs 2012-02-08 20:53:50 UTC

*** This bug has been marked as a duplicate of bug 788223 ***