457 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
ada9da0b30 Updated from global requirements
Change-Id: Iaf00eefcd9371470e53464c88ee84ae7f536a1fa
2016-08-04 02:41:32 +00:00
dineshbhor
093a2e69f6 Replace OpenStack LLC with OpenStack Foundation
TrivialFix
Change-Id: I336952baacf55e36ad0a56ac98b95977fc0d593a
Closes-Bug: #1214176
2016-07-26 12:21:45 +00:00
Jenkins
59c689d4e4 Merge "Use consistent env variable naming" 2016-07-21 14:38:34 +00:00
Marc Koderer
65996e210f Use consistent env variable naming
Old env variables are still supported but the default ones should
consistently use OS_ as prefix.

Change-Id: Idd26a587cade7f6a27115c4e8cf220cd43b1703e
Closes-bug: #1603387
2016-07-18 09:54:12 +02:00
Jenkins
22172b65f8 Merge "Remove white space between print and ()" 2016-07-14 12:06:51 +00:00
OpenStack Proposal Bot
5ce66a18fa Updated from global requirements
Change-Id: Ib9a1c52ccb179604fd649e74d194efec839c648d
2016-07-13 23:57:51 +00:00
Valeriy Ponomaryov
8c2f3c3a9b Define experimental API header on python client level instead of CLI
For the moment we cannot use experimental APIs using "python" client.
It is possible only if we use shell client (CLI).
It means, we cannot use "share replication", "share migration" and
"consistency groups" APIs of python manilaclient from other apps
such as Manila UI. So, add special experimental header on python
client level instead of CLI.

Change-Id: I6eed5dcfd1cb309817e083856b40e10cc6f970f6
Closes-Bug: #1599586
2016-07-13 18:42:39 +03:00
yuyafei
2e741f7df8 Remove white space between print and ()
TrivialFix

Change-Id: I09c15898ec6e333a63cd4229fc2a37d0729623d6
2016-07-05 16:47:29 +08:00
OpenStack Proposal Bot
947989952a Updated from global requirements
Change-Id: I2b6081b1e9804e9034cc5307af655c715f8b5c83
2016-07-01 04:24:22 +00:00
Jenkins
92515d2566 Merge "Make dict.keys() PY3 compatible" 2016-06-27 19:07:12 +00:00
OpenStack Proposal Bot
0859cbad41 Updated from global requirements
Change-Id: I5d6deec91aaa252e9cdfff9ce44be71863146f51
2016-06-25 20:26:14 +00:00
nidhimittalhada
3a7609d8fa manila list --all-tenants should display projectID
Both 'manila list --all-tenants' and 'manila list --public'
should show column Project ID. Project/Tenant ownership of
shares is vital information, e.g. when working with project
quota allocations.

'manila list' doesn't show public shares of other projects.
Without '--all-tenants' and without '--public' the result
is scoped to the project/tenant of the user issuing the command.
So, it would be redundant to display a column for this.

Same fix has been put for snapshot-list --all-tenants too.

DocImpact
Change-Id: I7afae542c391041d48c28e268ab59c83447bb940
Closes-Bug: #1570085
2016-06-23 13:30:04 +00:00
Valeriy Ponomaryov
6e15683539 [CI] Fix devstack hooks to unblock CI
Logic of share-network creation was dependent on presense of "JOB_NAME"
env var. And it is unavailable now. Moreover, we do not really need to
depend on it. Therefore, remove dependency on it and assume we always
run CI without nova-network enabled.

Change-Id: Ic03e2166101a4deb13e8a8545d2fb2506454a20a
Closes-Bug: #1595160
2016-06-23 13:16:42 +03:00
dineshbhor
1e9ba40783 Make dict.keys() PY3 compatible
The dict.keys()[0] will raise a TypeError in PY3,
as dict.keys() doesn't return a list any more in PY3
but a view of list.

Change-Id: I5d8dead560acd897213e785d6eb0bc75a584af1b
Closes-Bug: #1583419
2016-06-21 17:06:47 +05:30
Jenkins
02c731691d Merge "Remove discover from test-requirements" 2016-06-14 11:55:20 +00:00
Daniel Gonzalez
0cf64700c3 Handle error for missing minor api version
Change the api version regex to forbid empty minor versions,
thereby ensuring that manilaclient raises an UnsupportedVersion
exception as one would expect in this case.

