Nailgun tests fail time-to-time due to deployment error: task.progress 64 != 100

Bug #1455064 reported by Ihor Kalnytskyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Ihor Kalnytskyi

Bug Description

Sometimes our tests fail, because we execute node_deletion task (which is a part of deploy supertask) before adding and committing provision and deployment tasks. That lead to the situation when receiver updates parent task and set it to 'ready', because all subtasks are ready (and we don't have provision/deployment tasks committed yet).

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

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
milestone: 7.0 → 6.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/183018
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=4cd549c3721a23ff99a337063f82d0726e3d6584
Submitter: Jenkins
Branch: master

commit 4cd549c3721a23ff99a337063f82d0726e3d6584
Author: Igor Kalnitsky <email address hidden>
Date: Thu May 14 12:59:16 2015 +0300

    Send node_deletion task within other subtasks

    We have to execute node deletion task only when provision, deployment
    and other tasks are in the database. Otherwise, it may be executed
    too quickly (e.g. our tests) and this will affect parent task calculation:
    it will be marked as 'ready' because by that time it have only two
    subtasks - network_check and node_deletion - and they're ready.

    As a fix, we could send task to execution when all others tasks are
    in the database.

    Closes-Bug: #1455064

    Change-Id: I78c45959f9253ee73460259458c46c71f78434dd
    Signed-off-by: Igor Kalnitsky <email address hidden>

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