don't propagate glance backref out of db layer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
John Griffith |
Bug Description
using backrefs outside of db layer can cause unexpected and bad results when attempts to lazy load the backref data are made higher up.
This particular case can be seen in the cinder api list call in the translate when we try to do the get.volume_
There's really no reason to carry around this metadata just to determine whether we have a bootable volume or not anyway, we should just add a bootable column to the volumes table that's set True or False and use that in operations like list volumes.
Example trace of failure condition:
2013-06-18 11:34:49.452 TRACE cinder.
2013-06-18 11:34:49.452 TRACE cinder.
2013-06-18 11:34:49.452 TRACE cinder.
Changed in cinder: | |
importance: | Undecided → High |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-2 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/33592
Review: https:/