Change-Id: I93268b15ec0b5ee95ea3599bb75bf6fa364e0b91
Closes-Bug: #1590409
2016-06-10 13:51:49 +02:00
Thomas Bechtold
98e2c9e484 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I8b5582919f68faaf71528be4a0fba788e2c647f2
2016-06-10 10:45:49 +02:00
OpenStack Proposal Bot
ef38f0565c Updated from global requirements
Change-Id: I919615f0d4f35d1bd2ee14fce4d03a84a43529cc
2016-06-03 18:18:52 +00:00
OpenStack Proposal Bot
0468689b2a Updated from global requirements
Change-Id: Ief6e2ce69ef0140d19e79546fc96fb8e732bf45f
2016-05-30 00:39:06 +00:00
Jenkins
cdbbba7019 Merge "Fix "single_alias" action for CLI commands" 2016-05-27 14:27:51 +00:00
Jenkins
0347fd4c13 Merge "Add support for releasenotes" 2016-05-25 21:44:11 +00:00
Goutham Pacha Ravi
0b9a1dd83d Add support for releasenotes
Create the releasenotes directory and add the requisite
conf.py file to generate python-manilaclient's release notes.

project-config change: I522ba76263a6597026f6dd7b03ec51bb05bfb15a

Change-Id: I6b0fa6016781a252a71649a7cac85f02b0a019e8
2016-05-25 17:45:16 +00:00
Bertrand Lallau
165d9f385b Remove iso8601 and pycrypto useless requirements
This patch cleans up the requirement list to remove some modules
that are not used.

Change-Id: Iffd73d6e91a1a4a39a1e3dd5104b133699c0cfb5
2016-05-24 22:41:04 +02:00
Jenkins
03054717d3 Merge "Add possibility to provide auth token via CLI" 2016-05-23 23:33:42 +00:00
OpenStack Proposal Bot
a187d0457d Updated from global requirements
Change-Id: I2507c48d641a00855e5f4e9f8381db5026b7ae78
2016-05-18 02:39:58 +00:00
Jenkins
996361c8fb Merge "Fix view of doc info for functional tests" 2016-05-17 21:08:22 +00:00
Jenkins
8e70b2f87d Merge "Update the home-page with developer documentation" 2016-05-17 20:24:25 +00:00
vponomaryov
60b7c5caea Fix view of doc info for functional tests
Format text for functional tests so it could be interpreted properly.

TrivialFix

Change-Id: I96d624de23993554d1515b85f2e4e1c6b6ab604d
2016-05-17 18:00:51 +03:00
venkatamahesh
3a61eae1ca Update the home-page with developer documentation
Change-Id: If328d3e9a70e721d0b2754c559316fe1c2d5186e
2016-05-17 10:08:30 +05:30
venkatamahesh
035644242d Added CONTRIBUTING.rst file to the project
Change-Id: I7d92f83c4ede7639fbbddd3674380e175991251d
2016-05-17 00:06:50 +00:00
Valeriy Ponomaryov
5a3ef94c5b Add possibility to provide auth token via CLI
Python part of Manilaclient does support auth by token, but
CLI part does not. Therefore, add two new optional args
with related env vars:
--os-token [OS_TOKEN]
--bypass-url [MANILACLIENT_BYPASS_URL]

Also, disable checks for other auth data if these two are provided.

Change-Id: I567294dfb61e702410c3f0fadc15a04667075434
Closes-Bug: #1572095
2016-05-16 20:02:06 +03:00
Valeriy Ponomaryov
ea5c3e7b28 Fix "single_alias" action for CLI commands
For the moment if default value for CLI option with
"single_alias" action is different than None we cannot redefine it.
Fix it and cover with unit tests.

Also, fix existing aliases and add some where good to have.

Change-Id: Ic61426d9bd894b01f9b035d6d19bb7bd113f96ad
Closes-Bug: #1552771
2016-05-16 13:24:37 +03:00
OpenStack Proposal Bot
822df93c1e Updated from global requirements
Change-Id: Ic98e0641b694b9937e7e01996aedda3900603d6a
2016-05-10 00:04:58 +00:00
Jenkins
e690277f31 Merge "Hacking version update and pep8 issues fix" 2016-05-09 13:00:21 +00:00
David Sariel
cfa9f4b2bc Hacking version update and pep8 issues fix
Updated the version of hacking to match global requirements [1] and
fixed several pep8 issues exposed with the new version.

The list of fixed issues:
    - W292 no newline at end of file
    - H238  old style class declaration

