If there is no nodes for deletion graph, all nodes are removed from cluster

Bug #1622650 reported by Bulat Gaifullin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Bulat Gaifullin

Bug Description

Upload deletion graph 'fuel2 graph upload -d /etc/fuel/graphs/deletion -t deletion'
starts deletion graph on deployed cluster: 'fuel2 graph execute -e {env_id} -t deletion'

expected result:
no changes
actual result:
all nodes are removed from cluster

Changed in fuel:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/369258

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

Reviewed: https://review.openstack.org/368926
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=78ec533ecf4ab9e7d304b5580fd78b6782a6925f
Submitter: Jenkins
Branch: master

commit 78ec533ecf4ab9e7d304b5580fd78b6782a6925f
Author: Bulat Gaifullin <email address hidden>
Date: Mon Sep 12 18:29:49 2016 +0300

    Nodes filter applied even yaql exp returns empty list

    If yaql expression returned empty list the nodes_fillter
    was not applied and graph was executed on all nodes from cluster.

    Change-Id: I3bc70fa04453e051e31ff31949fd51e1ca5fa896
    Closes-Bug: 1622650

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

Reviewed: https://review.openstack.org/369258
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=79a4d14551ee3d2e163a6a3e716cdc9fd4b8b201
Submitter: Jenkins
Branch: stable/mitaka

commit 79a4d14551ee3d2e163a6a3e716cdc9fd4b8b201
Author: Bulat Gaifullin <email address hidden>
Date: Mon Sep 12 18:29:49 2016 +0300

    Nodes filter applied even yaql exp returns empty list

    If yaql expression returned empty list the nodes_fillter
    was not applied and graph was executed on all nodes from cluster.

    Change-Id: I3bc70fa04453e051e31ff31949fd51e1ca5fa896
    Closes-Bug: 1622650

tags: added: in-stable-mitaka
tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

verified on 9.1 snapshot #263

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0rc1

This issue was fixed in the openstack/fuel-web 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0

This issue was fixed in the openstack/fuel-web 10.0.0 release.

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.