yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00821
[Bug 1123848] Re: SqlAlchemy Utils drop_unique_constraint method raises NameError for Mysql/Postgresql
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-3
--
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/1123848
Title:
SqlAlchemy Utils drop_unique_constraint method raises NameError for
Mysql/Postgresql
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Branch : master
Commit id : e1f76a154214bae795b48aa3008ff8f4a62d6856
Issue : While using SqlAlchemy utils method "drop_unique_constraint"
(nova/db/sqlalchemy/utils.py), the method fails due to the following
exception.
"NameError: global name 'fields' is not defined".
Minor Issue: : Also there are some typos in the file nova/db/sqlalchemy/utils.py that need to be corrected.
1) oarm --> param
2) constains --> contains
This method is tested only for sqlite, so code that is used by mysql
and postgres was not tested at all.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1123848/+subscriptions