Sorry, in my case on RHEL6, it turned out that my symptom was cause by a configuration error. I succeeded to launch a vm using trunk rev 912 even if we got the above error messages regarding fixed_ip_disassociate_all_by_timeout.
But, anyway it looks like that we can suppress the above error messages by suppliyng
an additional parameter 'synchronize_session' as the error message line says.
Hi,
Sorry, in my case on RHEL6, it turned out that my symptom was cause by a configuration error. I succeeded to launch a vm using trunk rev 912 even if we got the above error messages regarding fixed_ip_ disassociate_ all_by_ timeout.
But, anyway it looks like that we can suppress the above error messages by suppliyng session' as the error message line says.
an additional parameter 'synchronize_
Explanation of 'synchronize_ session' is available below: www.sqlalchemy. org/docs/ orm/query. html?highlight= synchronize_ session
http://
and, I would suggest the fix below.
Signed-off-by: Masaori Itoh <email address hidden>
=== modified file 'nova/db/ sqlalchemy/ api.py' sqlalchemy/ api.py 2011-03-25 14:21:03 +0000 sqlalchemy/ api.py 2011-03-30 09:13:29 +0000
filter( models. FixedIp. instance_ id != None).\
filter_ by(allocated= 0).\
update( {'instance_ id': None, session= 'fetch' )
--- nova/db/
+++ nova/db/
@@ -660,7 +660,7 @@
- 'leased': 0})
+ 'leased': 0}, synchronize_
return result