<div dir="ltr"><div>Hi, nova and neutron teams,</div><div><br></div><div>While booting new instance nova requests port for that instance in the neutron.</div><div>It's possible to have a situation when neutron doesn't response due timeout</div><div>or connection break and nova retries port creation. It definitely results in</div><div>ports duplication for instance [1].</div><div><br></div><div>To solve this issue different methods can be applied:</div><div>- Transactional port creating in neutron (when it's possible to rollback if the client doesn't accept the answer).</div><div>- Idempotent port creation (when the client provides some id and server does get_or_create on this id).</div><div>- Getting port on the client before next retry attempt (idempotent port creation on the client side).</div><div><br></div><div>Questions to community:</div><div>- Am I right with my thoughts? Does the problem exist? Maybe there is tool already can solve it?</div><div>- Which method is better to apply to solve the problem if it exists?</div><div><br></div><div>[1] <a href="https://bugs.launchpad.net/nova/+bug/1603909">https://bugs.launchpad.net/nova/+bug/1603909</a></div><div><br></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Thanks,</div><div><br></div><div>Andrey Volkov,</div><div>Software Engineer, <span style="font-size:12.8px">Mirantis, Inc.</span></div></div></div></div></div></div>
</div>