Deploy task has inconsistent progress value

Bug #1623937 reported by Dmitry Kalashnik
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Vladimir Sharshov
Mitaka
Fix Released
Critical
Vladimir Sharshov
Newton
Fix Committed
High
Vladimir Sharshov

Bug Description

Scenario:
        1. Create cluster in Ha mode with 1 controller
        2. Add 1 node with controller role
        3. Add 1 node with compute role
        4. Add 1 node with cinder role
        5. Verify network
        6. Provision nodes
        7. Make a test file on every node
        8. Deploy nodes <- issue here
        9. Stop deployment
        10. Verify nodes are not reset to bootstrap image
        11. Re-deploy cluster
        12. Verify network
        13. Run OSTF

Description:
During the run test is waiting for more than 30% value for deploy task progress. But it was not happend. During manual deploy progress had next values:
from 0 to 29 - provisioning, normal behaviour
29% - stable value during almost whole deployment
29% to 7x% (for a several seconds) to 100% - at the end

Expected behaviour:
Consistent task progress

Blocked cases: 4

https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.bvt_ubuntu_bootstrap/62/testReport/(root)/deploy_stop_on_deploying_ubuntu_bootstrap/

Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :
Changed in fuel:
milestone: none → 9.1
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

We have some new feature which still does not on, which should transform provisioning to graph. Let's check this behavior after it.

Also, during logs, i found problem with progress only in provisioning stage. Are you sure about problem in deploy stage? Please clarify this moment. Thanks!

Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Promoted to Critical, because test worked on snapshot #251, so it is a regression.

Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
importance: Undecided → Critical
description: updated
description: updated
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Vladimir Sharshov (vsharshov)
Changed in fuel:
status: Confirmed → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-astute (master)

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (stable/mitaka)

Reviewed: https://review.openstack.org/372538
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=3f21d35f354f4834f15f191ad11a29b9d52f93cc
Submitter: Jenkins
Branch: stable/mitaka

commit 3f21d35f354f4834f15f191ad11a29b9d52f93cc
Author: Vladimir Sharshov (warpc) <email address hidden>
Date: Mon Sep 19 15:04:08 2016 +0300

    Support global progress for tasks

    Calculate progress for cluster using simple formula

        100 * all_tasks_finished / all_tasks_total

    It will works with custom graph too.

    Change-Id: Iaea07ec19d80d5f344c8ecf434f771da7a608157
    Closes-Bug: #1623937

tags: added: in-stable-mitaka
Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Tatyana Kuterina (tkuterina) wrote :

Verified on 9.1 snapshot #287

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
no longer affects: fuel/future
tags: removed: swarm-blocker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (master)

Reviewed: https://review.openstack.org/372437
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=11ec66899ec09319b31ca21df43a4f0ac3e07c97
Submitter: Jenkins
Branch: master

commit 11ec66899ec09319b31ca21df43a4f0ac3e07c97
Author: Vladimir Sharshov (warpc) <email address hidden>
Date: Mon Sep 19 15:04:08 2016 +0300

    Support global progress for tasks

    Calculate progress for cluster using simple formula

        100 * all_tasks_finished / all_tasks_total

    It will works with custom graph too.

    Change-Id: Iaea07ec19d80d5f344c8ecf434f771da7a608157
    Closes-Bug: #1623937

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-astute 10.0.0rc1

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

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

This issue was fixed in the openstack/fuel-astute 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.