Jiri Broulik
bab256c9f7
adding socket to my.cnf
Change-Id: Id77cd6da330fe986844b3331edd514819471e67a
7 vuotta sitten
Kirill Bespalov
097178713f
Fix galera service enabling condition
We need to be sure that enabled param is defined and set to True
during a state applying.
Change-Id: I19cd4c834f254d76d6b521d983d05b227c048065
7 vuotta sitten
Simon Pasquier
7a2010e8e9
Fix typo with the buffer_pool_size parameter
The buffer_pool_size parameter should be a integer value when followed
by a memory unit (eg '1024M', not '1024.1M'). Otherwise the MySQL
doesn't start properly.
Change-Id: I5dfad49a8e44a40ae87c5e8e0b033dcd73dc2837
7 vuotta sitten
Simon Pasquier
0b8359ea11
Add alert on mysql_up metric
Change-Id: I4de34ad6db6805235966ebcca6fe43ea1faaea42
7 vuotta sitten
Kirill Bespalov
162a4d44c1
Make innodb_buffer_pool_size configurable
Usage:
galera:
master:
innodb_buffer_pool_size: 1024M
slave:
innodb_buffer_pool_size: 1024M
If innodb_buffer_pool_size is not set then 35% of the available
ram will be allocated for the buffer pool.
Change-Id: Iaffa3f5b4ded8bc838f9d707916e360ed873c13b
7 vuotta sitten
Martin Polreich
5f8fa8f496
Merge "Add 'datasource: influxdb' to Grafana meta"
7 vuotta sitten
Dennis Dmitriev
5542574fcb
Update run_tests.sh to the latest revision
Change-Id: I2b6abf51793fa6179c3a6477a752243db6ac6e73
7 vuotta sitten
Simon Pasquier
a36aca68d5
Add 'datasource: influxdb' to Grafana meta
Change-Id: I9daada1cf87873d602d415642bbc4bd32d8e2d52
7 vuotta sitten
Dmitry Stremkovskiy
954ef6f3fd
Fixing galera bootstrap hang caused by incorrect mysql shutdown
command called by service.dead state:
systemd-run --scope systemctl stop mysql.service
More common way is to shut down service using known credentials
Change-Id: I2abe7eeea850333139587347039b1de8a6ea486f
7 vuotta sitten
Filip Pytloun
3dc81cfe78
Merge pull request #31 from Martin819/master
Optimize 'noservices' condition
7 vuotta sitten
Martin Polreich
cad6ed4421
Optimize 'noservices' condition
7 vuotta sitten
Simon Pasquier
e90dd8540d
Add Prometheus alerts
Change-Id: Ia6873c44f4e5b179a6c4a545fbf4b45c978812ea
7 vuotta sitten
Simon Pasquier
feaf851c83
Exclude 'server' tag from metrics
The tag is equal to the address of the server which is quite useless
when using a Unix socket address.
Change-Id: Ia87c30f8ff2176f923982d70b712b10ec6e97f56
Depends-On: I538dbb24602a8ad4aece0a74445db47810099bb9
7 vuotta sitten
Simon Pasquier
98558f6cb3
Add Grafana dashboard for Prometheus
Change-Id: I34d6d8146489bab30e5ee621e3b8d01fe7ff819b
7 vuotta sitten
Simon Pasquier
b4595b9602
Add support for Telegraf
Change-Id: Iec2d27cc4fdab9ba7772e9c26be66ba54f5aadfc
Depends-On: Ice4f38abfb0d870c56763dfeda2140032fa752a1
7 vuotta sitten
Jakub Pavlik
186204bfcf
Merge "Change mysql-wsrep package"
7 vuotta sitten
Filip Pytloun
a8b2992ee1
Merge pull request #29 from tgerdes/systemd-service-override
Fix case of systemd [Service] unit
7 vuotta sitten
Thom Gerdes
8cce8e7d65
Fix case of systemd [Service] unit
7 vuotta sitten
Jakub Pavlik
7da817ea6e
Merge "Raise open_files_limit for mysql"
7 vuotta sitten
Filip Pytloun
746f8285c8
Merge pull request #24 from Martin819/master
Added Kitchen tests and travis
7 vuotta sitten
Martin Polreich
8933a6c7e2
Added Kitchen tests and travis
7 vuotta sitten
Jan Cach
36c3a68c20
Raise open_files_limit for mysql
Change-Id: I6047d632a2bfeb6525ac60092436ccd5334671e4
7 vuotta sitten
Jiri Broulik
3ac6df7b9d
restore fix
Change-Id: I9638c66d1a204a54e25144c4dfe43d5cf5ba135c
7 vuotta sitten
Petr Michalec
119cbd1f79
Merge pull request #25 from teoyaomiqui/patch-1
PROD-10495 Fixing file match for correct targeting
7 vuotta sitten
teoyaomiqui
4042321107
PROD-10495 Fixing file match for correct targeting
7 vuotta sitten
Marek Celoud
83883123f4
Change mysql-wsrep package
Change-Id: I2856f50977b1959801d66e7bc73fe54d24d43801
7 vuotta sitten
Jakub Pavlik
325665beef
Remove libmysqlclient18 from package requirements
It comes as dependency from main wsrep packages and it differs
between versions of OS.
Change-Id: I2b50edaa19e52009766bca9fa31c566f59ff9319
7 vuotta sitten
Simon Pasquier
2b501f112d
Increase sleep interval in the bootstrap script
Because the current timeout interval is too short in some environments.
The change also adds information messages to bootstrap scripts
Change-Id: I295da792349f5864a484e3eb318342dcc31fffab
7 vuotta sitten
Jakub Pavlik
6fc8bd4078
[WIP] Fixes for MCP1.0 galera
Change-Id: I91f55d599f5291f34bfa81f55dafd6734606e1cc
7 vuotta sitten
Jakub Pavlik
8d1060a83f
Galera master installation hangs
Galera master installation hangs on installation
mysql-server-wsrep-5.6. It seems that log_error is not working,
because of next message: "mysqld_safe Can't log to error log and
syslog at the same time. Remove all --log-error configuration
options for --syslog to take effect." Using "syslog = yes" instead
of log_error makes it works without any other changes.
Change-Id: I39a8a87ed048557c19f3843b97c75469385e4978
Closes-bug: PROD-9065
7 vuotta sitten
Filip Pytloun
5b356a7f55
Unify Makefile, .gitignore and update readme
7 vuotta sitten
Aleš Komárek
9e43e6cd3e
Merge pull request #23 from thouveng/build-main-dashboard
Provide grains for building the main dashboard
7 vuotta sitten
Guillaume Thouvenin
489a660a1f
Provide grains for building the main dashboard
7 vuotta sitten
pasquier-s
bd8adbae52
Merge pull request #22 from tcpcloud/disable-sensu
disable-sensu
8 vuotta sitten
Petr Michalec
5a2c7f71c2
disable sensu, meta/sensu.yml is missing
8 vuotta sitten
Éric Lemoine
a4fa60527a
Merge pull request #21 from elemoine/alarms
Split the mysql alarm cluster
8 vuotta sitten
Éric Lemoine
fa4430f9f0
Split the mysql alarm cluster
8 vuotta sitten
Filip Pytloun
f2c86c8915
Merge pull request #20 from tcpcloud/ulimit
Fix mysql with adding ulimit -n 102400
8 vuotta sitten
Jakub Pavlik
e06a318c6f
Fix mysql with adding ulimit -n 102400
Bug: After deployment of linux formulas and salt states
/etc/security/limits.conf are not applying, as result connections
to mysql failed with error (pymysql.err.OperationalError)
(1040, u'Too many connections')
Solution: create mysql.overide, where ulimit is set to 102400
Closed-bug: PROD-8427
8 vuotta sitten
pasquier-s
70fe4ae108
Merge pull request #19 from simonpasquier/fix-cluster-policy
Change cluster policy to availability_of_members
8 vuotta sitten
Simon Pasquier
a3fc756709
Change cluster policy to availability_of_members
Because the cluster isn't managed by Pacemaker, using
majority_of_members is misleading.
8 vuotta sitten
Filip Pytloun
82f203eea2
Merge pull request #18 from tcpcloud/stacklight
Stacklight
8 vuotta sitten
thouveng
157bf84ee4
Merge pull request #16 from thouveng/use-new-grafana-convention
Put Grafana dashboards into their own directory
8 vuotta sitten
pasquier-s
f732862ff5
Merge pull request #17 from simonpasquier/stacklight
Merge master into stacklight
8 vuotta sitten
Simon Pasquier
8c8ca5f1ae
Merge remote-tracking branch 'upstream/master' into stacklight
8 vuotta sitten
Guillaume Thouvenin
9c6aa92549
Put Grafana dashboards into their own directory
8 vuotta sitten
Éric Lemoine
f005f08e79
Merge pull request #15 from elemoine/stacklight-alarm
Add alarms and alarm clusters
8 vuotta sitten
Éric Lemoine
75fab14b83
Add alarms and alarm clusters
8 vuotta sitten
Éric Lemoine
fa241ffaf5
Merge pull request #14 from thouveng/add-missing-json
Add missing JSON format for dashboard
8 vuotta sitten
Guillaume Thouvenin
789cfe7aed
Add missing JSON format for dashboard
8 vuotta sitten