Hide Forgot
Description of problem: subscription-manager refresh does not update redhat.repo ; subscription-manager repos will. Version-Release number of selected component (if applicable): subscription-manager-1.8.22-1.el6_4.x86_64 How reproducible: all the time Steps to Reproduce: 1. update subscription-manager and install subscription-manager-migrate onto a satellite-installed machine 2. register that machine against rhn classic 3. migrate the machine to rhsm using rhn-migrate-classic-to-rhsm --force 4. on the portal associate subscriptions to have access to the rhel6 server repos 5. use subscription-manager refresh Actual results: redhat.repo remains empty Expected results: redhat.repo is also updated as information are refreshed. instead, they only are refreshed if using subscrition-manager repos Additional info: internal ticket - no customer case attached at time of opening.
I don't think this has anything to do with refresh. If you run "yum repolist" to generate a yum transaction, the subscription-manager yum plugin will be invoked and generate a correct redhat.repo. In newer versions of subscription-manager, if new certificates are pulled down, the redhat.repos file will be updated. Please let me know if you have any questions.
no, one of the commands I did run 3 times between refreshes while trying to get the repos to work was ~~~ yum clean all yum repolist yum repolist all ~~~ that would ever only list the repos of the redhat-source.repo, redhat.repo wouldn't get updated.
[root@vm-139 ~]# cat /etc/yum/pluginconf.d/subscription-manager.conf [main] enabled=0 Setting enabled to 1 allows the subscription-manager plugin to update redhat.repos. It is enabled by default.
The last comment should resolve your problem, please let me know if there's something else going on. When I logged into your machine and set enabled=1, everything worked as intended. Please let me know if there's anything else you need.
yup that does solve the problem. too bad nothing pointed at a misconfiguration other than the behaviour, a warning / error message would have been nice.