[fuel-qa] cli_cluster_deletion test failed because of --force flag needed

Bug #1562028 reported by Sergey Kulanov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Sergey Kulanov

Bug Description

 cli_cluster_deletion test case failed, because we need to add --force flag for `fuel env delete` command:

How reproduce:

<<<<<##############################[ cli_cluster_deletion ]##############################>>>>>
Delete a cluster using Fuel CLI

        Scenario:
            1. Revert snapshot 'cli_selected_nodes_deploy'
            2. Delete cluster via cli
            3. Check cluster absence in the list

        Duration 25m

The same command:
[root@nailgun ~]# fuel --env 1 env delete
Deleting an operationalenvironment is a dangerous operation. Please use --force to bypass this message.

so we need to update command in test:

            cmd='fuel --env {0} env delete --force'.format(cluster_id)

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

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

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

Reviewed: https://review.openstack.org/297716
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=e09c2ccad2d94a3647f63d02cd162490393a0907
Submitter: Jenkins
Branch: master

commit e09c2ccad2d94a3647f63d02cd162490393a0907
Author: Sergey Kulanov <email address hidden>
Date: Fri Mar 25 16:58:12 2016 +0200

    [command_line] Ensure operation cluster deleted

    To delete operational cluster with fuel-client one must use
    --force flag:
         fuel --env ID env delete --force

    Change-Id: I76887c24b0f5d8ea8508a59bc726207eb6ba138a
    Closes-bug: #1562028

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/298207

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/298207
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=1c2a1b41c58457c8aae5de2ea82dd5bd725364ed
Submitter: Jenkins
Branch: master

commit 1c2a1b41c58457c8aae5de2ea82dd5bd725364ed
Author: Tatyana Leontovich <email address hidden>
Date: Mon Mar 28 14:27:20 2016 +0300

    Add --force usage in cli-gate test

    Add --force flag for claster deletion in cli gate test

    Change-Id: I7b8c527d17517b48cae34da9fb22bdf984fdaa8e
    Related-Bug: #1562028

Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Changed in fuel:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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