quota_usages and pci_devices tables have columns with mismatching nullable attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Johannes Erdfelt |
Bug Description
The database model defines these columns:
quota_usages
resource = Column(String(255), nullable=False)
pci_devices
deleted = Column(Integer, default=0)
vendor_id = Column(String(4), nullable=False)
product_id = Column(String(4), nullable=False)
dev_type = Column(String(8), nullable=False)
However, the tables where created with different nullable attributes in the database migrations:
quota_usages
pci_devices
It appears that the model is correct in all cases and a database migration should be added to make the applied schema match the model
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/107736
Review: https:/