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.
If you have Candlepin setup to use OAuth for Katello:
module.config.katello=org.fedoraproject.candlepin.katello.KatelloModule
candlepin.auth.oauth.enabled = true
and try to access the webservice API with something like curl you get a misleading error message:
$ curl -k -u admin:admin https://somebox.example.com:8443/candlepin/status
{"displayMessage":"Error contacting user service"}
ideally this would say something like:
{"displayMessage":"Candlepin is configured for OAuth access only, username and password not allowed."}
This is due to basic auth being enabled in the katello install. Full information can be seen at:
https://github.com/Katello/katello/pull/1256
I am moving this to the installer component of System Engine.
commit ba2d5131de181dcffc833aeb80ea3fde55754a55
Author: Bryan Kearney <bkearney>
Date: Thu Dec 13 16:30:19 2012 -0500
758813: Disable basic and trusted auth in the candlepin engine since it is not required.
This manifested as an an error seen by curl which when using basic auth there was an error
contacting the user service. Basic auth should never be used. With these settings, the output
is
[root@samdev ~]# curl -k -u admin:admin https://localhost:8443/candlepin/owners
{"displayMessage":"Invalid credentials."}
Note, this will make development harder since people may use curl to access candlepin.
Developers can set these to true and then restart candlepin
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open.