Commit Graph

190 Commits

Author SHA1 Message Date
OpenDev Sysadmins 7825d4d495 OpenDev Migration Patch
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.
2019-04-19 19:51:13 +00:00
OpenStack Proposal Bot c974a87a39 Updated from global requirements
Change-Id: I170fa41529f409fe399dec5a4bb9bdf3a86ec4c4
2017-02-20 22:27:45 +00:00
Dimitri Mazmanov 76eb4bb758 New default branch
Ocata
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>

Change-Id: I358c0d320fe65e25132c9392779be6d61fb3995f
2017-02-20 10:30:42 +01:00
Goutham Pratapa 2f161b0ae6 Change display output while listing sync_jobs
Currently while listing the sync_jobs.Kingbird doesnt display
the parameter (created_at) and source_region in the job_details.

Change-Id: I4814f8039dfc080dc340a15c94d0292e57604e1b
2017-02-17 17:15:50 +05:30
joehuang 955c5a7933 Update installation guide and usage guide
Currently the oslo.messaging has update its configuration to use
transport_url for message bus configuration, and openstack endpoint
creation aslo has new strutucture, need to update the installation
guide to make it work in new release.

python-kingbirdclient was introduced, so the usage
guide is updated to use python-kingbirdclient. The new feature
key pair synchronization is also included in the usage guide.

Change-Id: I725da3a8dbb83109130473d9bc86381303d2c174
Signed-off-by: joehuang <joehuang@huawei.com>
2017-02-16 10:00:30 +00:00
OpenStack Proposal Bot c305c058f2 Updated from global requirements
Change-Id: Id90154a7a63ebb59af591d04a6a3d1af5581e0ce
2017-02-13 15:12:58 +00:00
Goutham Pratapa acf83a3df8 Tempest testcases to support new bug fixes
Kingbird has two bug fixes 1652747,1654569 cause tempest failures,
This commit provides fix for the same.

Depends-on: I6fd74f63cde69c8a21d3e347cea206fc629e7c36

Change-Id: I7ea8a4f14b68f4f9d0a81379d9207063811e3ce6
2017-02-13 11:13:11 +00:00
Jenkins 5fec5dd49d Merge "Tempest testcases for Keypair_sync" 2017-02-13 11:12:43 +00:00
Goutham Pratapa f399336e28 Tempest testcases for Keypair_sync
Added Tempest testcases for Kingbird keypair_sync.
Added resource_management directory to Kingbird tempest
which contains tempest testcases for keypair_sync.

Change-Id: I6fd74f63cde69c8a21d3e347cea206fc629e7c36
2017-02-13 09:59:36 +05:30
OpenStack Proposal Bot 1779bc76f5 Updated from global requirements
Change-Id: I80c60f0bd1d0b2d5cd0b52a5f2bf79f4936312bb
2017-02-11 17:43:27 +00:00
Goutham Pratapa b4433b60c7 Implement Keypair sync for Kingbird
Keypair_sync syncs multiple keypairs from one region to another region.
Add test-case for the same.

Partially Depends on: Iba1c789715aa7c7d00a7a2ec23a449c72a757ac1

closes-Bug: 1640162

Change-Id: I42ed749f8e2c91740249735d32ef8494e50f17f8
2017-02-10 10:13:58 +05:30
ubuntu ac58c2a3e4 Migration_Scripts for Resource_sync.
Create two tables sync_job and resource_sync.
Sync_job contains job details of which id is the primary-key.
id is taken as a foreign-key and is also a part of composite primary key
along with Resource,Region off the resource_sync table.
Also created the api-calls with which interaction between the
application and the database occurs.
Added Test_cases for the same.

