summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorAmrith Kumar <amrith.kumar@gmail.com>2017-01-28 21:56:42 -0500
committerAmrith Kumar <amrith@amrith.org>2017-01-29 18:37:11 -0500
commit49a6f565c161f6ab592b4320120bde1db9df2529 (patch)
tree9327ad0b89ab86fcf30dbee11ff535b485e788f8 /api-ref
parentcdb22e119127e90b8cc11e113068812fa38869f0 (diff)
downloadtrove-49a6f565c161f6ab592b4320120bde1db9df2529.tar.gz
unwedge the gate
This commit is a composite of two commits [1] and [2] to help unwedge the gate. Both of them are required for the gate to possibly pass. It introduces an unsafe change to unblock the gate temporarily. It still needs to be debugged and addressed. The change in question is in _remove_incompatible_context_args() in trove/common/context.py. Without this check, initial tests indicate that the system works as expected and testing locally is successful. Why this is the case, I don't know yet but will investigate in parallel. [1] https://review.openstack.org/#/c/425857/ [2] https://review.openstack.org/#/c/423086/ [3] https://review.openstack.org/#/c/412497 From [1] Fix a ``tox -eapi-ref`` warning Currently, generating api-ref results in a warning that is treated as an error. See [1]. Since api-ref is now a jenkins voting gate, this needs to be fixed. [1] http://logs.openstack.org/56/401456/9/check/gate-trove-api-ref/e2e0d9d/console.html#_2017-01-26_17_23_10_952073 From [2] SessionClient' object has no attribute 'user' Now gate py27 and py34 are being error:'SessionClient' object has no attribute 'user'" I observed that this is because novaclient from 6.0.0 into 7.0.0 caused, In novaclient 7.0.0,password and username is merge to auth[1],[2], I tried to make a change, get password and username from auth[3]. [1]:https://github.com/openstack/python-novaclient/blob/6.0.0/novaclient/client.py#L164 [2]:https://github.com/openstack/python-novaclient/blob/7.0.0/novaclient/client.py#L147 [3]:https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/identity/generic/password.py#L37 Change-Id: I6fb2bdcc4b83457e08b24599fb4a297ef6ec6c14 Closes-Bug: #1657968 Co-Authored-By: Andrey Kurilin <akurilin@mirantis.com> Co-Authored-By: jiansong <jian.song@easystack.cn> Co-Authored-By: Tin Lam <tinlam@gmail.com> Related: I45a40d599b3a302726dc21e409a8da26c9f1f741 Related: I93c1942bb41bd77ea169f0e47d37132ce5d3637d Related: I41f4144821e491da689c188e25bc2b916867bdca
Diffstat (limited to 'api-ref')
-rwxr-xr-xapi-ref/source/parameters.yaml6
-rw-r--r--api-ref/source/user-management.inc1
2 files changed, 7 insertions, 0 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 13be71a8..ef71d87b 100755
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -48,6 +48,12 @@ parameter_name:
in: path
required: false
type: string
+user_name:
+ description: |
+ The name of the user.
+ in: path
+ required: false
+ type: string
# variables in body
characterSet:
description: |
diff --git a/api-ref/source/user-management.inc b/api-ref/source/user-management.inc
index 7dd77d95..750b7417 100644
--- a/api-ref/source/user-management.inc
+++ b/api-ref/source/user-management.inc
@@ -163,6 +163,7 @@ Request
- instanceId: instanceId
- accountId: accountId
+ - name: user_name