7 Commits

Author SHA1 Message Date
Abhishek Kekane
679cdd2451 Log request-id for each api call
Added new private method to log request-id of each api call
for both SessionClient and HTTPClient. Already available
ks_logger and client_logger will be used for SessionClient
and HTTPClient respectively.

Change-Id: I679c57b96071ecd9bcd1ab2ed50692195586ca52
Implements: blueprint log-request-id
2016-06-28 08:44:23 +00:00
Mitsuhiro Tanino
729b8f8474 Don't reset volume status when resetting migration status
In case of failed volume migration, status of the volume is
still in-use and the migration status is set to error.

Current reset-migration-status command resets not only
migration status but also volume status. However the volume
status should not reset because the volume is still attached.

Closes-Bug #1552058
Change-Id: I9a8a5ed6a00bdcffecbf98862fe60aee373f5e9b
2016-05-18 15:43:54 -04:00
Cedric Brandily
80d3edc71e Support --os-key option
Currently we can specify a client certificate key using --os-key option
inherited from keystoneclient cli options but it has no effect because
keystoneclient Session expects as cert argument, one of the followings:
 * None (no client certificate),
 * a path to client certificate,
 * a tuple with client certificate/key paths.

The change updates cinderclient code to support the last case (ie:
os_cert and os_key are non-empty) in order to take into --os-key option
and OS_KEY environment variable.

Closes-Bug: #1564646
Change-Id: I258fd554ad2d6a5413ffe778acefa3a0b83e591f
2016-05-17 15:02:00 +02:00
Doug Hellmann
52f12f28a2 fix formatting of return-request-id-to-caller release note
The release note was not escaping the restructuredtext constructs
properly so the YAML parser was wrapping the lines together.

Change-Id: I8ae7e70c4e97d4a26de265f9fc48122be75224bb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-03-11 14:41:27 -05:00
Doug Hellmann
407403d988 Update reno for stable/mitaka
Fix the organization of the release notes so they match other projects,
with a page for the current series and a page for each stable series.

Change-Id: I3a60bf93f67f913347e5a04c679412ffab85b82d
2016-03-11 14:39:15 -05:00
Ankit Agrawal
8d1d409700 Add release notes for return-request-id-to-caller
For more details on how request_id will be returned to the caller,
please refer to the approved blueprint [1] discussed with the
cross-project team.
[1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html

Implements: blueprint return-request-id-to-caller
Change-Id: Ic6b557895707f30869219bd5096c4ef7785cf7dc
2016-02-24 00:37:28 +00:00
Sean McGinnis
423db4b32c Add reno for release notes management
Adopt reno for release notes like we have done for cinder.
One difference for the client is we will not be backporting
to Liberty per recommendation here [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080694.html

Change-Id: Icb2520cfa249d104674eb42b5ac93a50a6ce34b4
2015-12-13 19:56:41 -06:00