Skip to content

Commit c20421c

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove deprecated volume commands and args"
2 parents 0bc70a3 + e76e10c commit c20421c

22 files changed

Lines changed: 71 additions & 2687 deletions

doc/source/cli/backwards-incompatible.rst

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,28 @@ Release 4.0
7373
* Removed in: 4.0
7474
* Commit: https://review.opendev.org/613644
7575

76-
.. 1. Change ``volume transfer request accept`` to use new option ``--auth-key``
77-
.. rather than a second positional argument.
76+
10. Remove ``backup`` commands.
77+
Use ``volume backup`` commands instead.
7878

79-
.. * As of: 4.0
80-
.. * Remove in: <5.0>
81-
.. * Commit: <tbd>
79+
* Removed in: 4.0
80+
* Commit: https://review.opendev.org/612751
81+
82+
11. Remove ``snapshot`` commands.
83+
Use ``volume snapshot`` commands instead.
84+
85+
* Removed in: 4.0
86+
* Commit: https://review.opendev.org/612751
87+
88+
12. Remove ``volume create`` options ``--project``, ``--user``, ``--multi-attach``.
89+
90+
* Removed in: 4.0
91+
* Commit: https://review.opendev.org/612751
92+
93+
13. Change ``volume transfer request accept`` to use new option ``--auth-key``
94+
rather than a second positional argument.
95+
96+
* Removed in: 4.0
97+
* Commit: https://review.opendev.org/612751
8298

8399
Release 3.12
84100
------------

doc/source/cli/command-objects/backup.rst

Lines changed: 0 additions & 137 deletions
This file was deleted.

doc/source/cli/command-objects/snapshot.rst

Lines changed: 0 additions & 176 deletions
This file was deleted.

openstackclient/tests/functional/volume/v2/test_backup.py renamed to openstackclient/tests/functional/volume/v2/test_volume_backup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ def test_volume_backup_restore(self):
4646
'volume backup create -f json ' +
4747
vol_id
4848
))
49-
self.wait_for_status("backup", backup['id'], "available")
49+
self.wait_for_status("volume backup", backup['id'], "available")
5050

5151
# restore the backup
5252
backup_restored = json.loads(self.openstack(
5353
'volume backup restore -f json %s %s'
5454
% (backup['id'], vol_id)))
5555
self.assertEqual(backup_restored['backup_id'], backup['id'])
56-
self.wait_for_status("backup", backup['id'], "available")
56+
self.wait_for_status("volume backup", backup['id'], "available")
5757
self.wait_for_status("volume", backup_restored['volume_id'],
5858
"available")
5959
self.addCleanup(self.openstack, 'volume delete %s' % vol_id)

openstackclient/tests/functional/volume/v2/test_snapshot.py renamed to openstackclient/tests/functional/volume/v2/test_volume_snapshot.py

File renamed without changes.

openstackclient/tests/functional/volume/v3/test_snapshot.py renamed to openstackclient/tests/functional/volume/v3/test_volume_snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
from openstackclient.tests.functional.volume.v2 import test_snapshot as v2
13+
from openstackclient.tests.functional.volume.v2 import test_volume_snapshot as v2 # noqa
1414
from openstackclient.tests.functional.volume.v3 import common
1515

1616

0 commit comments

Comments
 (0)