Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionGarik Khachikyan
2011-11-04 15:50:51 UTC
Description of problem:
Trying to make registration of the system using --activationkey option ends with exception
Version-Release number of selected component (if applicable):
subscription-manager-0.98.2-1.el6.x86_64
katello-0.1.98-1.git.10.b744cd7.el6.x86_64
candlepin-0.4.25-1.el6.noarch
pulp-0.0.237-5.el6.noarch
How reproducible:
always
Steps to Reproduce:
1. prepare an org/provider/product/repo cycle
2. create env and promote the product to there
3. Through UI (recently the API/CLI way of applying subscription to activation key is failing) do assign the subscription for the product to that activation key.
4. using RHSM:
subscription-manager register --activationkey=ak1 --org=org1 --force
Actual results:
failure:
---
Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
---
Katello log says:
---
Creating a consumer in candlepin: <fqdn>
Creating a consumer in pulp: <fqdn>
Subscribing to pool '8aa2b8833369cd8501336f38905d001b' for : <client>
Completed 200 OK in 1929ms (Views: 0.5ms | ActiveRecord: 17.0ms)
Started GET "/katello//api/" for <IP> at Fri Nov 04 17:41:50 +0100 2011
Processing by Api::RootController#resource_list as JSON
Completed in 1ms
Processing by FailedAuthenticationController#unauthenticated_api as JSON
Parameters: {"auth_username"=>"\005\253\"", "auth_password"=>"[FILTERED]"}
Request is unauthenticated_api for 127.0.0.1
Completed 401 Unauthorized in 1ms
---
Expected results:
no exceptions
Additional info:
Priority is high: as it's included in V1 scenarios list.
This particular problem was caused by user auth required by root controller.
After fixing this I realized that there's another problem in the registration process. RHSM don't send consumer certificate with a package profile update calls. This is not problem on katello side and has to be fixed in RHSM.
commit 3c2c00c9672fc7045d46154181e3cc69034b90a6
Author: Tomas Strachota <tstrachota>
Date: Tue Nov 15 18:50:48 2011 +0100
751407 - root_controller doesn't require user authorization
Description of problem: Trying to make registration of the system using --activationkey option ends with exception Version-Release number of selected component (if applicable): subscription-manager-0.98.2-1.el6.x86_64 katello-0.1.98-1.git.10.b744cd7.el6.x86_64 candlepin-0.4.25-1.el6.noarch pulp-0.0.237-5.el6.noarch How reproducible: always Steps to Reproduce: 1. prepare an org/provider/product/repo cycle 2. create env and promote the product to there 3. Through UI (recently the API/CLI way of applying subscription to activation key is failing) do assign the subscription for the product to that activation key. 4. using RHSM: subscription-manager register --activationkey=ak1 --org=org1 --force Actual results: failure: --- Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information. --- Katello log says: --- Creating a consumer in candlepin: <fqdn> Creating a consumer in pulp: <fqdn> Subscribing to pool '8aa2b8833369cd8501336f38905d001b' for : <client> Completed 200 OK in 1929ms (Views: 0.5ms | ActiveRecord: 17.0ms) Started GET "/katello//api/" for <IP> at Fri Nov 04 17:41:50 +0100 2011 Processing by Api::RootController#resource_list as JSON Completed in 1ms Processing by FailedAuthenticationController#unauthenticated_api as JSON Parameters: {"auth_username"=>"\005\253\"", "auth_password"=>"[FILTERED]"} Request is unauthenticated_api for 127.0.0.1 Completed 401 Unauthorized in 1ms --- Expected results: no exceptions Additional info: Priority is high: as it's included in V1 scenarios list.