]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Persist updated expiration time
authorStephen Gran <stephen.gran@guardian.co.uk>
Wed, 6 Feb 2013 14:57:57 +0000 (14:57 +0000)
committerStephen Gran <stephen.gran@guardian.co.uk>
Wed, 13 Feb 2013 19:03:53 +0000 (19:03 +0000)
commitbfa9d88f432f20cf4a4d85a4050e4f94dc874457
tree2005b208e7a57a0a0802202c6a7d1c960167a0fe
parent9031585eefec897a8888964382f5518613effe36
Persist updated expiration time

Without creating a subtransaction, the database query wasn't actually
being run and the data was being lost.  This resulted in the case that
on termination of long running VMs, the VM IP address was immediately
available for reuse instead of being held as it should have been.

Fixes: bug #1116500
Change-Id: I7774273b8e799d945c27329e9da2dba34e39fdb8
Signed-off-by: Stephen Gran <stephen.gran@guardian.co.uk>
quantum/db/db_base_plugin_v2.py