Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
In order to register to SAM, the SAM certificate must be extracted from the SAM server and hosted on a web server. There is a separate bug (790835) to make the cert available in SAM by default.
Test version:
rhev-hypervisor6-6.2-20120227.0.el6_2
Register RHEV-H to SAM via TUI got failed with below methods.
Test method 1:
Login: admin__________ Password: *****____
Profile Name (optional): _____________________________
[ ] RHN [ ] Satellite [*] Subscription Asset Manager
URL: https://10.66.111.14/headpinset_________
CA : ________________________________________ (keep CA blank)
Test method 2:
Login: admin__________ Password: *****____
Profile Name (optional): _____________________________
[ ] RHN [ ] Satellite [*] Subscription Asset Manager
URL: https://10.66.111.14/headpinset_________
CA : https://10.66.111.14/pub/RHN-ORG-TRUSTED-SSL-CERT
Test method 3:
Login: admin__________ Password: *****____
Profile Name (optional): _____________________________
[ ] RHN [ ] Satellite [*] Subscription Asset Manager
URL: https://10.66.111.14/headpinset_________
CA : /etc/rhsm/ca/candlepin-local.pem
I think the RHEV-H will download CA from in /etc/rhsm/ca/candlepin-local.pem.
I register RHEV-H to SAM by command can successful with below Workaround:
1). Download certificate from SAM server to local host.
scp root.111.14:/etc/candlepin/certs/candlepin-ca.crt /etc/rhsm/ca/
2). Rename certificate in local host.
cp candlepin-ca.crt candlepin-local.pem
3). Configuration sam
subscription-manager config --server.hostname=s1-sam-server.rhevh.englab.nay.redhat.com --server.prefix="/headpin/api" --server.port=443 --rhsm.baseurl="https://s1-sam-server.rhevh.englab.nay.redhat.com:8088" --rhsm.repo_ca_cert="/etc/rhsm/ca/candlepin-local.pem"
4). Add sam server to hosts file.
vi /etc/hosts
10.66.111.14 s1-sam-server.rhevh.englab.nay.redhat.com
subscription-manager register --org=ACME_Corporation
U:admin
P:admin
The system has been registered with id: fba31afa-e3b7-4b26-b1f5-9ab870f83b96
I place the cert on web server "http://10.66.11.102/test", register to SAM still failed.
Login: admin__________ Password: *****__________
[ ] RHN [ ] Satellite [*] Subscription Asset Manager
URL: https://s1-sam-server.rhevh.englab.nay.redhat.com/headpinset
CA : http://10.66.11.102/test/candlepin-local.pem
An Exception Has Occurred
global name 'logger' is not defined
Traceback (most recent call last):
File "/usr/libexec/ovirt-config-setup", line 1672, in start
self.process_config()
File "/usr/libexec/ovirt-config-setup",
line 1519, in process_config
ret = p.action()
File
"/usr/lib/python2.6/site-packages/ovirt_co
nfig_setup/rhn.py", line 413, in action
File
"/usr/lib/python2.6/site-packages/ovirt_co
nfig_setup/rhn.py", line 166, in run_rhsm
NameError: global name 'logger' is not defined
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
In order to register to SAM, the SAM certificate must be extracted from the SAM server and hosted on a web server. There is a separate bug (790835) to make the cert available in SAM by default.
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/RHSA-2012-0422.html