TT#63466 Ensure sp1<->sp2 and db->prx replications are using GTID

On early upgrades mr5.5->mr6.5 GTID was not reconfigured on
the very first upgraded node... It is a test to ensure we
have covered all the upgrade scenarios.

Change-Id: I40433f536402c52b582911fc18bd4021ed050bbf
changes/77/32677/1
Alexander Lutay 6 years ago
parent a6f270fa04
commit 1f7ebd90d0

@ -0,0 +1,23 @@
[%
hostname = ngcp.get_hostname();
is_proxy = ngcp.has_role(hostname, 'proxy');
-%]
command:
grep using_gtid=2 /ngcp-data/mysql/master.info:
exit-status: 0
stdout:
- "/using_gtid=2/"
stderr: []
timeout: 10000
[% IF general.ngcp_type == 'carrier' && is_proxy -%]
grep using_gtid=2 /ngcp-data/mysql2/master-db01*.info:
exit-status: 0
stdout:
- "/using_gtid=2/"
stderr: []
timeout: 10000
[% END -%]

@ -40,4 +40,5 @@ gossfile:
911_service-grafana.yaml: {}
[% IF general.ngcp_type != 'spce' -%]
920_service-asterisk-odbc-pro.yaml: {}
930_service-mariadb.yaml: {}
[% END -%]

Loading…
Cancel
Save