Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to