openstack-python-openstackc.../openstackclient/volume/v3
Rajat Dhasmana 03933e9a73 Fix: extend in-use volumes check
Currently we have 2 issues with extending volumes checks:

1. We don't specify explicitly that MV 3.42 needs to be passed for
in-use volumes
2. Any state of volume (error, attaching, detaching etc) can pass
this check by specifying MV 3.42

The fundamentally correct approach to these checks should be:

1. Only allow 'available' and 'in-use' volumes to be extended
2. Check MV 3.42 or greater is specified in case of 'in-use' volumes
otherwise fail

This approach is implemented in the patch.

Change-Id: I45ab9af953f7d060379f48ca429eaea7cfe857cc
2024-12-09 19:01:22 +05:30
..
__init__.py Add Cinder v3 client support for volumes 2017-02-20 20:37:36 +00:00
block_storage_cleanup.py Blacken openstackclient.volume 2023-05-10 10:51:30 +01:00
block_storage_cluster.py Blacken openstackclient.volume 2023-05-10 10:51:30 +01:00
block_storage_log_level.py Blacken openstackclient.volume 2023-05-10 10:51:30 +01:00
block_storage_manage.py volume: Deprecate '--detailed' options 2023-09-11 11:02:55 +01:00
block_storage_resource_filter.py Migrate resource filter commands to SDK 2023-10-30 12:06:14 +05:30
service.py pre-commit: Migrate from black to ruff format 2024-08-29 15:55:39 +01:00
volume.py Fix: extend in-use volumes check 2024-12-09 19:01:22 +05:30
volume_attachment.py volume: Migrate 'volume attachment *' to SDK 2024-07-08 09:59:21 +01:00
volume_backup.py Show Created At column for volume backups in v3 2024-10-17 16:25:13 +02:00
volume_group.py pre-commit: Migrate from flake8 to ruff 2024-08-29 15:55:13 +01:00
volume_group_snapshot.py volume: Migrate 'volume group snapshot' commands to SDK 2023-08-25 15:09:00 +01:00
volume_group_type.py Blacken openstackclient.volume 2023-05-10 10:51:30 +01:00
volume_message.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
volume_snapshot.py Add volume snapshot unmanage support 2024-06-25 01:51:50 +05:30
volume_transfer_request.py volume: Add v3-specific volume transfer module 2024-07-08 09:59:21 +01:00
volume_type.py pre-commit: Migrate from flake8 to ruff 2024-08-29 15:55:13 +01:00