[swarm] Nodes are offline after redeploy

Bug #1643817 reported by Dmitry Belyaninov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Belyaninov
Nominated for Ocata by Dmitry Belyaninov
Newton
Fix Released
High
Dmitry Belyaninov

Bug Description

Detailed bug description:
There is failed swarm test:
https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.unlock_settings_tab_states/131/testReport/(root)/unlock_settings_tab_positive/

AssertionError: Task 'deploy' has incorrect status. error != ready, 'Nodes "slave-04_compute (id=4, mac=64:9c:58:ca:de:d5),slave-02_controller (id=3, mac=64:ee:99:83:0b:9b),slave-01_controller (id=1, mac=64:09:e9:32:b2:91),slave-05_compute (id=5, mac=64:db:38:8b:ab:3b),slave-03_controller (id=2, mac=64:f3:3e:a7:68:e4)" are offline. Remove them from environment and try again.'

Steps to reproduce:
run the unlock_settings_tab_positive fuel-qa test
Expected results:
pass
Actual result:
fail
Reproducibility:
yes
Workaround:

Impact:
 <put your information here>
Description of the environment:
 Operation system: <put your information here>
 Versions of components: <put your information here>
 Reference architecture: <put your information here>
 Network model: <put your information here>
 Related projects installed: <put your information here>
Additional information:
 <put your information here>

Changed in fuel:
importance: Undecided → High
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 9.2
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

CI team, can you check what have happened?

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fuel CI (fuel-ci)
tags: added: area-ci
Changed in fuel:
status: New → Confirmed
Revision history for this message
ElenaRossokhina (esolomina) wrote :
Revision history for this message
Pawel Brzozowski (pbrzozowski) wrote :

We have checked servers for anomalies and we have not found anything interesting.

Changed in fuel:
status: Confirmed → New
assignee: Fuel CI (fuel-ci) → Fuel Sustaining (fuel-sustaining-team)
Changed in fuel:
status: New → Confirmed
tags: added: area-python
removed: area-ci
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

On the reverted env I can see nodes are online.

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin)
status: Confirmed → In Progress
Revision history for this message
Georgy Kibardin (gkibardin) wrote :

When a deployment is aborted astute stops the process, reboots the nodes and waits until they are available via mcollective. However, by that time nailgun agent not yet reported node status. This problem is well known, however I would expect it fixed in a nearest future. By now the more reasonable solution is to add a step to the test which ensures nodes are online before continue.

Changed in fuel:
assignee: Georgy Kibardin (gkibardin) → Fuel QA Team (fuel-qa)
status: In Progress → Confirmed
tags: added: swarm-fail
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Belyaninov (dbelyaninov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/mitaka)

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

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

Reviewed: https://review.openstack.org/419899
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=831399e9bd0bb72e28ddc02836406076a94a58bd
Submitter: Jenkins
Branch: stable/mitaka

commit 831399e9bd0bb72e28ddc02836406076a94a58bd
Author: Dmitry Belyaninov <email address hidden>
Date: Fri Jan 13 11:27:29 2017 +0000

    Nodes should be online for redeploy

    If the deployment was stopped, we
    should wait until nodes states will be
    "online". After that we can start redeploy.

    Change-Id: Ic15087bed08f3773325fec5dc6a7e85968f89400
    Closes-Bug: 1643817

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/421090

Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

9.x
passed #174

Changed in fuel:
status: Confirmed → Fix Released
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/421206

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

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

commit 829f46477ff8e72b2f1b5db6830836203d90cc5a
Author: Dmitry Belyaninov <email address hidden>
Date: Fri Jan 13 11:27:29 2017 +0000

    Nodes should be online for redeploy

    If the deployment was stopped, we
    should wait until nodes states will be
    "online". After that we can start redeploy.

    Change-Id: Ic15087bed08f3773325fec5dc6a7e85968f89400
    Closes-Bug: 1643817
    (cherry picked from commit 831399e9bd0bb72e28ddc02836406076a94a58bd)

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

Reviewed: https://review.openstack.org/421090
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=0a4db0ffc66826d740b85add646f95579c35c5f9
Submitter: Jenkins
Branch: stable/newton

commit 0a4db0ffc66826d740b85add646f95579c35c5f9
Author: Dmitry Belyaninov <email address hidden>
Date: Fri Jan 13 11:27:29 2017 +0000

    Nodes should be online for redeploy

    If the deployment was stopped, we
    should wait until nodes states will be
    "online". After that we can start redeploy.

    Change-Id: Ic15087bed08f3773325fec5dc6a7e85968f89400
    Closes-Bug: 1643817
    (cherry picked from commit 831399e9bd0bb72e28ddc02836406076a94a58bd)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-qa 11.0.0.0rc1

This issue was fixed in the openstack/fuel-qa 11.0.0.0rc1 release candidate.

Revision history for this message
Ilya Bumarskov (ibumarskov) wrote :
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.