Description of problem: Version-Release number of selected component (if applicable): How reproducible: 2/2 Prerequisites : rhel/nightly/RHEL5.7-Server-20110414.0.n/tree-x86_64/ Steps to repro verify webqa url in rhsm.conf Expected Result : Following entry should available in rhsm.conf hostname = subscription.rhn.webqa.redhat.com Actual Result : Following wrong entry present in rhsm.conf “hostname=subscriptions.rhn.webqa.redhat.com” attached rhsm.conf file
Created attachment 492343 [details] rhel 5.7 client rhsm.conf
In my opinion, the default rhsm.conf file should always be configured for the production environment as indicated in bug 676017. If we want to change it after an install to point to webqa for testing, then that can be done manually.
Fixed on RHEL5.7 branch in 6e2fc59dfc8c03a4e000b527ffcb7f036b20c948, version 0.95.5.8
[root@jsefler-onprem-5server tmp]# rpm -q subscription-manager subscription-manager-0.95.5.7-1.git.12.6e2fc59.el5 [root@jsefler-onprem-5server tmp]# grep baseurl /etc/rhsm/rhsm.conf baseurl= https://cdn.redhat.com [root@jsefler-onprem-5server tmp]# grep hostname /etc/rhsm/rhsm.conf # Server hostname: hostname = subscription.rhn.redhat.com proxy_hostname = [root@jsefler-onprem-5server tmp]# grep repo_ca_cert /etc/rhsm/rhsm.conf repo_ca_cert = %(ca_cert_dir)sfakamai-cp1.pem beav: ^^^ I believe this should also be changed to: repo_ca_cert = %(ca_cert_dir)sredhat-uep.pem
Fixed on RHEL5.7 branch in a52c9cffc849a087137256e4ba6fc3c4104a53d3, version
Fixed on RHEL5.7 branch in a52c9cffc849a087137256e4ba6fc3c4104a53d3, version 0.95.5.8
Verifying version... [root@jsefler-onprem-5server tmp]# rpm -q subscription-manager subscription-manager-0.95.5.8-1.git.3.73eda9c.el5 [root@jsefler-onprem-5server tmp]# rpm -q subscription-manager --changelog | grep 696947 - 696947: wrong webqa url is present in rhsm.conf for rhel5.7 - 696947: wrong webqa url is present in rhsm.conf for rhel5.7 [root@jsefler-onprem-5server tmp]# grep baseurl /etc/rhsm/rhsm.conf baseurl= https://cdn.redhat.com [root@jsefler-onprem-5server tmp]# grep hostname /etc/rhsm/rhsm.conf # Server hostname: hostname = subscription.rhn.redhat.com proxy_hostname = [root@jsefler-onprem-5server tmp]# grep repo_ca_cert /etc/rhsm/rhsm.conf repo_ca_cert = %(ca_cert_dir)sredhat-uep.pem Verified that the default /etc/rhsm/rhsm.conf points to the Red Hat production candlepin server hostname/baseurl/repo_ca_cert
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-1078.html