Change-Id: Iba1c789715aa7c7d00a7a2ec23a449c72a757ac1
2017-02-09 12:33:56 +05:30
OpenStack Proposal Bot d3cf6a46eb Updated from global requirements
Change-Id: I927b17c327145e0b7662cb49f72d942b7731dd69
2017-01-24 19:52:34 +00:00
Jenkins 4e3c6a7ea5 Merge "Restrict & validate KB-tenants to view own quotas" 2017-01-23 11:04:09 +00:00
OpenStack Proposal Bot 5836a94a54 Updated from global requirements
Change-Id: I42f45beaa1960831697e9609485e238b4e475acb
2017-01-21 14:55:37 +00:00
Goutham Pratapa ef2c5de3a8 Restrict & validate KB-tenants to view own quotas
Currently Non-admin tenants can view quota of other tenants.
With this change we can restrict such actions by throwing exception
"Admin required". Added test_cases for the same.

Currently there is no validation for the url in the Curl Request.
With this change we can validate the URL and restrict such actions.
Added test_cases and made compatible for tempest.

closes-bug: 1652747
closes-bug: 1654569

Change-Id: Ia27801e61004b1aef6397db8f6bfa183761949a4
2017-01-18 16:01:22 +05:30
OpenStack Proposal Bot 3f2d1f2c0e Updated from global requirements
Change-Id: Ifc56d564a72a3831f6b1a7413e641e181cb9978f
2017-01-12 09:37:08 +00:00
Jenkins 7354fdebf2 Merge "Add Constraints support" 2016-12-28 07:35:47 +00:00
OpenStack Proposal Bot f07588d470 Updated from global requirements
Change-Id: Id0c8ba630899b390f38a60fb3ca53f40a714ce4e
2016-12-22 19:02:40 +00:00
Tony Breeds 515a84fcc7 Add Constraints support
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I71b8abd0e7caaca2e0403ef2bfa1cfa15d434448
2016-12-21 11:28:06 +11:00
OpenStack Proposal Bot eb44e6622c Updated from global requirements
Change-Id: I1464528f4e6579395ae5647e65ba759e5f698358
2016-12-02 17:10:55 +00:00
OpenStack Proposal Bot a23e7ec65c Updated from global requirements
Change-Id: Ied364ae1f197620818541455556c7bdc2d99aa5d
2016-12-02 05:06:10 +00:00
Cady_Chen 443f869b75 Typo fixing
Change-Id: I881661077919ba67dee9d445541c58eb1682efa4
2016-11-17 09:09:05 +08:00
OpenStack Proposal Bot 45de9377fe Updated from global requirements
Change-Id: I737474b71f0ff5b744b388cae0c44b8ec6f7e604
2016-11-16 22:09:23 +00:00
OpenStack Proposal Bot 51414e4159 Updated from global requirements
Change-Id: I02efc343502653252f80cf110b8f0f8ddf10bb8f
2016-11-10 10:15:45 +00:00
Jenkins 8543968baf Merge "List enabled users" 2016-11-10 06:02:30 +00:00
Goutham Pratapa 8277d173ae List enabled users
We need enabled users to perform sync job for user specific
resources such as keypairs.

Extended current OpenStack, Keystone drivers to return the users.
Added UTs for the same.
Modified UTs for listing enabled projects.

