Cleanup process for keypairs is not working in tempest.

Bug #1743690 reported by Mounika Sreeram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
Fix Released
Medium
Goutham Pratapa

Bug Description

Hi Team,

Whenever we sync the keypair with force option then sync operation is performed by deleting keypair if already existed and creates the same keypair again in target regions.

Refer to the link:
https://github.com/openstack/kingbird/blob/master/kingbird/tests/tempest/scenario/resource_management/sync_tests/test_keypair_sync_api.py#L143

Here, the different keypairs are creating in target regions because the existing keypairs are not passed as argument to the function. So the cleanup process is not working properly.

Changed in kingbird:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Goutham Pratapa (pratapagoutham)
Changed in kingbird:
milestone: none → queens-1
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/534642

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

Reviewed: https://review.openstack.org/534642
Committed: https://git.openstack.org/cgit/openstack/kingbird/commit/?id=01c31c45aa9663e067a97c22092a21cf484d8968
Submitter: Zuul
Branch: master

commit 01c31c45aa9663e067a97c22092a21cf484d8968
Author: Goutham Pratapa <email address hidden>
Date: Wed Jan 17 12:06:58 2018 +0530

    Cleanup resources created in keypair tempest tests

    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

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.