← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1329299] [NEW] In nova.db.sqlalchemy.model.ComputeNode, column hypervisor_hostname should be unique values

 

Public bug reported:

In the nova model nova.db.sqlalchemy.model.ComputeNode, the column
represents the hypervisor name and is not set to unique and not null
values.  This leads to have same hyerpvisor host name for more than one
hypervisors and will end up in error scenarios.

In order to avoid the this scenario, column should be set to following values
nullable=False
unique=True

This bug is filed to address the same.

** Affects: nova
     Importance: Undecided
     Assignee: Kanagaraj Manickam (kanagaraj-manickam)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Kanagaraj Manickam (kanagaraj-manickam)

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

Title:
  In nova.db.sqlalchemy.model.ComputeNode, column hypervisor_hostname
  should be unique values

Status in OpenStack Compute (Nova):
  New

Bug description:
  In the nova model nova.db.sqlalchemy.model.ComputeNode, the column
  represents the hypervisor name and is not set to unique and not null
  values.  This leads to have same hyerpvisor host name for more than
  one hypervisors and will end up in error scenarios.

  In order to avoid the this scenario, column should be set to following values
  nullable=False
  unique=True

  This bug is filed to address the same.

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


Follow ups

References