masakari:stable/victoria

Last commit made on 2021-08-07
Get this branch:
git clone -b stable/victoria https://git.launchpad.net/masakari

Branch merges

Branch information

Name:
stable/victoria
Repository:
lp:masakari

Recent commits

9a11cd3... by Mitya Eremeev

Fix Masakari API to properly return error codes

Change-Id: I538b9b143c868d9419709356daf0ffc48e2f0df9
Closes-Bug: #1932194
(cherry picked from commit 5c6fd44504e47ddbec3e0c29d454daeda87f86a4)

3fed871... by Zuul <email address hidden>

Merge "Fix response of microversions API" into stable/victoria

a3a37f8... by Zuul <email address hidden>

Merge "Assign all aggregates to reserved_host" into stable/victoria

42543b0... by Eric Xie

Fix some errors in the document

If the recovery policy uses uppercase, an error will be reported.
This patch modifies these to lowercase.

Closes-Bug: #1914482
Co-Authored-By: zhangyangyang <email address hidden>
Change-Id: Ic4bf5a4b19df07364c09fd46f1a92a809c77b241
(cherry picked from commit 151915960acbb6ade7ad284e3bb002ed32b356f7)

b6e2916... by Daisuke Suzuki

Assign all aggregates to reserved_host

This patch fixes the code that assignes aggregates to the reserved_host.
The existing code only assigned a aggregate that first matched failed
compute host name.
By this fix, all aggregates that ware assigned to the failed host can
be assigned to the reserved_host.

Closes-Bug: #1856164
Change-Id: I8a727e3c50b71a5ad52d58d0ba3bde4f09446748
(cherry picked from commit d1850df674aa3390413ead9b07faa2ba5d7dbea4)

64db0fe... by Dinesh Bhor

Fix response of microversions API

If you request to show details of versions "v1/" API it returns 404
ResourceNotFound.

This patch fixes this issue by updating the v1 version correctly
as "v1.0" in versions controller which helps wsgi layer to find
the resource(controller) correctly. This way it returns the details
of version "v1" correctly instead of ResourceNotFound.

v1 show API response:

{"version": {"status": "CURRENT", "updated": "2016-07-01T11:33:21Z",
"links": [{"href": "http://<host-ip>:15868/v1/", "rel": "self"},
{"href": "http://docs.openstack.org/", "type": "text/html",
"rel": "describedby"}], "min_version": "1.0", "version": "1.0",
"media-types": [{"base": "application/json",
"type": "application/vnd.openstack.masakari+json;version=1"}],
"id": "v1.0"}}

This patch fixes the reported supported microversion as well
to avoid clients failing due to requesting too new version
(LP#1882516). It has to be fixed to pass tests.

APIImpact - versions "v1/" show API will return 200 OK now instead
of 404 ResourceNotFound.

Closes-Bug: #1685145
Closes-Bug: #1882516
Co-Authored-By: Jegor van Opdorp <email address hidden>
Co-Authored-By: suzhengwei <sugar-2008@163.com>
Co-Authored-By: Radosław Piliszek <email address hidden>
Change-Id: If3943060b5d09bd153b6401d34c7d10d3dc864fe
(cherry picked from commit 30842faeaa52d40f6a00765e797e3a173a15f441)

9af584c... by Niraj Singh

Allow segment description to be multiline

This patch allows user to pass a multiline description for
a failover segment.

Closes-Bug: #1776385
Change-Id: I25afb76aec10a507312b8d99b0c882ca9f6bcd81
(cherry picked from commit d7f47f262799b285080cb08830560891c532a5a1)

da2a5f0... by Radosław Piliszek

Add missed renos

Change-Id: I5d0a890209887b5795727af66ba8beed3a059a22
(cherry picked from commit 7f76081ccf167141be07a1fa1b46b92d2da2cee1)

f6c89fa... by Zuul <email address hidden>

Merge "Modified recovery flow for stopped instance" into stable/victoria

802d88b... by Mark Goddard

Fix endless periodic looping call after failed evacuation

Fixes an issue where a failed evacuation could result in a periodic
looping call to run forever. This happened because the periodic call was
not stopped after a timeout occurred.

Change-Id: Id3b9bad4bc617c168200d34d69bbe760a24dfcf9
Closes-Bug: #1897888
(cherry picked from commit df63714b03cef5906791f14bbf2416beab23ca0a)