Test data isn't deleted after stopping OSTF test "Savanna tests to create, list, start, checks and delete cluster"

Bug #1264116 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Anastasiia Naboikina

Bug Description

ISO #202
"build_id": "2013-12-25_01-01-41",
"ostf_sha": "a27665008e961b773861b95969acf61d25f0f977",
"build_number": "202",
"nailgun_sha": "d4aecc4f1b60d66021bac195800952fb94cbc627",
"fuelmain_sha": "15f575db2d35e3374a217e29a38091152801cfe5",
"astute_sha": "9000b12aa0f3639bd4a18efeb82ef554fdbde9c0",
"release": "4.0",
"fuellib_sha": "cc0301c5f0399e7567230d5cf261f0796005d91c"

1. Create new environment (Ubuntu, simple)
2. Choose Ceph volumes and installing Savanna
3. Add controller, compute and 2 ceph
4. Choose VLAN Manager in network settings. Choose 2 networs with size 128
5. Start deployment. It was successful
6. Start Platform Services Funcional tests.
7. Stop tests during test "Savanna tests to create, list, start, checks and delete cluster"
8. Login into Horizon
9. Test data (cluster, cluster templates, node group templates) doesn't deleted (see screens)

Tags: heat ostf
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Sergey Galkin (sgalkin)
Changed in fuel:
assignee: nobody → Sergey Galkin (sgalkin)
summary: - Test data doesn't deleted after stopping OSTF test "Savanna tests to
+ Test data isn't deleted after stopping OSTF test "Savanna tests to
create, list, start, checks and delete cluster"
tags: added: ostf
tags: added: heat
Revision history for this message
Sergey Galkin (sgalkin) wrote :

Additional info:

The same issue with Heat platform tests. After Stop tests the instance 'ost1_test-570100963-UpdatedInstance-tjlceafz4p5n' is not deleted.

Workaround:
1. Run functional tests.
2. Stop functional tests
All savanna and heat related object is deleted.

Looks like cleanup(cluster_deployment_info) from cleanup.py working only if Functional tests selected.

Sergey Galkin (sgalkin)
Changed in fuel:
assignee: Sergey Galkin (sgalkin) → nobody
Changed in fuel:
milestone: 4.0 → 4.1
Changed in fuel:
assignee: nobody → Tatyana (tatyana-leontovich)
Changed in fuel:
assignee: Tatyana (tatyana-leontovich) → Anastasiia Naboikina (anaboikina)
Changed in fuel:
status: New → Confirmed
status: Confirmed → In Progress
Changed in fuel:
assignee: Anastasiia Naboikina (anaboikina) → Artem Roma (aroma-x)
Revision history for this message
Artem Roma (aroma-x) wrote :

There is missing data in __profile__ attribute of platform tests module - <cleanup_path> element that provides path to code which is performing cleanup thus no cleaning actions at all were performed for platform tests.

Changed in fuel:
assignee: Artem Roma (aroma-x) → nobody
Revision history for this message
Artem Roma (aroma-x) wrote :

There is missing data in __profile__ attribute for platform tests - 'cleanup_path', thus no cleaning actions at all were performed for mentioned test set.

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/65049

Changed in fuel:
assignee: nobody → Anastasiia Naboikina (anaboikina)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/65049
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=05b1bfc92fa40728966518992c94176030c25f35
Submitter: Jenkins
Branch: master

commit 05b1bfc92fa40728966518992c94176030c25f35
Author: AnastasiiaNaboikina <email address hidden>
Date: Mon Jan 6 11:15:34 2014 +0200

    Fix for cleanup after platform tests

    Added path to cleanup file to __init__.py of
    platform_tests package.

    Change-Id: I637026a105b09b8d492991161cbb8c18d13b951f
    Closes-bug: #1264116

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified on 73 iso

Changed in fuel:
status: Fix Committed → 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.