On 7 August 2014 15:31, Christopher Yeoh <cbky...@gmail.com> wrote: > On Thu, 7 Aug 2014 11:58:43 +1200 > Robert Collins <robe...@robertcollins.net> wrote: ... > At the moment when cleaning up we don't know if a port was autocreated > by Nova or was passed to us initially through the API.
That seems like a very small patch to fix - record the source, use that info on cleanup. > And there can be > a long period of time between the initial server creation request and > failure/cleanup - the API layer responds to the client well before the > server has successfully started or failed. Right. > I think this sort of logic is much better handled above the REST API > layer- which doesn't have to mean duplicated code in multiple clients It doesn't? So we'll build a stateful client side datastore, and provide language bindings to it from Python, Ruby, Java, etc? > - it can for example be handled by client libraries such as > python-novaclient or openstackclient and neutron related errors more > directly returned to the client rather than having them proxied > all the way through Nova. --Rob -- Robert Collins <rbtcoll...@hp.com> Distinguished Technologist HP Converged Cloud _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev