1435 Commits

Author SHA1 Message Date
Sean McGinnis
df68d53fc5 Add bindep.txt for system packages
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
2018-03-12 09:29:39 -05:00
Yuanbin.Chen
c89272335a Update unit_test.rst doc unit test py34 to py35
CinderClient unit test use py27 or py35, Look:
https://github.com/openstack/python-cinderclient/blob/master/tox.ini#L3

Change-Id: Ibc3ada82337c6393ab86b3159fa1b4f032495879
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-03-05 13:45:57 +08:00
Zuul
6b40cae36d Merge "Remove unit tests about run_test" 2018-03-01 21:47:41 +00:00
Yuanbin.Chen
0ddf6c6b76 Remove unit tests about run_test
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>
2018-02-24 13:10:50 +08:00
Matt Riedemann
98822d1fb4 Remove unused cinderclient/apiclient/client.py module
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
2018-02-20 10:16:16 -05:00
Zuul
f7c6a10923 Merge "Update help text for encryption provider" 2018-02-20 11:19:49 +00:00
OpenStack Proposal Bot
42c781c66b Updated from global requirements
Change-Id: I195d679e2da051ac0f88f71c4b7fa9e24c65ab2a
2018-02-17 10:10:48 +00:00
Brianna Poulos
5e5f6a2d8a Update help text for encryption provider
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
2018-02-16 16:06:19 -05:00
Zuul
eb2f4d3ae8 Merge "Zuul: Remove project name" 2018-02-13 18:05:46 +00:00
James E. Blair
9a95d15762 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: If9bef5ae884bfefadc06752b3ca140ac2e91399d
2018-02-13 07:10:00 -08:00
Zuul
c2f653965e Merge "Updated from global requirements" 2018-02-12 22:35:04 +00:00
Zuul
5d27303212 Merge "Zuul: Remove project name" 2018-02-02 05:40:12 +00:00
James E. Blair
ea3c9b392d Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I45531a8827d1fc8d624c1e7a73e1d7df0ca2a0a2
2018-02-01 01:56:26 -08:00
Zuul
c46785561b Merge "Add api_version wraps for some v3 volume APIs" 2018-01-31 07:00:25 +00:00
jeremy.zhang
e2618ebb24 Add api_version wraps for some v3 volume APIs
This patch is mainly to add api_version wraps for some v3 volume APIs.

Change-Id: Iea8b9b68930548156749da3f98629e3602ffca83
2018-01-25 21:56:28 +08:00
jeremy.zhang
18f7dff64d Fix for v3 volume unit tests
This patch is mainly to specify the APIversion for FakeClient used in
different volume resources' unit tests.

Change-Id: I18eb9b57434061e95c909907e6ba263b9091a446
2018-01-25 21:00:08 +08:00
d00b068170 Update reno for stable/queens
Change-Id: I746432574176ebb74ef2f864526f3e76cea8da83
2018-01-24 22:02:22 +00:00
OpenStack Proposal Bot
06df11e3ac Updated from global requirements
Change-Id: Ie7534a355e2b884707b9326243efa10c866bd97a
2018-01-24 01:27:56 +00:00
Zuul
1de605cdd3 Merge "Add snapshot_id param note for backup-create" 2018-01-23 22:58:59 +00:00
Zuul
b5e373034d Merge "Bump API microversion to 3.50" 2018-01-23 20:48:33 +00:00
Zuul
f85b36f4a2 Merge "Removes unicode 'u' response for "cinder get-capabilities"" 2018-01-23 18:03:43 +00:00
Jay S. Bryant
cf4d215544 Bump API microversion to 3.50
This change is to bump MAX_VERSION to
3.50 in api_version.  This bump is necessary to
keep cinderclient in sync with cinder which moved
to 3.50 with change: f1bfd9790d2a7cac9a3e66417b11dc8e3edd8109

With MV 3.50 we are able to request multiple attachments for
a single volume.

Change-Id: Ic51b890b816112cecaedd68df8d13ec175623c66
2018-01-23 10:36:00 -06:00
Abijitha Nadagouda
c3a22519bc Removes unicode 'u' response for "cinder get-capabilities"
The output of "cinder get-capabilities" command returns
unicoded response. But it would appear from the utils
class that setting formatters will go through the
capabilities dict and make sure all values are properly
string formatted. Therefore added formatters to return
string formatted response.

Added formatters=sorted(prop.keys()) line instead of
static values as suggested by the reviewer, to avoid
tying server knowledge to the client and also any
update on the server side would easily reflect here.

Closes-bug: #1680444
Change-Id: Ie38236db364d59ddab42cb925d0435777b0ffe86
2018-01-23 18:32:11 +05:30
OpenStack Proposal Bot
0a4c8010c1 Updated from global requirements
Change-Id: I25be0e60459c2dc652b4ee8672984a65d3cf143e
2018-01-18 03:26:33 +00:00
Zuul
0a323eaf94 Merge "Support for reporting backend state in service list" 2018-01-18 02:13:59 +00:00
Zuul
1e5bbca37c Merge "Add api_version wraps for generic volume groups" 2018-01-18 01:38:01 +00:00
Zuul
4b508e85f2 Merge "Migrate to keystoneauth identity cli opts." 2018-01-17 18:06:16 +00:00
Zuul
0a0dc01ea2 Merge "Fix v2 volume unit tests" 2018-01-16 23:15:47 +00:00
Zhao Chao
77143d43dc Migrate to keystoneauth identity cli opts.
Use keystoneauth1 to parse keystone authentication arguments. Previously
these arguments are parsed in the different service clients seperately.
Use keystoneauth1 instead will make this consistent across projects and
less error-prone.

This change is inspired by NovaClient.

