summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make tests pass in 2020stein-em3.19.1stable/steinBernhard M. Wiedemann2020-01-087-22/+22
| | | | | | | | | | | | | | | | Without this patch, build failed after 2019-12-31 with Traceback (most recent call last): File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY) File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs self.assertEqual(json, val) NOTE: in addition to the orginal backport, this patch also fix bandit complains. The literal 'sha256' is the default hash algorithm, not a sensitive password. Marking it as false positive so bandit can stop chirping. Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77 (cherry picked from commit acc21ff06154e16de16583fe6994207d689ed054)
* OpenDev Migration PatchOpenDev Sysadmins2019-04-192-2/+2
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Update UPPER_CONSTRAINTS_FILE for stable/steinOpenStack Release Bot2019-03-181-1/+1
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/stein branch, tests will continue to use the upper-constraints list on master. Change-Id: I1d10fed72bb31c42037373d05cb23516dd1a575a
* Update .gitreview for stable/steinOpenStack Release Bot2019-03-181-0/+1
| | | | Change-Id: Ib4c0197984cf95d68dcf9b16efa31c96cfc4ed32
* add python 3.7 unit test job3.19.0Corey Bryant2019-02-141-0/+1
| | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.7. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c01 Story: #2004073 Task: #27422
* Merge "Add return-request-id-to-caller function(v3/contrib)"Zuul2019-01-168-21/+39
|\
| * Add return-request-id-to-caller function(v3/contrib)openstack2019-01-168-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added return-request-id-to-caller function to resources and resource managers in the following files. * keystoneclient/v3/projects.py * keystoneclient/v3/registered_limits.py * keystoneclient/v3/roles.py * keystoneclient/v3/limits.py * keystoneclient/v3/contrib/federation/saml.py Also made changes in base.py for _put() method so that if include_metadata is True, the response data should include request_id instead of returning None as response. Change-Id: Ifc0ec9a9d666cccfee3b08ac61596a3692307f23 Implements: blueprint return-request-id-to-caller
* | Update hacking versionZhijunWei2019-01-042-4/+4
| | | | | | | | | | | | | | 1. update hacking version to latest 2. fix pep8 failed Change-Id: Iecc112206633a7e771c5e45547c573d74cce6f67
* | Merge "Change openstack-dev to openstack-discuss"Zuul2018-12-071-1/+1
|\ \
| * | Change openstack-dev to openstack-discusssunjia2018-12-031-1/+1
| |/ | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: Ia14ecbd5f6051b9e391cd2ed0cfbde14913813bf
* | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-301-0/+1
|/ | | | Change-Id: Idd26135eb12bfa4acaed9f42f0a5d6ad9492c7fc
* Merge "Fix keystoneclient-devstack-functional job"Zuul2018-11-303-2/+16
|\
| * Fix keystoneclient-devstack-functional jobJens Harbott2018-11-283-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | The keystoneclient-devstack-functional job works fine when being run against this repo, but fails when running against the keystone repo because of conflicts within the tools/test-setup.sh script there. Do our own definition of the job to make sure that we always run tox against the correct repo. Also base the job on devstack-minimal to avoid installing more serviced than needed. Change-Id: Ie4c03de48a3b7f2fb3967a185486c6fb0d6e0a5f
* | Merge "Add release notes for return-request-id-to-caller"Zuul2018-11-291-0/+7
|\ \
| * | Add release notes for return-request-id-to-callerMaho Koshiya2018-11-291-0/+7
| | | | | | | | | | | | | | | | | | Change-Id: I6a9b5ec4f2a82c87f9819f5195f72540a13573b8 Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Implements: blueprint return-request-id-to-caller
* | | Merge "Add return-request-id-to-caller function(v3/contrib)"Zuul2018-11-299-29/+364
|\ \ \ | |/ / | | / | |/ |/|
| * Add return-request-id-to-caller function(v3/contrib)openstack2018-10-229-29/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added return-request-id-to-caller function tovresources and resource managers in the following files. * keystoneclient/v3/contrib/simple_cert.py * keystoneclient/v3/contrib/endpoint_policy.py * keystoneclient/v3/contrib/oauth1/access_tokens.py * keystoneclient/v3/contrib/oauth1/request_tokens.py Adding request-id to below V3 contrib API's is covered in base patch [1] but this patch is specifically for V3 API's so covered their test cases in this patch. * keystoneclient/v3/contrib/endpoint_filter.py * keystoneclient/v3/contrib/federation/identity_providers.py * keystoneclient/v3/contrib/federation/mappings.py * keystoneclient/v3/contrib/federation/protocols.py * keystoneclient/v3/contrib/federation/service_providers.py The methods in the resource class and resource manager return a 'base.Response' class that has 'request_ids' property. The caller can get request ids of the callee via that property. [1] https://review.openstack.org/#/c/329913 Change-Id: I5f90c31020e0dd672a160c7b587f41ba8f2b596c Co-authored-by: Dinesh Bhor <dinesh.bhor@nttdata.com> Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Co-authored-by: Neha Alhat <neha.alhat@nttdata.com> Implements: blueprint return-request-id-to-caller
* | Merge "Add py36 tox environment"Zuul2018-11-191-1/+1
|\ \
| * | Add py36 tox environmentColleen Murphy2018-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We already run python3.6 unit tests in CI. Add the py36 environment to the tox file so that developers with python3.6 available locally can opt into running that version too. Change-Id: I28e96e5922b73f270b0e77fff91e4343ad06a852
* | | Use python3 for functional testsColleen Murphy2018-11-062-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to python3 for the tox basepython and for the devstack setup for functional tests to fulfill the python3-first goal[1]. We still have unit test coverage for python2. [1] https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: If82196ce6a2fffe6a43bb59077c6bdd712276958
* | | Make the functional test votingColleen Murphy2018-11-061-2/+4
| | | | | | | | | | | | | | | | | | These tests are stable, so make them voting. Change-Id: I6fad63b342639937566d55f400db63eefdd23a1b
* | | Convert functional tests to Zuulv3Colleen Murphy2018-10-284-181/+3
| |/ |/| | | | | | | | | | | Use the devstack-tox-functional-consumer job as a parent job to allow us to remove the custom playbooks and devstack hooks. Change-Id: Ide6e6da3cbb479b5149fb44f0ef392dc80202910
* | Merge "Don't quote {posargs} in tox.ini"3.18.0Zuul2018-10-201-1/+1
|\ \
| * | Don't quote {posargs} in tox.iniVieri2018-10-091-1/+1
| |/ | | | | | | | | | | | | | | Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: Ie0b56212cad8d9756c2043a4483c607101491a14
* | Merge "Update IdentityProviderManager docstring"Zuul2018-10-201-2/+2
|\ \
| * | Update IdentityProviderManager docstringchenxing2018-06-201-2/+2
| | | | | | | | | | | | | | | Change-Id: Ie386caf4fc9ad660581558406cd72fafc391379d Closes-Bug: #1763475
* | | Merge "Add return-request-id-to-caller function(v3)"Zuul2018-10-192-2/+87
|\ \ \
| * | | Add return-request-id-to-caller function(v3)Maho Koshiya2018-03-262-2/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added return-request-id-to-caller function to resources and resource managers in the following files. * keystoneclient/v3/projects.py The methods in the resource class and resource manager return a wrapper class that has 'request_ids' property. The caller can get request ids of the callee via the property. NOTE: Remaining resources from the V3 package are already covered in the base patch: https://review.openstack.org/#/c/329913/ Change-Id: I0133d51cfadc02e2dd926b8b0419b2e1dd0fa92a Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Co-authored-by: Dinesh Bhor <dinesh.bhor@nttdata.com> Implements: blueprint return-request-id-to-caller
* | | | Merge "Add Response class to return request-id to caller"Zuul2018-10-194-30/+343
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Add Response class to return request-id to callerDavid Stanek2018-03-264-30/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is required to return 'request_id' from client to log request_id mappings of cross-project requests. Instantiating class 'keystoneclient.v3.client.Client' using 'include_metadata=True' will cause manager response to return a new 'Response' class instead of just the data. This 'Response' class is going to have additional metadata properties available like 'request_ids' and the original data will be available as property 'data' to it. This change is backward compatible since user has to set a new parameter 'include_metadata=True' to client in order to get the request_id returned. Co-author: Dinesh Bhor <dinesh.bhor@nttdata.com> Partially Implements: blueprint return-request-id-to-caller Change-Id: Ibefaa484158ff08bfcacc1e2802d87fc26fd76a5
* | | Merge "Import legacy keystoneclient-dsvm-functional"Zuul2018-10-053-1/+139
|\ \ \
| * | | Import legacy keystoneclient-dsvm-functionalAndreas Jaeger2018-09-243-1/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Import Zuul v2 legacy job so that it can be modified and converted to v3 in-repo. Change-Id: Ia1a0efa0591d0e37e22a8cac24b72af63604f087
* | | | Merge "Use templates for cover and lower-constraints"Zuul2018-10-051-7/+2
|\ \ \ \ | |/ / /
| * | | Use templates for cover and lower-constraintsAndreas Jaeger2018-09-241-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use openstack-tox-cover template, this runs the cover job as non-voting in the check queue only. Use openstack-lower-constraints-jobs template Remove jobs that are part of the templates. Change-Id: I53c95dfd73679653099df83400e18f9ba5c1def7
* | | | Merge "Deprecate region enabled parameter"Zuul2018-09-283-0/+20
|\ \ \ \ | |/ / / |/| | |
| * | | Deprecate region enabled parameterVishakha Agarwal2018-09-283-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't check for "enabled" in the region anywhere thus deprecating it from the create() and update calls of the v3/region.py. We dont use it in schema [1] as well as [2]. [1] https://github.com/openstack/keystone/blob/master/keystone/catalog/schema.py#L34 [2] https://github.com/openstack/keystone/blob/master/keystone/catalog/backends/sql.py#L33-L49 Change-Id: I0257d5d42916e3b4d008e592d54eeeebec591633 Partial-Bug: #1615076
* | | | Merge "Update reno for stable/rocky"Zuul2018-09-062-0/+7
|\ \ \ \
| * | | | Update reno for stable/rockyOpenStack Release Bot2018-08-082-0/+7
| | | | | | | | | | | | | | | | | | | | Change-Id: I5a190d6ee3b55355611f1f431f165ee54207a548
* | | | | add lib-forward-testing-python3 test jobDoug Hellmann2018-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a functional test job running under Python 3 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I50cd4bef7aae2792f38333fe019d0ec1b7fb2736 Story: #2002586 Task: #24304
* | | | | add python 3.6 unit test jobDoug Hellmann2018-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Id84bb8e0e754b6eb20f85f0a0c1c7416bb9664c8 Story: #2002586 Task: #24304
* | | | | switch documentation job to new PTIDoug Hellmann2018-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I33d8721a9fd6ef8b2daa542f9e51dc36cd69dbac Story: #2002586 Task: #24304
* | | | | import zuul job settings from project-configDoug Hellmann2018-08-291-0/+12
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I93c27562e47fe34b6ec9a2886347c4f224163eca Story: #2002586 Task: #24304
* | | | Merge "fix misspelling of 'default'"Zuul2018-08-161-1/+1
|\ \ \ \
| * | | | fix misspelling of 'default'lvxianguo2018-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I12ffcf28d05655f1f60038dcf1c42e43a516978e
* | | | | refactor the getid method in keystoneclient/base.pyzhubx0072018-08-081-10/+4
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refer to a merged commit. https://review.openstack.org/#/c/588983/ TrivialFix Change-Id: Ie3a02843e35382dd24230e91534b6ed72846957d
* | | | Merge "Switch to stestr"Zuul2018-07-246-11/+16
|\ \ \ \
| * | | | Switch to stestrVu Cong Tuan2018-07-116-11/+16
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I6484b605b1a7b8bcc4589170d2645f7cb0ca66f6
* | | | Add release note link in READMEwu.chunyang2018-06-281-0/+2
|/ / / | | | | | | | | | Change-Id: I5b9b9c31d58f0e5411d03d9f27991c97f3ad3980
* | | Merge "Add support for project-specific limits"rocky-em3.17.0Zuul2018-06-204-0/+237
|\ \ \
| * | | Add support for project-specific limitsLance Bragstad2018-06-144-0/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thsi commit adds client support for managing limits in keystone. bp unified-limits Change-Id: I33251dbd4d3bfaf178ca86a2f5d564ac94879dd2