[Detached services] Mysql replication tests failed on ready cluster after node additional
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
High
|
Matthew Mosesohn | ||
8.0.x |
Confirmed
|
High
|
Matthew Mosesohn |
Bug Description
Add and delete keystone node
Scenario:
1. Revert snapshot separate_
2. Add one keystone node and re-deploy cluster
3. Run network verification
4. Run OSTF =======
5. Check hiera hosts are the same for
different group of roles
6. Delete one keystone node
7. Run network verification
8. Run ostf
9. Check hiera hosts are the same for
different group of roles
Actual:
OSTF mysql tests are fails:
[root@nailgun ~]# fuel node
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|---
3 | ready | slave-05_
4 | ready | slave-04_
6 | ready | slave-06_
9 | ready | slave-09_
7 | ready | slave-07_compute | 1 | 10.109.10.9 | 64:94:ff:a0:9a:48 | compute | | True | 1
8 | ready | slave-08_cinder | 1 | 10.109.10.10 | 64:e0:63:82:4d:fc | cinder | | True | 1
2 | ready | slave-02_controller | 1 | 10.109.10.4 | 64:f7:74:dc:c8:e5 | controller | | True | 1
1 | ready | slave-01_controller | 1 | 10.109.10.3 | 64:ae:71:62:cd:89 | controller | | True | 1
5 | ready | slave-03_controller | 1 | 10.109.10.5 | 64:e7:d2:e2:72:8e | controller | | True | 1
[root@nailgun ~]# fuel health --env 1 --check ha
[ 1 of 7] [success] 'Check state of haproxy backends on controllers' (1.567 s)
[ 2 of 7] [failure] 'Check data replication over mysql' (3.125 s) Can not get data from database node node-4 Please refer to OpenStack logs for more details.
[ 3 of 7] [success] 'Check if amount of tables in databases is the same on each node' (2.739 s)
[ 4 of 7] [failure] 'Check galera environment state' (0.7393 s) Actual value - 3,
[ 5 of 7] [success] 'Check pacemaker status' (1.829 s)
[ 6 of 7] [success] 'RabbitMQ availability' (9.08 s)
[ 7 of 7] [success] 'RabbitMQ replication' (19.7 s)
on node-3:
root@node-3:~# mysql -h localhost -e "SHOW STATUS LIKE 'wsrep_%'" | grep wsrep_connected
wsrep_connected ON
root@node-3:~# mysql -h localhost -e "SHOW STATUS LIKE 'wsrep_%'" | grep wsrep_cluster_size
wsrep_cluster_size 2
root@node-3:~# mysql -h localhost -e "SHOW STATUS LIKE 'wsrep_%'" | grep wsrep_cluster_size
wsrep_cluster_size 2
root@node-3:~# crm_mon -1
Last updated: Fri Feb 12 11:15:26 2016
Last change: Fri Feb 12 03:08:03 2016
Stack: corosync
Current DC: node-3.
Version: 1.1.12-561c4cf
3 Nodes configured
9 Resources configured
Online: [ node-3.
vip__public_
vip__service_
vip__database (ocf::fuel:
Clone Set: clone_p_haproxy [p_haproxy]
Started: [ node-3.
Clone Set: clone_p_mysql [p_mysql]
Started: [ node-3.
Failed actions:
p_mysql_
root@node-3:~#
[root@nailgun ~]# cat /etc/fuel/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "553"
build_id: "553"
fuel-nailgun_sha: "ed2e0cde96ae7b
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "33634ec27be77e
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "78ffc73065a967
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "d605bcbabf3153
[root@nailgun ~]#
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: team-bugfix |
https:/ /drive. google. com/a/mirantis. com/file/ d/0B_tSitrwrgvo ampPVk93aFR4X1k /view?usp= sharing