[system-test]Update a method of verifying bootstrap on a node to wait appropriately for the node to appear online

Bug #1572470 reported by Dmitriy Kruglov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Fuel QA telco
Mitaka
Fix Released
High
Fuel QA telco

Bug Description

Detailed bug description:

The automated system test "reset_on_ready_ubuntu_bootstrap" ("deploy_reset_on_ready_ubuntu_bootstrap" group) fails as sometimes a node doesn't appear online in time after resetting environment https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/tests/test_ubuntu_bootstrap.py#L528

Steps to reproduce:

1. Create a cluster with 1 controller, 1 compute and 1 cinder nodes
2. Reset the cluster
3. Verify bootstrap on slaves

Expected result: Ubuntu bootstrap is used.
Actual result: not all nodes are online after resetting the cluster https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bvt_ubuntu_bootstrap/83/testReport/(root)/reset_on_ready_ubuntu_bootstrap/reset_on_ready_ubuntu_bootstrap/

The corresponding waiter method should be used (not just to wait 'online' node status, but ensure that it is possible to ssh to node after resetting the cluster).

Changed in fuel:
milestone: 9.0 → 10.0
Revision history for this message
Aleksei Stepanov (penguinolog) wrote :

wait_nodes_get_online_state pass, but node not become ready.
At short time node becomes ready, but test is already failed.

Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
tags: added: feature-ubuntu-bootstrap
Changed in fuel:
assignee: Fuel QA telco (fuel-qa-telco) → Dmitriy Kruglov (dkruglov)
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/316809

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

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

commit af1955cffc6081a8221143d4090950910ac99c9e
Author: Dmitriy Kruglov <email address hidden>
Date: Thu May 12 16:19:24 2016 +0000

    Fix 'reset_on_ready_ubuntu_bootstrap' test

    Update the approach to waiting nodes to appear online after
    env reset. Wait not only for 'online' nailgun status of nodes,
    but also ensure that nodes are accessible.

    Change-Id: Iae7fde7646d1edf2a3353c664def134589cc41e0
    Closes-Bug: #1572470

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

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

Reviewed: https://review.openstack.org/319855
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=7ed3f6e8ae5448fd287c64bff97217beb2cf502c
Submitter: Jenkins
Branch: stable/mitaka

commit 7ed3f6e8ae5448fd287c64bff97217beb2cf502c
Author: Dmitriy Kruglov <email address hidden>
Date: Thu May 12 16:19:24 2016 +0000

    Fix 'reset_on_ready_ubuntu_bootstrap' test

    Update the approach to waiting nodes to appear online after
    env reset. Wait not only for 'online' nailgun status of nodes,
    but also ensure that nodes are accessible.

    Change-Id: Iae7fde7646d1edf2a3353c664def134589cc41e0
    Closes-Bug: #1572470
    (cherry picked from commit af1955cffc6081a8221143d4090950910ac99c9e)

Revision history for this message
Dmitriy Kruglov (dkruglov) wrote :

Verified on MOS 9.0, build 9.0-mos-412.
The issue is fixed.

Changed in fuel:
assignee: Dmitriy Kruglov (dkruglov) → Fuel QA telco (fuel-qa-telco)
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.