yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30645
[Bug 1194106] Re: db.utils.create_shadow_table() doesn't work if we have table with Enum column
This code isn't in nova any more, moving to oslo.db
** Also affects: oslo.db
Importance: Undecided
Status: New
** Changed in: nova
Status: Triaged => Invalid
--
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/1194106
Title:
db.utils.create_shadow_table() doesn't work if we have table with Enum
column
Status in OpenStack Compute (Nova):
Invalid
Status in Oslo Database library:
New
Bug description:
In postgres we are not able to create two times Enum with the same name.
So If we try to make a shadow table for table we will get exception
that Enum with the same name already exists.
So we should rename our Enum.
I think that shadow_prefix + original_name will be good convention.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1194106/+subscriptions