<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=GB2312">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi all,<br>
can anyone tell if we call quotas.reserve() but never call
quotas.commit() or quotas.rollback().<br>
what will happen?<br>
<br>
for example:<br>
<br>
<ol>
<li>when doing resize, we call quotas.reserve() to reservea a
delta quota.(new_flavor - old_flavor)</li>
<li>for some reasons, nova-compute crashed, and not chance to call
quotas.commit() or quotas.rollback() <i>(called by
finish_resize in nova/compute/manager.py)</i></li>
<li>next time restart nova-compute server, is the delta quota
still reserved , or do we need any other operation on quotas?</li>
</ol>
<p>Thanks in advance<br>
-Eli.<br>
</p>
<p>ps: this is related to patch : Handle RESIZE_PREP status when
nova compute do init_instance(<a
href="https://review.openstack.org/#/c/132827/">https://review.openstack.org/#/c/132827/)</a></p>
<pre class="moz-signature" cols="72">--
Thanks Eli Qiao(<a class="moz-txt-link-abbreviated" href="mailto:qiaoly@cn.ibm.com">qiaoly@cn.ibm.com</a>)</pre>
</body>
</html>