← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368251] [NEW] migrate_to_ml2 accessing boolean as int fails on postgresql

 

Public bug reported:

The "allocated" variable used in migrate_to_ml2 was defined to be a boolean type and in postgresql this type is enforced,
while in mysql this just maps to tinyint and accepts both numbers and bools.

Thus the migrate_to_ml2 script breaks on postgresql

** Affects: neutron
     Importance: Undecided
     Assignee: Bernhard M. Wiedemann (ubuntubmw)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1368251

Title:
  migrate_to_ml2 accessing boolean as int fails on postgresql

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  The "allocated" variable used in migrate_to_ml2 was defined to be a boolean type and in postgresql this type is enforced,
  while in mysql this just maps to tinyint and accepts both numbers and bools.

  Thus the migrate_to_ml2 script breaks on postgresql

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1368251/+subscriptions


Follow ups

References