[ostf]OSTF wrong fail explanation in test Check data replication over mysql

Bug #1405796 reported by Alexander Kurenyshev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Tatyanka

Bug Description

Steps to reproduce:

1) Deploy a cluster in HA mode
2) Go to the primary controller and make it unavailable via management net (for ex. perform ovs-vsctl del-port br-mgmt br-mgmt--br-eth2)
3) Run OSTF test Check data replication over mysql

Observed behaviour:
Test fails with "Mysql node detection failed" description.

Expected behaviour:
Tests fails with more useful explanation which excludes Galera is broken.
For example, in this situation description could be "Node is offline. MySQL is not running. Check connectivity".

This takes place because OSTF test gets list of available nodes via admin network. And it tries to connect via ssh (success) and execute mysql (no success). And at the same time all openstack services are already stopped.

Tags: ostf
Changed in fuel:
milestone: 6.0.1 → 6.1
importance: Undecided → Medium
tags: added: ostf
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

What exactly message do you want to see here. And just to clarify ostf steps:
1. ostf get online controlelrs from nailgun
2. ssh on each of then and run versification
So in your case - controller was offline when nailgun still says that is online -and as result you see such message.

Please, add more detailed Expected result to describe situation above

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexander Kurenyshev (akurenyshev)
status: New → Incomplete
importance: Medium → Low
description: updated
Changed in fuel:
status: Incomplete → New
assignee: Alexander Kurenyshev (akurenyshev) → Fuel Python Team (fuel-python)
Changed in fuel:
status: New → Confirmed
importance: Low → Medium
assignee: Fuel Python Team (fuel-python) → Tatyanka (tatyana-leontovich)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

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

Changed in fuel:
status: Confirmed → In Progress
summary: - OSTF wrong fail explanation in test Check data replication over mysql
+ [ostf]OSTF wrong fail explanation in test Check data replication over
+ mysql
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/168428
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=1c6c72a174cacc32a33a5f621cebc024b93ec87f
Submitter: Jenkins
Branch: master

commit 1c6c72a174cacc32a33a5f621cebc024b93ec87f
Author: Tatyana Leontovich <email address hidden>
Date: Fri Mar 27 18:07:39 2015 +0200

    Split ha mysql tests

    split tests to avoid messages about database deletion failure

    Change-Id: I4b998a62e65ad1fa4f0c4ef379f5978c4b5f1063
    Closes-Bug: #1427572
    Closes-Bug: #1405796

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified 29 iso

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