Related change is If5d00a7f7991d78243e76a6e22031c185caee80a
Add new action in tests.v1.fakes.FakeHTTPClient, so it allow to test
os-begin_detaching and os-roll_detaching.
Fix typo in tests/v1/test_volumes.py.
Change-Id: I5c4cd9cc56a7235036b6bab6641554b5919ffbb6
Add a new optional tenant_id keyword argument to the client classes
cinderclient.client.HTTPClient and cinderclient.v1.client.Client to
support authentication with tenant_id instead of projectid (which is
acctually used as "tenantName" in the auth request body).
Keystone can provide tokens without specifiying the tenant in any form,
but a tenantName _or_ tenantId is required to generate the catalog (the
keystone service code seems to prefer tenantName if both are specified).
When using cinderclient programatically, it may be more convienent,
depending on the context to authenticate with out specificying the
tenant, or by tenant_id instead of tenant_name. Either way it's
impractial to make the requirement in the client for projectid
(tenantName) if the auth system has no such limitation.
The new client signature is backwards compatible. There is no change in
behavior for the shell client.
Change-Id: I0c1bdbdabd9acc29133a48a798750323011f1f18
Fixes bug #1004382
If nova call nova.volume.cinder.API.begin_detaching and
nova.volume.cinder.API.roll_detaching, it need python_cinderclient
support the functions.
Change-Id: If5d00a7f7991d78243e76a6e22031c185caee80a
This changes every command-line option with a '_' in its name
and changes them to '-'. The old option names are maintained
for backward compatibility but are no longer in the help text.
BP command-options
Change-Id: If926bb3b8fa85d628aea197496cf976f71bcdd08
Some methods in cinderclient/v1/volumes.VolumeManager have 'volume'
paramter, but in docstring the paramter is 'server'. So change ":param
server:" to ":param volume:".
Change-Id: I75a86180a830d3ae875ee1aecd45f9a6e39f6e22
Adding nosehtmloutput as a test dependency allows nose to output its
results to an html file. This will be used by Jenkins to save logs on
a different server.
Change-Id: I439fc9742762e626610a7b0774ed1274cf38ceb7
This works with patch set 7 at https://review.openstack.org/#/c/11028/
Change-Id: I113e0dc557500ea52e64d810409548ed1ffafe90
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Add '--availability_zone' flag to 'create' sub command in order to allow
user to speicify target availability zone for volume.
Also fix library description in setup.py
Change-Id: Ice3c9a550dcc486208208074730da13c64a6719b
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc and build results go in project/doc/build.
Change-Id: I3ae14ac735d9b4c0b534eac9a9c142f8ccaac1b9
Bug: 976267
Now that git commits are gated by CLA, we shouldn't enforce
committers to add an entry in AUTHORS file. The AUTHORS file
should be generated automatically, based on git commits.
This commit fixes the problem.
* AUTHORS
Remove this file.
* .gitignore
Add AUTHORS file.
* cinderclient/shell.py
pep8 fix.
Change-Id: I4e3c4524fc71a11f11b48fcb6abb99e6c7f33e90