1427 Commits

Author SHA1 Message Date
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
TommyLike
7aedf4c898 Support create volume from backup in client
This patch adds create volume from backup support
in cinderclient.

Change-Id: I01dbcf6b113d88732c174b848be2127ee7242b3c
Implements: blueprint support-create-volume-from-backup
Depends-On: 58d0fb327f9fc980e0c8b84dcd9f64c093285d13
2017-12-07 11:31:39 +08:00
Zuul
91fb5b07d1 Merge "Bump Max version to 3.46" 2017-12-07 03:19:04 +00:00
Zuul
a971b1def2 Merge "Updated from global requirements" 2017-12-07 00:42:47 +00:00
TommyLike
d8b6d8020e Bump Max version to 3.46
Bump max version in client directly as
the client changes are not needed.

1. 3.46: support create bootable volume from nova
         0 size image.

Change-Id: Ib0cf2d88e55006c10b873327ccc85dca2dd09769
2017-12-07 08:41:00 +08:00
Zuul
9efcb22a08 Merge "Support list with 'with_count' in client" 2017-12-07 00:38:43 +00:00
OpenStack Proposal Bot
461c638234 Updated from global requirements
Change-Id: I87d4ef5b099793a049b361dcacf423a27282b12e
2017-12-05 03:30:32 +00:00
TommyLike
a0b18d22a4 Support list with 'with_count' in client
Add 'with_count' parameter in list
volume, snapshot and backup APIs.

Change-Id: I2b7b41b3579c24703a7a67ab5dc6f960a3ccbdc2
Partial-Implements: bp add-amount-info-in-list-api
2017-12-05 01:15:19 +00:00
TommyLike
9ddce659a9 Remove 'end_version' parameter in backup update
Remove unnecessary 'end_version' which was
added in patch [1].

[1]: 2255fc99da9752737dcaa96ae4507b646074afb2

Change-Id: If014ba9c12bf662ef23ebf17decfa59273c63944
2017-12-04 09:15:41 +08:00