$ hammer organization create --name Test1234 Organization created $ hammer organization info --name Test1234 Error: organization found more than once $ hammer organization create --name Test1234 Could not create the organization: Name has already been taken Name has already been taken Title has already been taken Label already exists (including organizations being deleted) Organization Names and labels must be unique across all organizations
Created from redmine issue http://projects.theforeman.org/issues/6451
Upstream bug assigned to daviddavis
*** Bug 1114758 has been marked as a duplicate of this bug. ***
To reproduce: 1. Create an org with name "Test1234" (hammer organization create --name Test1234) 2. Try to get its info by name (ie hammer organization info --name Test1234) Expected result: See org info Actual result: "Error: organization found more than once"
Looks like this was already fixed. Going to change this bug to a refactor task to clean up the code instead.
QE: if you want to test this, do a regression test involving organization name such as: $ hammer organization create --name Test1234 $ hammer organization info --name Test1234 Make sure you don't get an error.
Moving to POST since upstream bug http://projects.theforeman.org/issues/6451 has been closed ------------- David Davis Applied in changeset commit:hammer-cli-katello|9d089b78155330974822241ee2df5e0b3078d0fc.
VERIFIED : [root@qetello02 ~]# hammer organization create --name Test1234 [Foreman] password for admin: Organization created [root@qetello02 ~]# hammer organization info --name Test1234 [Foreman] password for admin: Id: 576 Name: Test1234 Users: Smart proxies: qetello02.usersys.redhat.com Subnets: Compute resources: Installation media: Templates: Domains: Environments: Hostgroups: Parameters: Created at: 2014/08/11 08:30:28 Updated at: 2014/08/11 08:30:29 Label: Test1234 Description: Red Hat Repository URL: https://cdn.redhat.com
This was delivered with Satellite 6.0 which was released on 10 September 2014.