openstack-python-openstackc.../openstackclient
Rajat Dhasmana 205bac3caf Fix: incremental volume backup
The incremental volume backup stopped working after we moved from
cinderclient to SDK[1]. This happened because SDK accepts the
``is_incremental`` parameter[2] rather than the ``incremental`` parameter
which is actually passed in the API request and was previously a valid
parameter for cinderclient.

This patch fixes the issue by passing the ``is_incremental`` field instead
of ``incremental`` from the OSC side which adds the ``incremental`` parameter
in the API request.

Request body after the fix:

'{"backup": {"name": null, "description": null, "volume_id": "<vol-id>",
"force": false, "container": null, "incremental": true}}'

[1] https://review.opendev.org/c/openstack/python-openstackclient/+/889748
[2] 10e5e20fc0/openstack/block_storage/v2/backup.py (L126-L134)

Closes-Bug: #2070080
Change-Id: I89bd3d2751267ec39f4dbd664b7873ab87a9ac6c
2024-07-01 21:11:46 +05:30
..
api Drop direct dependency on simplejson 2024-05-20 09:59:32 +09:00
common tox: Remove bandit skips, run via pre-commit 2024-04-26 13:17:15 +01:00
compute Merge "Improve output of 'server migrate --wait'" 2024-05-07 14:52:05 +00:00
identity Identity: Migrate 'role assignment' commands to SDK 2024-06-13 16:00:54 -07:00
image trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Remove admin only text from 'port create' help text 2024-05-24 16:38:50 -04:00
object trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
tests Fix: incremental volume backup 2024-07-01 21:11:46 +05:30
volume Fix: incremental volume backup 2024-07-01 21:11:46 +05:30
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00