Fix SQL Error with fixed ips under devstack/postgresql
Postgresql does not allow sql that mix integer and booleans. Switch to check if deleted flag is set to 0 Fixes LP# 1109889 Change-Id: Icf03aa9591d398ba7d12f0db91e43df140e0df50
This commit is contained in:
parent
90e38ab640
commit
dff7b9f344
@ -724,7 +724,7 @@ class FixedIp(BASE, NovaBase):
|
||||
foreign_keys=network_id,
|
||||
primaryjoin='and_('
|
||||
'FixedIp.network_id == Network.id,'
|
||||
'FixedIp.deleted == False)')
|
||||
'FixedIp.deleted == 0)')
|
||||
|
||||
|
||||
class FloatingIp(BASE, NovaBase):
|
||||
|
Loading…
Reference in New Issue
Block a user