Public bug reported: I am working on the current devstack environment.
keystone service-create allows creating multiple services with the same --name and --type. Is this expected ? $ keystone --debug --os-endpoint http://10.0.2.15:35357/v2.0 --os-token Passw0rd service-create --name junk --type junk +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | description | | | enabled | True | | id | 69a40a334b58433ea7440e6336240611 | | name | junk | | type | junk | +-------------+----------------------------------+ $ keystone --debug --os-endpoint http://10.0.2.15:35357/v2.0 --os-token Passw0rd service-create --name junk --type junk +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | description | | | enabled | True | | id | e976635ceb9d4c47bf0763f7b3cdcec9 | | name | junk | | type | junk | +-------------+----------------------------------+ I expected it to fail as the 'user-create' fails with conflict error. After creating multiple service with same name, keystone endpoint-create fails with the error $ keystone --debug --os-endpoint http://10.0.2.15:35357/v2.0 --os-token Passw0rd endpoint-create --service junk --publicurl http://junk Multiple service matches found for 'junk', use an ID to be more specific. ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1369401 Title: Multiple services with same name and type Status in OpenStack Identity (Keystone): New Bug description: I am working on the current devstack environment. keystone service-create allows creating multiple services with the same --name and --type. Is this expected ? $ keystone --debug --os-endpoint http://10.0.2.15:35357/v2.0 --os- token Passw0rd service-create --name junk --type junk +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | description | | | enabled | True | | id | 69a40a334b58433ea7440e6336240611 | | name | junk | | type | junk | +-------------+----------------------------------+ $ keystone --debug --os-endpoint http://10.0.2.15:35357/v2.0 --os- token Passw0rd service-create --name junk --type junk +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | description | | | enabled | True | | id | e976635ceb9d4c47bf0763f7b3cdcec9 | | name | junk | | type | junk | +-------------+----------------------------------+ I expected it to fail as the 'user-create' fails with conflict error. After creating multiple service with same name, keystone endpoint- create fails with the error $ keystone --debug --os-endpoint http://10.0.2.15:35357/v2.0 --os- token Passw0rd endpoint-create --service junk --publicurl http://junk Multiple service matches found for 'junk', use an ID to be more specific. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1369401/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

