Description of problem:
Occasionally, clients may receive a 500 when calling a PUT on '/rhsm/systems/<UUID>/enabled_repos'. Short version of error is:
NoMethodError: undefined method `save_bound_repos_by_path!' for nil:NilClass
| /opt/theforeman/tfm/root/usr/share/gems/gems/katello-184.108.40.206/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:176:in `block in enabled_repos'
| /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:72:in `as'
| /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:78:in `as_anonymous_admin'
| /opt/theforeman/tfm/root/usr/share/gems/gems/katello-220.127.116.11/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:175:in `enabled_repos'
See attachment for full error from log, including request params.
Version-Release number of selected component (if applicable): 6.2.11 w/ a few hotfixes
I'm not sure how to reproduce this issue, I saw it while looking for an unrelated issue.
Created redmine issue http://projects.theforeman.org/issues/21155 from this bug
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.