This will replace all the deprecated commands present in the
install_kingbird script with new commands.
Change-Id: Ia05f6f1cd0a46bdeab99c77ae5ef9efd25349362
Those are remnants from the oslo-incubator times. Also, oslo.messaging
deprecated [1] transport aliases since 5.2.0+ that is the minimal
version supported for stable/newton. The patch that bumped the minimal
version for Designate landed 3 months+ ago, so we can proceed ripping
those aliases from the code base.
[1] I314cefa5fb1803fa7e21e3e34300e5ced31bba89
Change-Id: I46142df6ecae24eb4e7b6892b946ef131ae66bc7
Closes-Bug: #1424728
This commit is to fix the failing py27 and py35.
The issue is it raised webtest.api error and keyerror is
asserted until now.
Change-Id: Ie4f30b8204bfd039f81a49b57b11836fa8200017
The parameters “admin_user_domain_name” and
“admin_project_domain_name” are added to
establish a Keystone session in Kingbird with
Devstack Queens release.
Change-Id: I6953cbc5e76e21e274bfd8a652b91dd8f6441104
The sync template feature in kingbird is to sync multiple
resource types to multiple regions.We can sync the same
resource_type more than once and in any order.
Added test-cases and tempest test-cases for the same.
Closes-Bug: #1748172
Change-Id: I01fd628ef8ed34363facc21c39e66908c4f383ac
The tempest test-cases for "resource management" are provided to
check the actual scenario of sync operation.
Added tempest test-cases for “flavor sync” and “Sync template” features.
The tempest test-cases for "quota management" are changed
due to the bug raised in “quota show” feature.
Depends-On: <I3ef8d8e707d586b25f286a61b723a1bd067191bc>
Change-Id: I1c1825eb52ebdaa00e1e61bb5468a9cb8561f0fb
"Sync template" feature is introduced in kingbird to
sync multiple resource_types to multiple regions
at a single request.
This feature is changed based on the
Commit ID : 69223a78f9.
Depends-On: <I4aa422546a2949438328c8fe47e89f3079e2eb65>
Change-Id: I3ef8d8e707d586b25f286a61b723a1bd067191bc
Currently in Kingbird there is no id for each resource which is being synced
into multiple regions. But with the help of this resource_sync_id user can
keep a track of all the resource which are binded to a given sync job.
Remaining changes are to enhance kingbird.
Added Test cases for the same.
Change-Id: I4aa422546a2949438328c8fe47e89f3079e2eb65
In tempest test-case "test_keypair_sync_with_force_true" the
main intention is to test resource_sync with force TRUE which will
evetually delete the existing resources and then recreate if
the resources are already present.
Closes-Bug: #1743690
Change-Id: I422b03be34755adcf96a922bbbb79e070ab291da
We had a provision to sync the flavor from one region
to other regions.
This commit is to sync the flavor with “ephemeral”
property from the source region to target regions
in kingbird.
Change-Id: I16e4e88956696c33b77593b4902d558ca22f1fe2
Quota show feature will display the updated quota values.
This feature is enhanced by displaying the default quota
values as well as updated values as in.
The size of the resource column in database is increased
for better usage.
Change-Id: I814bd45a634342104c190f4437cae265ea3bb0f1
Closes-Bug:1740823
Closes-Bug:1742906
"Sync show":
Existing "sync show" feature displays the details
of only one job-identifier but when "Sync template"
feature comes into picture,there will be multiple
job-identifiers present for a single job request.
This commit is to display the details of multiple job-identifiers.
"Sync list":
Interface of "Sync list" feature is changed for better understanding.
Added test-cases for the same.
Depends-On: <Iaa8e9568f97581f74e688d15a11c7e7fd832e019>
Change-Id: Id85a51f5c13ba1b3c90b75c6820da5d1e443c398
This commit from kingbird server is to enhance the existing "sync create" job.
Existing feature "sync create" is to sync single resource-type
to single target region i.e one resource off one resource-type
to one region.
Issue with "sync create":
Kingbird cannot sync more than one resource-type to multiple
target regions in a single request.
This issue is solved by "sync template" feature.
Working of sync template feature:
User have to provide a input file with .yaml or .yml or .json extension.
This input file should consists of
->resource-type
->resources
->source_region
->target_region.
Change-Id: Iaa8e9568f97581f74e688d15a11c7e7fd832e019
Flavor Synchronization sync multiple flavors from one region to
multiple target regions.
Only admin can perform flavor-sync.Currently, when a user requests to
sync a flavor kingbird syncs extra specs of the source resource.
Added Test-cases for the same.
Implements:blueprint resource-syncing
Change-Id: Id289cf93bb9c30ea699223e232025285a29042de
Initial commit for flavor synchronization.
Performs some basic validations like
-Check whether the flavor is present in source-region.
-Check whether the access to sync flavor is restricted only to admin.
-Added test-cases for the same.
Partially Implements: resource-syncing
Change-Id: Ieca068aec981b0db6ffc4f4d563b021342c58d60
In Kingbird there are few api calls which are deprecated in
Pike release.This Fix is to address this issue.
Closes-bug: #1712036
Change-Id: I605e3fabe8063999457bb67545029e83a33fee0c
Image-synchronization syncs multiple images from one region to
multiple target regions.
Currently the supported image disk_formats are Qcow2 and AMI.
If user triggers a request to sync AMI format image then Kingbird
syncs the dependent AKI and ARI images as well.
-Syncs the respective image's image-metadata as well.
-Verification of Dependent images is handled by glance_adapter.
-Modified sync_manager to keypair_sync_manager and made it an
independent entity.
-Created an independent Image Sync-manager which syncs images in
multiple target regions.
Added Test-cases for the same.
Depends-on: I316ff7e79afb0ea092eec2a4bf32a78c609198ab
Implements: blueprint image-synchronization
Change-Id: If207f803b67b5f5702117d377883b57101802c42
create glance_v2 with api-version 2.
Change keystone_V3.py to return service endpoints.
Added test-cases for the same.
Depends-on: I1f34d54f72e115bb40a146bb733672c649602ef4
Partially Implements: blueprint Images synchronization
Change-Id: I022bd5b972aca159b4a8f6f88d201afa5c21ab8e
Currently, in Kingbird if a non-admin user sends a request to
sync keypairs from one region to other, the resources are
created with the nova client formed, using the admin credentials.
This commit fixes the internal issues and
creates keypairs for the same user based on the context object.
-Used Keystoneauth1 instead of keystoneclient
-Used loading to get session in order to communicate with other
openstack drivers in kingbird.
Modified test-cases for the same.
Closes-Bug: #1692012
Change-Id: I66fbf4ab207a6615f8070d3a22ea7561e608dcd9
Kingbird context object does not contain parameter 'roles'.
parameter 'roles' is essential as when kingbird communicates with other
openstack services through auth token.
Change-Id: I1f34d54f72e115bb40a146bb733672c649602ef4
Enable tempest test cases for quota management and resourece
management as example
Change-Id: I9f5f0be8cbef26a51d035e5829e225fe1cce2f7a
Signed-off-by: joehuang <joehuang@huawei.com>
Currently, Kingbird does not display the default limits
for a random class which is not an expected behavior.
This fix displays default resources and default limits
for any quota-class of kingbird.
Closes-Bug: #1684082
Change-Id: I1b8e3f1db79fd92531e05807547fcf7310be78f2