[1] https://github.com/openstack/requirements/blob/master/global-requirements.txt

Change-Id: I2de0d2ed9d6e0a893290053998877ba30093f636
2016-05-08 16:59:26 +03:00
zhongjun
5e7354c078 Fix list access function comment
Change incorrect comment "deny access" to "list access".

TrivialFix

Change-Id: I697c6fc6512ad239699910e69afba04b04a60c64
2016-05-08 19:52:24 +08:00
OpenStack Proposal Bot
80fc72a72a Updated from global requirements
Change-Id: Iec2610c783fdd4330c30b28e5b965c3dcb79c4b6
2016-04-30 18:08:27 +00:00
Daniel Gonzalez
9e3d321cdf Replace tempest-lib with tempest.lib
tempest-lib is deprecated, so replace it with tempest.lib.

Change-Id: Ic09aad7ca2dd517e63b6d7f9a7714ef1a2a64f1d
2016-04-28 01:53:07 -05:00
OpenStack Proposal Bot
895f991a8b Updated from global requirements
Change-Id: I632c33ec6cd56d96cbdc068bf7c0b9f14805be03
2016-04-13 12:48:18 +00:00
Jenkins
c62112b44a Merge "Fix typos" 2016-03-31 16:55:06 +00:00
Chuck Fouts
8143f7aa1c UnsupportedVersion Thrown for Supported Version
If the maximum client version is higher than the maximum server version,
but the server version is otherwise valid, an UnsupportedVersion
exception is thrown. This bug fixes this issue by downgrading the
requested version, during API version discovery, from the maximum
client version to the maximum server version. The maximum server version
must be supported by the client. If all conditions are properly met the
client will continue to use the maximum server version for the remainder
of the request.

In order to log that the client version is being downgraded to match
the server version, when using the --debug flag, it was necessary to
update the logging configuration. Logging can now be used anywhere in
manilaclient as needed.

Change-Id: I96d273071966d2dc63de40c6f1b777fbb34a50fa
Closes-Bug: 1559290
2016-03-30 17:59:23 +00:00
daiki kato
a0d6189997 Fix typos
This patch fixes several typos.

TrivialFix

Change-Id: Ifc2b151785b69e784819d2742f57c7f406f433ae
2016-03-22 10:20:48 +09:00
Jenkins
8fc8bd9eb2 Merge "Revert fix access rules functional tests" 2016-03-19 01:03:51 +00:00
tpsilva
4faa09b00d Revert fix access rules functional tests
When update_access was first implemented in manila, it merged with
a bug that was not allowing rules to be added when
access_rules_status were 'out_of_sync'. Due to this limitation,
manila client functional tests were fixed. Now, since the initial
bug was fixed on manila, this can be reverted.

Change-Id: I4aee2d339ec96e44208771c19714f9911115a81a
Depends-On: I0f863cbae4d8af0660114161deda7bf7aa60d71d
Closes-Bug: #1556956
2016-03-16 09:12:10 -03:00
daiki kato
b1274edefe Fix typos
This patch fixes several typos.

TrivialFix

Change-Id: Id433b319b989c40c141fb0d5b29af1d8b1e077d2
2016-03-16 09:29:19 +09:00
Jenkins
9b331af5e1 Merge "Microversion 'cephx' access type in API v2" 2016-03-14 15:31:47 +00:00
Ramana Raja
0bcff36c1a Microversion 'cephx' access type in API v2
'cephx' access type was added for API microversion 2.13 in the server
side. However, on the client side, it is allowed and validated for
API versions 2.0 and greater. Fix by adding cephx support starting
from microversion 2.13, as done for the server.

Change-Id: If63a74736926edd6a88c278aa40dd73a96cb0520
Closes-Bug: #1552848
2016-03-14 12:39:14 +05:30
Jacek Tomasiak
3639d73061 Fixed description of auth_url config parameter
The description was the same as for admin_auth_url and stated that
it should be set to admin endpoint URL while public one should be
used instead.

Change-Id: I2b12b7436aa535212e65deae25e82da842d3b3f7
Closes-Bug: #1554587
2016-03-08 16:54:12 +01:00
Jenkins
eb1fde5058 Merge "Add 'cephx' authentication type" 2016-03-03 21:04:01 +00:00
Jenkins
e4c9f49864 Merge "Added new CLI commands for Share migration" 2016-03-03 20:34:15 +00:00