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.

Bug 1023518

Summary: Calling subscription-manager orgs with a user who has . in their name fails
Product: Red Hat Satellite Reporter: David Davis <daviddavis>
Component: APIAssignee: David Davis <daviddavis>
Status: CLOSED CURRENTRELEASE QA Contact: Jitendra Yejare <jyejare>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: cwelton, mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:06:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Davis 2013-10-25 15:29:10 UTC
Description of problem:

Calling subscription-manager orgs with a user who has @ in their name fails. Here's an example of the command:

subscription-manager orgs --username "gkhachik" --password "asd\!" 

The response is "Resource not found on server"

Here's an example curl request which returns a 404:

curl http://127.0.0.1:3000/katello/api/users/admin@mail.com/owners -u "admin:admin"

For more info you can visit https://bugzilla.redhat.com/show_bug.cgi?id=956650#c12. 


Steps to Reproduce:
1. Create a user with @ in their username
2. Call subscription-manager orgs on a client using that user you've created.


Actual results:

Resource not found.


Expected results:

List of orgs.

Comment 2 David Davis 2013-10-25 16:57:57 UTC
Sorry, it's actually the "." and not the "@" that is causing this bug.

Comment 3 David Davis 2013-10-25 17:14:24 UTC
https://github.com/Katello/katello/pull/3270

Comment 4 David Davis 2013-10-25 17:16:24 UTC
QE steps:

1. Create user with "." in their name such as "admin"
2. Run this on a client machine:

subscription-manager orgs --username "admin" --password "admin"

Comment 5 David Davis 2013-10-25 21:25:52 UTC
katello-cli

ae6c673b2bc9ce71a8416759837abb68577ab717

1023518: Loosening url contraints on owner list path to accept names with .

Comment 7 Corey Welton 2014-04-24 17:32:34 UTC
Verified in Satellite-6.0.3-RHEL-6-20140423.1

Comment 8 Bryan Kearney 2014-07-02 14:06:04 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.