Red Hat Bugzilla – Bug 1276597
Failed to register rhevh7.2 to satellite6.1.0 with TUI since the configure info hasn't been saved
Last modified: 2016-07-03 20:39:41 EDT
Description of problem:
RHN Registration info in TUI hasn't been saved when register rhevh7.2 to satellite6.1.0 with TUI
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login to rhevh TUI .
2. Go to "RHN Registration" page,input the info as the following, then "save" it, please see the screeshot in attachment
Type : Satellite
CA URL: http://10.66.100.116/projects/sam-virtwho/sam_ca/katello-server-ca.pem
3. Check the output in TUI,it will show
"An error occurred while applying the changes
Registration Failed". Please see the screenshot in attachment.
4. Check the rhsm log in /var/log/rhsm/rhsm.log
2015-10-29 06:06:29,044 [ERROR] subscription-manager:22116 @managercli.py:1080 - Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/managercli.py", line 1075, in _do_command
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 876, in registerConsumer
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 647, in request_post
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 564, in _request
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 611, in validateResponse
RestlibException: Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
5. Check the configure file /etc/rhsm/rhsm.conf
[root@hp-z220-05 admin]# cat /etc/rhsm/rhsm.conf | grep -v ^# | grep -v ^$
hostname = subscription.rhn.redhat.com ====> It hasn't been updated
prefix = /subscription ====> It hasn't been updated
port = 443
insecure = 0
ssl_verify_depth = 3
baseurl= https://cdn.redhat.com ====> It hasn't been updated
ca_cert_dir = /etc/rhsm/ca/
repo_ca_cert = %(ca_cert_dir)sredhat-uep.pem ====> It hasn't been updated
productCertDir = /etc/pki/product
entitlementCertDir = /etc/pki/entitlement
consumerCertDir = /etc/pki/consumer
manage_repos = 1
full_refresh_on_yum = 0
report_package_profile = 1
pluginDir = /usr/share/rhsm-plugins
pluginConfDir = /etc/rhsm/pluginconf.d
certCheckInterval = 240
autoAttachInterval = 1440
Failed to register rhevh 7.2 to satellite in TUI since configure info hasn't been saved.
During register rhevh7.2 on TUI, some configure info in rhsm.conf should be modified as the following:
prefix = /rhsm
baseurl= https://[Satellite hostname]/pulp/repos
repo_ca_cert = %(ca_cert_dir)skatello-server-ca.pem
Created attachment 1087885 [details]
Created attachment 1087886 [details]
It hasn't this problem on Rhev-hypervisor7-7.2-20151019.2. when add Rhev-hypervisor7-7.2-20151019.2 to rhevm3.5.5, register this rhevh to satellite successfully.
*** Bug 1280217 has been marked as a duplicate of this bug. ***
Red Hat Satellite Version 6.1.5
1. Clean install RHEV-H 7.2-20151221.1.el7ev
2. Enable network
3. Register to satellite 6.1.5
1. RHEVH can be registered succeed.
This issue is fixed in ovirt-node-3.6.0-0.24.20151209gitc0fa931.el7ev.noarch. Change the status to verified.
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.