Bug 1095925
Summary: | Systems registering without a specified organization should land in the user's Default org | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> |
Component: | Registration | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Kedar Bidarkar <kbidarka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.4 | CC: | jcall, jmontleo, kbidarka, mstead, omaciel |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/6081 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-02 14:06:29 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
Mike McCune
2014-05-08 20:41:53 UTC
Created redmine issue http://projects.theforeman.org/issues/6081 from this bug This issue will not be able to be fixed in katello alone. When and subman's register command is invoked WITHOUT --organization, subman will lookup all orgs for the specified user before registering, and based on the resulting org list do one of the following: 1) No Orgs Found: Error 2) 1 org found: Proceed using this org. 3) Multiple found: Prompt the user for an org. Because of this, changes to subscription-manager would be required to achieve parameter-less registration, and depending on the implementation, changes may also be required in candlepin. Moving to POST since upstream bug http://projects.theforeman.org/issues/6081 has been closed [root@xxx ~]# subscription-manager register Username: admin Password: Organization: ACME_Corporation The system has been registered with ID: 59b30c20-f637-431f-b36b-fcb3a70589dd [root@xxxx ~]# subscription-manager unregister System has been unregistered. [root@xxxx ~]# subscription-manager unregister This system is currently not registered. [root@xxxx ~]# subscription-manager register Username: admin Password: The system has been registered with ID: b241c898-37d9-4ff5-adac-de9ebfae7da2 Testing with "No Orgs" is destructive testing, will test later. Ok, tested with another setup. the below content-host is trying to register with a sat6 which has "no orgs" [root@xxxx ~]# subscription-manager register Username: admin Password: admin cannot register with any organizations. This was delivered with 6.0.3, which is the Satellite 6 Beta. |