[openstack-dev] [Fuel] API changes for Nailgun cluster upgrade extension
aroma at mirantis.com
Wed Mar 23 13:04:00 UTC 2016
In accordance to policy of API changing in Fuel components established in
this mail thread  the purpose of this notice is to inform everyone
concerned about such modifications pertaining to Nailgun cluster upgrade
extension that is going to be landed into upstream.
New handler of HTTP requests for copying of VIPs from cluster under the
upgrade to seed cluster is going to be added . This handler is
accessible by URL (omitting here the root part for Nailgun API)
'/clusters/<cluster_id>/upgrade/vips/' where '<cluster_id>' is indicator of
seed cluster. The reason for introducing the separate handler (before the
operation was done as part of copying of network settings which in turn is
triggered by cluster clone action) is that, as described here , copying
of VIPs must be done for cluster with assigned nodes, thus, in context of
upgrade, after calling to reassign nodes handler. The handler supports POST
operation and accepts no data payload as all needed information is
retrieved from cluster link object created on cloning of original cluster.
In case of success response with empty body and 200 HTTP status code is
returned. In case when cluster object with given '<cluster_id>' is not
found in data base 404 code is returned, and in case when validation for
the inbound request has failed the status code of response is 400.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev