Bug #20291
closedMany no route matches errors for rhsm/consumer URLs for RHEL6.9 clients
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1449570
Description of problem:
[crash/LI] root@li-lc-1017:~# zgrep 'No route matches.*rhsm/consumer' /var/log/foreman/production.log*.gz | head -n5
/var/log/foreman/production.log-20170427.gz: | ActionController::RoutingError (No route matches [PUT] "/rhsm/consumers/34dc1eeb-0376-4f1d-af9a-b8025f9c68d1/certificates"):
[crash/LI] root@li-lc-1017:~# zgrep 'No route matches.*rhsm/consumer' /var/log/foreman/production.log*.gz | wc -l
19589
This is only for RHEL6.9 clients. Other clients with RHEL6.8,7.2,7.3 do not generate these routing errors
The URL is also visible in the client rhsm.log:
$ grep 'PUT /rhsm/consumer.*/certificates' /var/log/rhsm/rhsm.log | head -n1
2017-05-07 04:12:00,371 [INFO] subscription-manager:25043:MainThread @connection.py:525 - Response: status=404, request="PUT /rhsm/consumers/738d54cc-8f52-4997-8ce1-27561a2fea36/certificates?lazy_regen=true"
This URL is triggered from 'subscription-manager refresh' as implemented for https://bugzilla.redhat.com/show_bug.cgi?id=1393580 and https://bugzilla.redhat.com/show_bug.cgi?id=1367243
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Connect RHEL6.9 client
2. Run subscription-manager refresh on Client
3.
Actual results:
RoutingErrors in foreman production.log
Expected results:
No erros in foreman production.log
Additional info: