[OSTF] Security group created for murano is not cleaned up after tests

Bug #1263905 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Tatyanka

Bug Description

Steps to Reproduce:
1. Deploy environment with Murano enabled (neutron + vlan)
2. Export Muranot images and mark them appropriate tags
3. Execute several times OSTF tests
4. During platfrom tests execution stop test running(clean up invoked in this case)

Actual result:
murano security group created with name :
 ea07561b23d184cdf965316f2b7e8414b-MuranoSecurityGroup-ost1_test-Murano_env01-yfzcivwwoko6

at the same time clean up search for names begins from ost1_test - so this security group does not match for pattern and do not deleted

Expected Result:
all created object after tests should be cleaned. Clean up should delete all objects

Tags: murano ostf
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Timur Nurlygayanov (tnurlygayanov)
milestone: none → 4.1
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

This is bug in Murano, because Murano should delete it with Heat stack. Need to check it in Murano and fix.

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Do we plan to fix this today? Otherwise please move to 5.0, and clean up assignee.

Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 4.1 → 5.0
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

reproduced on 214 iso

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

environment created by Murano was not deleted too

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

cleanup for platform tests are broken by heat
(cleanup) Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/cleanup.py", line 103, in cleanup
    murano_client.stacks.delete(e.id)
AttributeError: 'Client' object has no attribute 'stacks'

Changed in fuel:
assignee: Timur Nurlygayanov (tnurlygayanov) → Tatyana (tatyana-leontovich)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/76883

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/76882
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=8895cf34cd70def0f99bb50544dd10a1b5fc641d
Submitter: Jenkins
Branch: master

commit 8895cf34cd70def0f99bb50544dd10a1b5fc641d
Author: TatyanaLeontovich <email address hidden>
Date: Thu Feb 27 17:04:37 2014 +0200

    Fix murano data deletion in cleanup

    Fix murano environment deletion
    in clean up

    Change-Id: I1413f52207ed035a0c8775023d2321e091c1697a
    Closes-Bug: #1263905

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (stable/4.1)

Reviewed: https://review.openstack.org/76883
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=ceb3ea8c2c0da27306b30b9936f27dbc5044d2c6
Submitter: Jenkins
Branch: stable/4.1

commit ceb3ea8c2c0da27306b30b9936f27dbc5044d2c6
Author: TatyanaLeontovich <email address hidden>
Date: Thu Feb 27 17:04:37 2014 +0200

    Fix murano data deletion in cleanup

    Fix murano environment deletion
    in clean up for stable/4.1

    Change-Id: I1413f52207ed035a0c8775023d2321e091c1697a
    Closes-Bug: #1263905

Revision history for this message
Tatyanka (tatyana-leontovich) wrote : Re: [OSTF] Security group for muranot created with name ea07561b23d184cdf965316f2b7e8414b-MuranoSecurityGroup-ost1_test-Murano_env01-yfzcivwwoko6 and do not deleted

verify on 235

Changed in fuel:
status: Fix Committed → Fix Released
Andrew Woodward (xarses)
summary: - [OSTF] Security group for muranot created with name
- ea07561b23d184cdf965316f2b7e8414b-MuranoSecurityGroup-ost1_test-
- Murano_env01-yfzcivwwoko6 and do not deleted
+ [OSTF] Security group created for murano is not cleaned up after tests
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.