trovestack isn't deleting security groups

Bug #1638884 reported by Doug Shelley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Doug Shelley

Bug Description

The trovestack script (trove/integration/scripts) has a "clean" mode which is supposed to delete all objects created by running various trovestack operations (i.e. int-tests). If security groups are left around due to failed instance deletes etc, the script will detect the security groups but fails to delete them.

I believe this issue is related to this code (around line 1204):
    # make sure that security groups are also gone, except the default
    exec_cmd_on_output "openstack security group list" "nova security group delete" 0 "default"

"nova security group delete" is an invalid command; this should be "openstack security group delete".

Doug Shelley (0-doug)
Changed in trove:
assignee: nobody → Doug Shelley (0-doug)
milestone: none → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

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

Reviewed: https://review.openstack.org/393233
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=af0d2bdfa9c232f2dec3e30e7bed7269ff118e96
Submitter: Jenkins
Branch: master

commit af0d2bdfa9c232f2dec3e30e7bed7269ff118e96
Author: Doug Shelley <email address hidden>
Date: Thu Nov 3 10:53:29 2016 +0000

    trovestack clean doesn't delete secgroups

    The command used to delete security groups is invalid. Changed
    "nova security group delete" to "openstack security group delete"

    Change-Id: If10577250e8db6fdcb89c959ca3a9e137c132cd3
    Closes-bug: 1638884

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 7.0.0.0b1

This issue was fixed in the openstack/trove 7.0.0.0b1 development milestone.

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.