registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #29975
[Bug 677475] Re: RunInstances uses same ID if previous request failed
This issue is only about duplicates on the surface. The real source of
the problem is that the function that generates the internal_id assumes
it the field is a uint32 but the database column is defaulting to be the
equivalent of int32. So any value for internal_id that is greater than
int32_max will be truncated to that value.
The reason you see the duplicate value error is because these truncated
values are all the same... but the database column is set to only allow
unique values. A big hint to this is that the error is always
"Duplicate entry '2147483647' which is int32_max.
** Changed in: nova
Assignee: Sandy Walsh (sandy-walsh) => Ryan Lucio (rlucio)
--
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.
https://bugs.launchpad.net/bugs/677475
Title:
RunInstances uses same ID if previous request failed
References