Co-Authored-By: Morgan Fainberg <morgan.fainberg@gmail.com>
Co-Authored-By: David Hu <david.hu@hp.com>
Co-Authored-By: Monty Taylor <mordred@inaugust.com>

Closes-Bug: #1734945

Change-Id: I3c5141eeddd3747ff542e95b04e4848470ad9508
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-01-16 20:49:14 +08:00
Zuul
d2cf6e6ddc Merge "Add service cleanup command" 2018-01-16 12:26:57 +00:00
Zuul
24e46d116a Merge "Add cluster support in manage listings" 2018-01-16 07:37:17 +00:00
jeremy.zhang
9c95a3fe7e Add api_version wraps for generic volume groups
This patch is mainly to add api_verion wraps for volume group APIs.

Change-Id: I1f71ef67c482410b9a671226f68160afde98ae5d
2018-01-11 23:21:37 +08:00
zhengyin
62d40cefb5 Add snapshot_id param note for backup-create
Change-Id: Id7c565629aeed6d915b21b8de514afcee42470cf
2018-01-11 10:22:36 +08:00
wanghao
1eb2d6c9f6 Support for reporting backend state in service list
This patch will support the feature: report backend state in service list
in client side.

Depends-On: I561dca3ef7c1901401621bc112389dbd178a907e

Change-Id: If15e1fa50b5feecd74c7394c918f4fc9d87bcf3e
Implements: blueprint report-backend-state-in-service-list
2018-01-09 09:04:00 +08:00
jeremy.zhang
41d6ed0861 Fix v2 volume unit tests
This patch is mainly to fix the wrongly used fake client in v2 volume
unit tests.

Change-Id: If0d0aa7a95b7d58886cc77e8a377ac2f17985f18
2018-01-08 20:51:57 +08:00
jeremy.zhang
97925fe251 Fix 'cluster' paramter using for v3 volume manage
The 'cluster' paramter is wrongly provided for v3 volume manage, as it
should be included in the 'volume' object.

Change-Id: I12440aa6ada9c0e058138e8da7f7bc12359847bb
2018-01-05 21:48:56 +08:00
Zuul
36a2f4b4eb Merge "Deprecate multiattach flag on volume create" 2018-01-03 18:07:43 +00:00
OpenStack Proposal Bot
801ec5a44a Updated from global requirements
Change-Id: I4d4efd8f1713972164a6ede13f3aa7d62f8e9717
2018-01-02 07:14:06 +00:00
jiansong
7d76c405e4 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I7615e33c0d00c56b3ee6cb856a0553e32a1664c6
2017-12-21 18:23:48 -06:00
Zuul
ab0185bfc6 Merge "Remove setting of version/release from releasenotes" 2017-12-22 00:20:57 +00:00
Sean McGinnis
adb141a262 Deprecate multiattach flag on volume create
This form of multiattach was never fully supported and is now being
replaced by the new mutliattach workflow with Nova. As part of this,
volume type extra specs will be used to indicate multiattach ability
and will allow retyping between volume types to change the flag after
creation.

That work is still in progress and has some potential to change. But
we know we are not going to support this old style, so we should get
that deprecated now so we can remove it and not cause any confusion.

Change-Id: Icbb9c0ca89b25620cedff6cac7a4723e7126eca6
2017-12-21 16:08:55 -06:00
Zuul
6db162a0d6 Merge "Updated from global requirements" 2017-12-21 03:13:42 +00:00
Zuul
7b34445a3c Merge "Fix the way to get backup metadata" 2017-12-20 02:59:53 +00:00
OpenStack Proposal Bot
ec9c2945da Updated from global requirements
Change-Id: Ib67cf573428146de735ec2e52d0697f37e14acef
2017-12-19 01:41:15 +00:00
Zuul
95e51505e1 Merge "Backup create is not available from 3.0 to 3.42" 2017-12-15 05:42:04 +00:00
pooja jadhav
2a478b3528 Removed unnecessary parameters from group and group_snapshots create APIs
As per code, the 'status', 'user_id' and 'project_id' parameter
is not required to be passed in the request body in case of group
and group_snapshot create APIs. Even if you pass these parameter,
it is silently ignored in the code.

This patch removes those parameters passed in the request body.

Change-Id: I29e7d4c8a3eee52f4ea7278d2edf2c7deec40628
2017-12-14 11:23:12 +05:30
TommyLike
9bfd6da08d Backup create is not available from 3.0 to 3.42
Backup create command is shielded by patch [1].

[1]: 2255fc99da9752737dcaa96ae4507b646074afb2

Change-Id: I100b8734ee2df4d81e16e2bfdafd81227c20d25e
2017-12-14 11:17:29 +08:00
lihaijing
d59eb3ee05 Fix the way to get backup metadata
In v3/shell.py do_backup_update(), the metadata through
'args.metadata' is a list, like this: 'metadata': [u'k1=v1'].
But we need a metadata dict like this: 'metadata': {"k1": "v1"}.
So call the right method shell_utils.extract_metadata()
to get metadata from args.

Change-Id: I82cb96b1f89b4009d4b3f4a0e64db076a7a04977
2017-12-13 16:53:28 +08:00
Zuul
440f8d82aa Merge "Remove 'end_version' parameter in backup update" 2017-12-11 11:08:51 +00:00
John Griffith
76fe6fc01d Bump Max API version to 3.48
In order for Nova to be able to make use of the code
for shared_targets that has gone into Cinder we need to
bump to API Version to 3.48.

This bumps to 3.48 to match the latest add to the Cinder side:
    https://review.openstack.org/#/c/524697/1

Change-Id: Icaa17654bd2810098d02f8074fedb35c5221cd55
2017-12-07 14:46:56 -06:00