[openstack-dev] [Fuel] API changes for Nailgun cluster upgrade extension

Artem Roma aroma at mirantis.com
Wed Mar 23 13:04:00 UTC 2016

Hi, fuelers!

In accordance to policy of API changing in Fuel components established in
this mail thread [1] 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 [2]. 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 [3], 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.

[1]: ​
[2]: https://review.openstack.org/#/c/286621/
[3]: https://bugs.launchpad.net/fuel/+bug/1552744

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160323/af1868e9/attachment.html>

More information about the OpenStack-dev mailing list