Public bug reported:
(This is mostly a reminder bug for cdent, by cdent, so I don't forget it
while doing something else.)
POST is used to create a resource provider. 'name' is required, 'uuid'
is optional, if you don't provide one one will be created.
If you create a provider with $uuid_1 and then create another one with a
different name but $uuid_1 the error message will be:
'Conflicting resource provider %(name)s already exists.'
Which is not actually true. We need to check the columns in the
DBDuplicateEntry response to choose a to either use name or uuid as
appropriate.
** Affects: nova
Importance: Low
Assignee: Chris Dent (cdent)
Status: Triaged
** Tags: placement
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1693349
Title:
trying to create a resource provide with an already in use uuid causes
misleading error
Status in OpenStack Compute (nova):
Triaged
Bug description:
(This is mostly a reminder bug for cdent, by cdent, so I don't forget
it while doing something else.)
POST is used to create a resource provider. 'name' is required, 'uuid'
is optional, if you don't provide one one will be created.
If you create a provider with $uuid_1 and then create another one with
a different name but $uuid_1 the error message will be:
'Conflicting resource provider %(name)s already exists.'
Which is not actually true. We need to check the columns in the
DBDuplicateEntry response to choose a to either use name or uuid as
appropriate.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1693349/+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