← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465678] [NEW] Table cisco_ml2_apic_contracts has wrong router_id field length: 64 vs 36 in routers.id

 

Public bug reported:

Some database engines require foreign keys to be of the same size as
referenced fields. cisco_ml2_apic_contracts.router_id is a foreign key
to routers.id - the former is varchar(64) while the latter is
varchar(36). Database migration scripts fail while running new OpenStack
installations (tested with MySQL Cluster/NDB).

This bug is very similar to
https://bugs.launchpad.net/neutron/+bug/1463806 - the same type of
changes should be applied to fix the issue.

** Affects: neutron
     Importance: Undecided
     Assignee: Vladislav Belogrudov (vlad-belogrudov)
         Status: In Progress


** Tags: db

** Changed in: neutron
     Assignee: (unassigned) => Vladislav Belogrudov (vlad-belogrudov)

** Changed in: neutron
       Status: New => 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/1465678

Title:
  Table cisco_ml2_apic_contracts has wrong router_id field length: 64 vs
  36 in routers.id

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

Bug description:
  Some database engines require foreign keys to be of the same size as
  referenced fields. cisco_ml2_apic_contracts.router_id is a foreign key
  to routers.id - the former is varchar(64) while the latter is
  varchar(36). Database migration scripts fail while running new
  OpenStack installations (tested with MySQL Cluster/NDB).

  This bug is very similar to
  https://bugs.launchpad.net/neutron/+bug/1463806 - the same type of
  changes should be applied to fix the issue.

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


Follow ups

References