[Katello] Attaching subscriptions/products no longer adds yum repo

I'm facing an issue where when I attach a subscription via
"subscription-manger attach --pool xxxxxxxxxxxxxxx" is successfully
attaches the subscription, but redhat.repo is not longer updated to include
the new repo data.

This has happened before and I ended up just wiping the entire foreman
server and rebuilding it fresh. Everything worked fine after that, but now
the problem has returned. I can't just rebuild everything every few weeks.

I've checked all the log files I could find including
/var/log/rhsm/rhsm.log and I cannot find any errors.

I've tried deleting the rhsm cache and running subscription-manager
refresh, but nothing changes redhat.repo anymore.

Has anyone run into this before or have any suggestions for things to try?

Thank you,
Peter

<http://www.objectstream.com/>

Does the host show as having that subscription in the UI?

··· On Jul 18, 2016 11:23 AM, "Peter Kirby" wrote:

I’m facing an issue where when I attach a subscription via
"subscription-manger attach --pool xxxxxxxxxxxxxxx" is successfully
attaches the subscription, but redhat.repo is not longer updated to include
the new repo data.

This has happened before and I ended up just wiping the entire foreman
server and rebuilding it fresh. Everything worked fine after that, but now
the problem has returned. I can’t just rebuild everything every few weeks.

I’ve checked all the log files I could find including
/var/log/rhsm/rhsm.log and I cannot find any errors.

I’ve tried deleting the rhsm cache and running subscription-manager
refresh, but nothing changes redhat.repo anymore.

Has anyone run into this before or have any suggestions for things to try?

Thank you,
Peter

http://www.objectstream.com/


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Yes. I have even tried adding the subscription via the UI. No change to
redhat.repo.

Peter Kirby / Infrastructure and Build Engineer
Magento Certified Developer Plus
<https://www.magentocommerce.com/certification/directory/dev/2215598/>
peter.kirby@objectstream.com
*Objectstream, Inc. *
Office: 405-942-4477 / Fax: 866-814-0174
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127
http://www.objectstream.com/

··· On Mon, Jul 18, 2016 at 10:10 PM, Eric D Helms wrote:

Does the host show as having that subscription in the UI?

On Jul 18, 2016 11:23 AM, “Peter Kirby” peter.kirby@objectstream.com > wrote:

I’m facing an issue where when I attach a subscription via
"subscription-manger attach --pool xxxxxxxxxxxxxxx" is successfully
attaches the subscription, but redhat.repo is not longer updated to include
the new repo data.

This has happened before and I ended up just wiping the entire foreman
server and rebuilding it fresh. Everything worked fine after that, but now
the problem has returned. I can’t just rebuild everything every few weeks.

I’ve checked all the log files I could find including
/var/log/rhsm/rhsm.log and I cannot find any errors.

I’ve tried deleting the rhsm cache and running subscription-manager
refresh, but nothing changes redhat.repo anymore.

Has anyone run into this before or have any suggestions for things to try?

Thank you,
Peter

http://www.objectstream.com/


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.