Change-Id: I0a439d4a95afc0e7960b2255ac1779eb683d041e
2016-11-09 18:25:28 +05:30
OpenStack Proposal Bot 4518d8d0fb Updated from global requirements
Change-Id: Ida74cc391efade3ed1e8855dc0778dbfb4abfa16
2016-11-06 01:59:51 +00:00
OpenStack Proposal Bot e716a7cde6 Updated from global requirements
Change-Id: I4befb2db59c84598e5ce77e5acecc44d86c2daeb
2016-10-27 12:15:05 +00:00
OpenStack Proposal Bot f5774c8a25 Updated from global requirements
Change-Id: I3abde5a076052692c20f63705e95545de410cbea
2016-10-22 01:20:13 +00:00
OpenStack Proposal Bot 7ae79135e3 Updated from global requirements
Change-Id: Iff5026ab4eab694f6197fdfb32745576d47cd6f6
2016-10-19 04:23:33 +00:00
OpenStack Proposal Bot b5b0b33469 Updated from global requirements
Change-Id: If2649ecb39d8fef3d17b945af987b77996c15076
2016-10-12 22:47:23 +00:00
Jenkins 7da686acbd Merge "Clean imports in code" 2016-10-12 13:04:52 +00:00
Jenkins ab4b7635b3 Merge "TrivialFix: Merge imports in code" 2016-10-12 13:04:46 +00:00
Jenkins 21240edc3c Merge "TrivialFix: Remove cfg import unused" 2016-10-12 13:03:08 +00:00
OpenStack Proposal Bot eff2144acf Updated from global requirements
Change-Id: I1a9e6ccda74d8b01bb117b98fb20e9b99164ad50
2016-10-06 16:56:01 +00:00
OpenStack Proposal Bot 5344130cd0 Updated from global requirements
Change-Id: Ib32081a5bc5d76a018c5ae28a56d6e0e9d5058c5
2016-10-02 20:29:05 +00:00
OpenStack Proposal Bot 9cbb8c109c Updated from global requirements
Change-Id: If1779a6b578545402fd15bd3cf4f5d4386fc8d83
2016-09-29 13:28:22 +00:00
Jenkins fd0b7f4e8c Merge "Fix the token expiration error" 2016-09-29 11:08:19 +00:00
Alex Yang 9f39b5532c Fix the token expiration error
1. If token expired, keystone.tokens.validate would receive a 401 code and raise an Unauthorized exception.
2. Make sure the token dose not expire soon.

Change-Id: Id88d5319b58ca12ab40d482499c2c428f17ce5e4
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2016-09-28 16:58:42 +08:00
OpenStack Proposal Bot 31536ef635 Updated from global requirements
Change-Id: I0beeebb6282d4e14eea594132f44cf1b0db0ca62
2016-09-27 16:56:54 +00:00
OpenStack Proposal Bot 7b91b1c944 Updated from global requirements
Change-Id: If5c2acc2134a265224e22575b569254d1d7c33d4
2016-09-15 20:20:04 +00:00
Nguyen Hung Phuong 6cf984c49f Clean imports in code
In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I16375787fd1216c8ac26cbbb9dd0a433b839f76a
2016-09-12 16:42:18 +07:00
Nguyen Hung Phuong becf87db8b TrivialFix: Merge imports in code
This patch merges all lines importing i18n into 1 line:

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I17113531b3c113990707015a3a2b10ff3018f633
2016-09-12 16:00:56 +07:00
Nguyen Hung Phuong bfac76c78c TrivialFix: Remove cfg import unused
This patch removes cfg import unused in

kingbird/db/sqlalchemy/api.py
kingbird/db/sqlalchemy/models.py
kingbird/engine/kingbird_lock.py

Change-Id: I779f60cd0e7b2a4d85c1a344544279fe4fe646ac
2016-09-12 15:56:21 +07:00
Jenkins 1bc48e99d7 Merge "Updated from global requirements" 2016-09-10 23:37:11 +00:00
OpenStack Proposal Bot 5170dbf2ad Updated from global requirements
Change-Id: Iee9e5f1a466b7a0ee98d9221d7d533a817bd8467
2016-09-09 16:05:09 +00:00
Ashish Singh b9bab591c0 Fix bug: Missing "usage" key in testcase
Change-Id: I3686cb8496b72767316a9e6bc0a782ad960c5462
Closes-Bug: #1621829
2016-09-09 16:35:03 +05:30
Jenkins c52507cf95 Merge "Fix quota get for non admin role user" 2016-09-08 07:43:25 +00:00
Ashish Singh f76d39eead Fix quota get for non admin role user
There were minor issues with context object
manipulation which was raising exception during
db access with non admin role users, fixed it.

Change-Id: I8bf2b272b6feefc989a390e7b7869dbb58386534
Closes-Bug: #1610610
2016-08-30 09:59:49 +00:00