Sync template feature is not working properly.

Bug #1748172 reported by Mounika Sreeram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
Fix Released
Undecided
Mounika Sreeram

Bug Description

Hi Team,

The sync template feature in kingbird is to sync multiple resource_types to multiple regions.
If we want to sync any particular resource_type more than once then the sync process is not working properly.

Example of input_file.json is:

{
  "Sync": [
    {
      "resource_type": "keypair",
      "resources": ["demo_keypair", "demo_keypair1"],
      "force": "True",
      "source":["RegionOne"],
      "target":["RegionTwo"]
    },
    {
      "resource_type": "flavor",
      "resources": ["demo_flavor", "demo_flavor1"],
      "force": "True",
      "source":["RegionOne"],
      "target":["RegionTwo"]
    },
    {
      "resource_type": "keypair",
      "force":"True",
      "resources": [
        "sample"
      ],
      "source":["RegionOne"],
      "target":["RegionTwo"]
    }
  ]
}

Then the sync process for the keypair “sample” is not working properly.

Changed in kingbird:
assignee: nobody → Mounika Sreeram (mounika1211)
status: New → In Progress
status: In Progress → New
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kingbird (master)

Fix proposed to branch: master
Review: https://review.openstack.org/542148

Changed in kingbird:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kingbird (master)

Reviewed: https://review.openstack.org/542148
Committed: https://git.openstack.org/cgit/openstack/kingbird/commit/?id=679da316cb50b83e2653da2517c5e0ae1df36953
Submitter: Zuul
Branch: master

commit 679da316cb50b83e2653da2517c5e0ae1df36953
Author: mounikasreeram <email address hidden>
Date: Thu Feb 8 17:32:28 2018 +0530

    Enhancing Sync template feature.

    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

Changed in kingbird:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.