According the api schema of cinder, create_group_from_src
should only specify one of arguments from [group_snapshot_id, source_group_id].
Now cinderclient specified them both even if one of them is None.
This patch fix this issue to just pass one argument.
Change-Id: Idef51ab9a1452dd5eb3be4d4b6dca095a777d611
Closes-Bug: #1777555
switch to use OS_VOLUME_API_VERSION = 3 to run
functional tests.
Closes-bug: #1775354
Co-Authored-By: liuyamin <liuyamin@fiberhome.com>
Change-Id: If6c4291aa7d8e85a4f8c1d5665a0e4a72aa1f1d1
After applying schema validation to volume actions
APIs[1], error messages are formatted as per the
standards. So the tests are failing because of error
messages.
This patch fixes failed functional tests by correcting
error messages.
[1]https://review.openstack.org/#/c/559042/
Change-Id: Id05bf637d77ab401fc0aec5be09eee423bf1a223
The output of upload-to-image is not readable due to
volume type is printed in output as a whole.
Printing volume type name only cleans up the output.
Change-Id: Ia588cf7ccc0873a8cf956c551afcccf4b6ddaa39
Closes-Bug: #1557486
There isn't service_id param in cinderclient. We have this param
in cinder, so add this param in the cinderclient.
Change-Id: I579741595f91802bcf117029889567f234b5b14c
Closes-bug: #1771721
Remove status, project_id
and user_id args from create_group_from_src.
Those args will cause error when using cinderclient since
schema validation in Cinder side.
Change-Id: Iba9a45625f9e6423e8e582425605ca184238cde9
Closes-Bug: #1772375
In the file doc/source/cli/index.rst, doc/source/user/cinder.rst,
doc/source/user/shell.rst, update OS_AUTH_URL and OS_VOLUME_API_VERSION.
Change-Id: I543bb2fedf3a1326bf1a46804f0d026ad8e21680
Since 3.52, new option '--filters' has been
added to 'type-list' command, and it's only
valid for administrator.
Change-Id: I140f6d61a2747d4fcaabfbccea864dcc7eb841d1
Depends-On: I4e6aa7af707bd063e7edf2b0bf28e3071ad5c67a
Partial-Implements: bp support-az-in-volumetype
This makes calls such as:
$ cinder list --help
work as expected, equivalent to:
$ cinder help list
rather than just printing the full help message.
Change-Id: I038eeeea554f0bb5dd170f503eaec570441520b3
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: Ib36375525dd11d62d9f5566c714e76876892d9d7
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The keystoneauth1 get_plugin_loader method requires that a
OS_USER_DOMAIN be specified. Our docs don't include that
detail.
This change adds the extra needed field. There's also some
problems currently with loading the client directly as it's
currently documented, which appears to be a bug in the client
code itself.
Change-Id: Idacbb47f9aae1e461379eec4a5e224b0157a8dc4
Partial-Bug: #1758104
Fixes some copy paste issues with the help text for listing
snapshots. Also minor grammar fixes.
Closes-bug: #1756358
Change-Id: Idee5e8400d8e7d55e9f9232df55b0dfec3e36c3b
Test jobs will look for a bindep.txt file in the repo to determine
which system packages need to be installed. If it does not find a
local one in the repo it will fall back to an OpenStack-wide bindep
that has many packages not needed for most projects. This adds a
limited list needed for this repo.
For more details, see:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html
Change-Id: Ic7e00b6a34c0e46c678e5c10ecf0e76faa9913c8
The API 'do_group_snapshot_list' in v3/shell.py misses api_version wraps,
and the cmd 'cinder group-snapshot-list' can be used even not specifing
the param 'os-volume-api-version'. This patch just to fix it.
Change-Id: I6a46e587b1aab692fe6b81b46fa3d95ab66c0625
This patch remove unit tests about flags, beacuse the flags
about run_test.sh has delete.
About run_test.sh delete, look this patch.
https://review.openstack.org/#/c/502120/
Change-Id: Ib0e04ed6d48ec5c52cc62abf59174c313d843792
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This old module was a carry over from the oslo incubator days
and is no longer used.
Change-Id: I44982d2581e90b781c78f3d2421cd1dcd8e590fd
Related-Bug: #1685678
Related-Bug: #1640269
The volume encryption provider no longer uses class names.
Instead, 'luks' and 'plain' are used. This patch updates
the help text for the volume encryption provider to use
the new encryption provider format constants.
Change-Id: I6072e18f8c1945082f421a3bf725a874565d6f80
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: If9bef5ae884bfefadc06752b3ca140ac2e91399d
Add support for microversion 3.51 that allows us to specify the
Availability Zone of the backup service that should create the backup.
New optional parameter available for "backup-create" when using
microversion 3.51 is "--availability-zone".
Depends-On: I595932276088d25abd464025c99dce33a2cc502b
Change-Id: Ia4bab5fcb95f6a8d1adb99c5d7dc1b3f7546c6f6
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I45531a8827d1fc8d624c1e7a73e1d7df0ca2a0a2
This patch is mainly to specify the APIversion for FakeClient used in
different volume resources' unit tests.
Change-Id: I18eb9b57434061e95c909907e6ba263b9091a446