[OSTF] Test "Instance live migration" tries to migrate VM on unavailable compute host

Bug #1627713 reported by Sergey Novikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Fuel QA Team
Mitaka
Confirmed
High
Fuel QA Team

Bug Description

Detailed bug description:
  Test "Instance live migration" doesn't check that compute host is available where an instance will be migrated. So sometimes it chooses unavailable compute node. This issue was found by the following scenario:
Steps to reproduce
  1. Deploy 9.x cluster with 3 compute and 1 controller node
  2. Delete 1 compute and deploy changes
  3. Run OSTF test "Instance live migration"

Expected result: Test passes successfully
Actual result: Tests fails with http://paste.openstack.org/show/582935/. And the reason for that is http://paste.openstack.org/show/582936/ .

Description of the environment:
 snapshot #311

Additional information:
There is two suggestion for a fix:
  1. Implement a choice of compute host from only available compute nodes in Fuel-ostf
  2. Don't choose a host for instance migration in fuel-ostf, nova should get compute node itself

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/376471

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

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/376475

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (stable/8.0)

Related fix proposed to branch: stable/8.0
Review: https://review.openstack.org/376476

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (stable/7.0)

Related fix proposed to branch: stable/7.0
Review: https://review.openstack.org/376477

Changed in fuel:
assignee: nobody → Fuel QA Team (fuel-qa)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

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

commit 9733913e3647720246586f717f3ec94a8618e508
Author: Sergey Novikov <email address hidden>
Date: Mon Sep 26 15:45:14 2016 +0300

    Skip some OSTF tests for upgrade thread

    We need to skip tests "Check that required services are running"
    and "Instance live migration" for the upgrade test because
    the compute node still is marked as compute host in OpenStack
    cloud in case of the deletion of this compute host from a cluster

    Related-Bug: #1627713

    Change-Id: I5db681b0eadf09f1f824b5186c2e4aad87faa059

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (stable/mitaka)

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

commit 7afcd9f2d2d3b6c3d07b9b3872fc5d495c3f7f93
Author: Sergey Novikov <email address hidden>
Date: Mon Sep 26 15:45:14 2016 +0300

    Skip some OSTF tests for upgrade thread

    We need to skip tests "Check that required services are running"
    and "Instance live migration" for the upgrade test because
    the compute node still is marked as compute host in OpenStack
    cloud in case of the deletion of this compute host from a cluster

    Related-Bug: #1627713

    Change-Id: I5db681b0eadf09f1f824b5186c2e4aad87faa059

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

Reviewed: https://review.openstack.org/376476
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=45e6a7f002cfec9bdb00e737f6ad7bffe6e5c1d0
Submitter: Jenkins
Branch: stable/8.0

commit 45e6a7f002cfec9bdb00e737f6ad7bffe6e5c1d0
Author: Sergey Novikov <email address hidden>
Date: Mon Sep 26 15:45:14 2016 +0300

    Skip some OSTF tests for upgrade thread

    We need to skip tests "Check that required services are running"
    and "Instance live migration" for the upgrade test because
    the compute node still is marked as compute host in OpenStack
    cloud in case of the deletion of this compute host from a cluster

    Related-Bug: #1627713

    Change-Id: I5db681b0eadf09f1f824b5186c2e4aad87faa059

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

Reviewed: https://review.openstack.org/376477
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=ad4b0b2625e193df0016c39e7716ecc05f14eb97
Submitter: Jenkins
Branch: stable/7.0

commit ad4b0b2625e193df0016c39e7716ecc05f14eb97
Author: Sergey Novikov <email address hidden>
Date: Mon Sep 26 15:45:14 2016 +0300

    Skip some OSTF tests for upgrade thread

    We need to skip tests "Check that required services are running"
    and "Instance live migration" for the upgrade test because
    the compute node still is marked as compute host in OpenStack
    cloud in case of the deletion of this compute host from a cluster

    Related-Bug: #1627713

    Change-Id: I5db681b0eadf09f1f824b5186c2e4aad87faa059

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → Won't Fix
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.