Alex Figueiredo 08b13a7a0e [openstackclient] Fix volume backup restore
The python-openstackclient package was upversioned from v6.2.0 to v6.6.0
[1]. The latest version of python-openstackclient replaced the
python-cinderclient by the python-openstacksdk to handle backup
operations [2].

Currently, the command "openstack volume backup restore" is failing
in stx-openstack with the error "Proxy object has no attribute
restores". This is happening because the patch [3] targeted to handle
the cinderclient behavior described at [4] is no longer supported.

This changes removes the previous/unsuported patch from the
starlingx/python-openstackclient package and adds two new patches by
cherry-picking the changes [5] and [6] already available upstream in the
openstackclient and openstacksdk repos.

[1]https://review.opendev.org/c/starlingx/openstack-armada-app/+/941975
[2]https://review.opendev.org/c/openstack/python-openstackclient/+/889748
[3]878e1ebd73/upstream/openstack/python-openstackclient/debian/patches/0003-Fix-output-for-openstack-volume-backup-restore.patch
[4]a64cf9a045
[5]https://review.opendev.org/c/openstack/python-openstackclient/+/931756
[6]https://review.opendev.org/c/openstack/openstacksdk/+/931755

Test Plan:
[PASS] build package python-openstackclient
[PASS] build package python-openstacksdk
[PASS] build image stx-openstackclients
[PASS] upload the image to a running system
[PASS] create a volume
[PASS] create a backup
[PASS] restore the volume using the backup
[PASS] launch a VM from the restored volume

Closes-Bug: #2103457

Change-Id: I323cd6a69b6e35d2411fcd0f51f005bb255026af
Signed-off-by: Alex Figueiredo <alex.fernandesfigueiredo@windriver.com>
2025-03-17 16:51:45 -03:00
..

Openstack Upstream

This folder contains the required repositories to build the STX-Openstack packages, clients and container images.