Hide Forgot
Description of problem: The new rhsm.manage_repos configuration demonstrated in sprint 38 review to support RFE bug #767620 needs to be added to a default list so that it will show up as a configurable option. The reproduce steps shown below cannot yet find nor set it. Version-Release number of selected component (if applicable): [root@jsefler-r63-server ~]# rpm -q subscription-manager subscription-manager-0.99.8-1.git.7.913ca2f.el6.x86_64 How reproducible: Steps to Reproduce: [root@jsefler-r63-server ~]# grep manage_repos /etc/rhsm/rhsm.conf [root@jsefler-r63-server ~]# [root@jsefler-r63-server ~]# subscription-manager config --list | grep manage_repos [root@jsefler-r63-server ~]# [root@jsefler-r63-server ~]# subscription-manager config --rhsm.manage_repos=1 Usage: subscription-manager config [OPTIONS] subscription-manager: error: no such option: --rhsm.manage_repos[root@jsefler-r63-server ~]# [root@jsefler-r63-server ~]# subscription-manager config --list [server] ca_cert_dir = [/etc/rhsm/ca/] hostname = jsefler-f14-candlepin.usersys.redhat.com insecure = [0] port = [8443] prefix = [/candlepin] proxy_hostname = [] proxy_password = [] proxy_port = [] proxy_user = [] repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem] ssl_verify_depth = [3] [rhsm] baseurl = https://cdn.redhat.com ca_cert_dir = [/etc/rhsm/ca/] consumercertdir = /etc/pki/consumer entitlementcertdir = /etc/pki/entitlement hostname = [localhost] insecure = [0] port = [8443] prefix = [/candlepin] productcertdir = /etc/pki/product proxy_hostname = [] proxy_password = [] proxy_port = [] proxy_user = [] repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem] ssl_verify_depth = [3] [rhsmcertd] ca_cert_dir = [/etc/rhsm/ca/] certfrequency = 240 healfrequency = 1440 hostname = [localhost] insecure = [0] port = [8443] prefix = [/candlepin] proxy_hostname = [] proxy_password = [] proxy_port = [] proxy_user = [] repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem] ssl_verify_depth = [3] [] - Default value in use Actual results: Could not find nor set rhsm.manage_repos Expected results: Expected each of those reproduce steps to find or set the rhsm.manage_repos configuration Additional info:
Fixed in subscription-manager.git: 2cca158971efdfce9621a1de61b0874907357d56 You should now see manage_repos = 1 in the [rhsm] section of a fresh RPM installation of subscription-manager.
Moving the bug to verified. RPM used: [root@dhcp201-162 ~]# rpm -qa | grep subscription-manager subscription-manager-0.99.8-1.git.16.f7ed3d6.el6.x86_64 subscription-manager-migration-0.99.8-1.git.16.f7ed3d6.el6.x86_64 subscription-manager-firstboot-0.99.8-1.git.16.f7ed3d6.el6.x86_64 subscription-manager-migration-data-1.12.1-1.git.4.7b6cf92.el6.noarch subscription-manager-gnome-0.99.8-1.git.16.f7ed3d6.el6.x86_64 subscription-manager-debuginfo-0.99.8-1.el6.x86_64 [root@dhcp201-162 ~]# subscription-manager config --rhsm.manage_repos=0 [root@dhcp201-162 ~]# cat /etc/rhsm/rhsm.conf | grep manage_repo manage_repos = 0
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-2012-0804.html