← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1342834] Re: pci_devices.compute_node_id foreign key never actually created

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-2

-- 
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/1342834

Title:
  pci_devices.compute_node_id foreign key never actually created

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The model in nova/db/sqlalchemy/model.py defines the compute_node_id
  column has a foreign key on to compute_nodes.id

  However, neither the 213 migration (which initially introduced the
  pci_devices table) nor the collapsed 216 migration actually create
  that foreign key.

  It looks like the model is correct and a foreign key should exist and
  a migration should be added.

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


References