| Summary: | Problem with a SKU for RHSM | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Scott Spurrier <spurrier> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.5 | CC: | andriusb, bkearney, bleanhar, dgoodwin, jwest, mkhusid |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-31 16:35:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 568421 | ||
Just to confirm the bits are the RHEL 6.1 GA bits and not the 6.1 Beta bits, correct Scott? Scott, here's the low down... The sku the customer has (SVC0037RW) is very old... we don't use it anymore. However, this order was booked back in 2009, with a start date of 2011, so they still have it. Because of that, it wasn't mapped to content, which I've now requested be done. The other problem is, because we don't use it anymore, I don't have a good way to verify that fixed the problem. Would you feel comfortable asking the customer to regen & replace their cert and try again? I'm not 100% sure that will solve it, but their current cert doesn't have any products or content sets associated to it, so it's certainly not helping matters. ok.. will keep looking. Further investigation has shown that the client is using product name to compare the products. This is why the entitlement for "Red Hat Enterprise Linux Workstation" is not matching the product named "Red Hat Enterprise Linux 6 Workstation". BZ709412 has been opened to track this issue. Given that most of the work in this bug related to the back end data side I am going to categorize it that way and close out the bug. Anyone interested in the client fix should follow 709412. |
Customer is having trouble with the new Subscription Manager in RHEL 6.1. They have plenty of entitlements but attempts to register systems with Subscription Manager fail (detailed error below). There appears to be a problem with the below SKU. SYS0037RW / MCT0352F3RN ERROR: 2011-05-23 15:33:27,215 [DEBUG] __init__() @certlib.py:649 - valid entitled products: [] 2011-05-23 15:33:27,216 [DEBUG] __init__() @certlib.py:650 - expired entitled products: [] 2011-05-23 15:33:38,181 [INFO] __init__() @connection.py:298 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False 2011-05-23 15:33:38,182 [INFO] __init__() @connection.py:301 - Connection Established: host: subscription.rhn.redhat.com, port: 443, handler: /subscription 2011-05-23 15:33:38,296 [INFO] __init__() @connection.py:287 - Using basic authentication as: disneyfa 2011-05-23 15:33:38,296 [INFO] __init__() @connection.py:301 - Connection Established: host: subscription.rhn.redhat.com, port: 443, handler: /subscription 2011-05-23 15:33:38,444 [DEBUG] __init__() @certlib.py:640 - Sorting product and entitlement cert status for: 2011-05-23 15:33:38.444534 2011-05-23 15:33:38,448 [DEBUG] _populate_all_products() @certlib.py:658 - Installed product IDs: ['71'] 2011-05-23 15:33:38,448 [DEBUG] __init__() @certlib.py:649 - valid entitled products: [] 2011-05-23 15:33:38,448 [DEBUG] __init__() @certlib.py:650 - expired entitled products: [] 2011-05-23 15:33:38,449 [INFO] _request() @connection.py:147 - loading ca pem certificates from: /etc/rhsm/ca/ 2011-05-23 15:33:38,450 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/redhat-uep.pem' 2011-05-23 15:33:38,450 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/candlepin-stage.pem' 2011-05-23 15:33:38,451 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/fakamai-cp1.pem' 2011-05-23 15:33:38,451 [INFO] _request() @connection.py:149 - work in insecure mode ?:False 2011-05-23 15:33:39,821 [INFO] _request() @connection.py:177 - status code: 200 2011-05-23 15:33:39,824 [INFO] persist_consumer_cert() @managerlib.py:81 - Consumer created: {'consumer_name': 'alana', 'uuid': 'a8c6163d-1221-494f-9a85-236092a6cac2'} 2011-05-23 15:33:43,005 [DEBUG] reload() @managergui.py:167 - Loading consumer info from identity certificates. 2011-05-23 15:33:43,008 [DEBUG] __init__() @certlib.py:640 - Sorting product and entitlement cert status for: 2011-05-23 15:33:43.008207 2011-05-23 15:33:43,011 [DEBUG] _populate_all_products() @certlib.py:658 - Installed product IDs: ['71'] 2011-05-23 15:33:43,011 [DEBUG] __init__() @certlib.py:649 - valid entitled products: [] 2011-05-23 15:33:43,011 [DEBUG] __init__() @certlib.py:650 - expired entitled products: [] 2011-05-23 15:33:43,030 [INFO] _request() @connection.py:147 - loading ca pem certificates from: /etc/rhsm/ca/ 2011-05-23 15:33:43,030 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/redhat-uep.pem' 2011-05-23 15:33:43,031 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/candlepin-stage.pem' 2011-05-23 15:33:43,031 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/fakamai-cp1.pem' 2011-05-23 15:33:43,032 [INFO] _request() @connection.py:149 - work in insecure mode ?:False 2011-05-23 15:33:43,307 [INFO] _request() @connection.py:177 - status code: 200 2011-05-23 15:33:48,754 [INFO] __init__() @connection.py:298 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False 2011-05-23 15:33:48,754 [INFO] __init__() @connection.py:301 - Connection Established: host: subscription.rhn.redhat.com, port: 443, handler: /subscription 2011-05-23 15:33:48,908 [DEBUG] __init__() @certlib.py:640 - Sorting product and entitlement cert status for: 2011-05-23 15:33:48.908004 2011-05-23 15:33:48,911 [DEBUG] _populate_all_products() @certlib.py:658 - Installed product IDs: ['71'] 2011-05-23 15:33:48,911 [DEBUG] __init__() @certlib.py:649 - valid entitled products: [] 2011-05-23 15:33:48,911 [DEBUG] __init__() @certlib.py:650 - expired entitled products: [] 2011-05-23 15:33:48,916 [INFO] _request() @connection.py:147 - loading ca pem certificates from: /etc/rhsm/ca/ 2011-05-23 15:33:48,916 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/redhat-uep.pem' 2011-05-23 15:33:48,917 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/candlepin-stage.pem' 2011-05-23 15:33:48,918 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/fakamai-cp1.pem' 2011-05-23 15:33:48,918 [INFO] _request() @connection.py:149 - work in insecure mode ?:False 2011-05-23 15:33:49,350 [INFO] _request() @connection.py:177 - status code: 500 2011-05-23 15:33:49,351 [ERROR] autosubscribe() @managercli.py:88 - Runtime Error No entitlements for products: [71] at org.fedoraproject.candlepin.controller.CandlepinPoolManager.entitleByProducts:378 Traceback (most recent call last): File "/usr/share/rhsm/managercli.py", line 77, in autosubscribe ents = cp.bindByProduct(consumer, products.values()) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 397, in bindByProduct return self.conn.request_post(method) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 203, in request_post return self._request("POST", method, params) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 178, in _request self.validateResponse(result) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 197, in validateResponse parsed['displayMessage']) RestlibException: Runtime Error No entitlements for products: [71] at org.fedoraproject.candlepin.controller.CandlepinPoolManager.entitleByProducts:378 2011-05-23 15:33:49,352 [WARNING] autosubscribe() @managercli.py:90 - Warning: Unable to auto subscribe to Red Hat Enterprise Linux 6 Workstation 2011-05-23 15:33:49,355 [INFO] _request() @connection.py:147 - loading ca pem certificates from: /etc/rhsm/ca/ 2011-05-23 15:33:49,355 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/redhat-uep.pem' 2011-05-23 15:33:49,356 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/candlepin-stage.pem' 2011-05-23 15:33:49,357 [INFO] _load_ca_certificates() @connection.py:134 - loading ca certificate '/etc/rhsm/ca/fakamai-cp1.pem' 2011-05-23 15:33:49,357 [INFO] _request() @connection.py:149 - work in insecure mode ?:False 2011-05-23 15:33:49,623 [INFO] _request() @connection.py:177 - status code: 200 2011-05-23 15:33:49,624 [INFO] perform() @certlib.py:116 - certs updated: Total updates: 0 Found (local) serial# [] Expected (UEP) serial# [] Added (new) <NONE> Deleted (rogue): <NONE> Expired (not deleted): <NONE> Expired (deleted): <NONE>