[ostf]OSTF wrong fail explanation in test Check data replication over mysql
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.
Changed in fuel: | |
milestone: | 6.0.1 → 6.1 |
importance: | Undecided → Medium |
tags: | added: ostf |
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) |
summary: |
- OSTF wrong fail explanation in test Check data replication over mysql + [ostf]OSTF wrong fail explanation in test Check data replication over + mysql |
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