321 Commits

Author SHA1 Message Date
Edward Hope-Morley
954a47a3d4 more 2015-02-06 12:05:52 +00:00
Edward Hope-Morley
12aad4c132 synced charm-helpers 2015-02-06 11:52:49 +00:00
Edward Hope-Morley
a327b82b6f add more is_db_ready() protection 2015-02-05 17:48:25 +00:00
Edward Hope-Morley
849497d132 [hopem,r=gnuoy]
* improves ssl master election logic
* adds more unit tests
* fixes config changes logic

Closes-Bug: 1415579
2015-02-05 17:32:30 +00:00
Edward Hope-Morley
b0df8f0b59 Improve ssl master election logic and add more unit tests 2015-02-03 12:56:40 +00:00
Edward Hope-Morley
54a58fca29 [hopem,r=]
Fixes single unit SSL.
2015-01-27 22:21:37 +00:00
Liam Young
c2a9006c40 Merged trunk in 2015-01-23 09:32:12 +00:00
Edward Hope-Morley
f57638d8fe [hopem, r=]
Wait until DB ready before performing Keystone api ops.
2015-01-22 18:44:33 +00:00
Liam Young
3a74aebc66 Merged next in and fix unit tests 2015-01-22 16:37:17 +00:00
Liam Young
348e7a6afa Update hacluster setting from config-changed 2015-01-22 16:19:44 +00:00
Liam Young
5010dd4f8c Propogate corosync config option set in the charm to the hacluster subordinate 2015-01-22 16:09:29 +00:00
Edward Hope-Morley
208fd9ea7e ignore ssl actions if not enabled and improve support for non-ssl -> ssl 2015-01-21 16:23:15 +00:00
Corey Bryant
47bd855d55 Merge keystone next charm. 2015-01-16 19:36:22 +00:00
Edward Hope-Morley
fe0c375bb6 synced /next 2015-01-16 14:50:19 +00:00
Edward Hope-Morley
93d0953758 add sync-master stickiness back into the mix 2015-01-16 14:02:29 +00:00
Liam Young
fb12d7185f Tideyup up after feedback from hopem 2015-01-14 11:04:13 +00:00
Liam Young
5bbf15c3a5 Fix unit tests 2015-01-14 10:38:56 +00:00
Liam Young
943474848a Merged 'next' in 2015-01-14 10:29:20 +00:00
Edward Hope-Morley
c05f6a0447 validate echoed peer data 2015-01-13 22:16:46 +00:00
Edward Hope-Morley
03b0fd66f8 add leader protection to cluster-changed hook 2015-01-13 16:01:25 +00:00
James Page
06dec59635 Rebase on next 2015-01-13 14:40:50 +00:00
Edward Hope-Morley
2fa428e50b tests passing and cleanup 2015-01-13 13:43:07 +00:00
Edward Hope-Morley
444e9cfc1c synced /next 2015-01-13 11:58:42 +00:00
Edward Hope-Morley
4a9602f1c1 check syncs and retry if inconsistent 2015-01-13 11:04:56 +00:00
Edward Hope-Morley
8ec5688fe4 sync only fatal=True in cluster relation 2015-01-12 17:02:08 +00:00
Edward Hope-Morley
fa440c145c Removed sync-master logi 2015-01-12 12:45:22 +00:00
Liam Young
931cea4b7e Use rnpe functions from charmhelpers 2015-01-12 12:04:00 +00:00
Edward Hope-Morley
a760082802 Fixed a few race issues and switched to using decorators 2015-01-10 14:56:22 +00:00
Liam Young
13dc3c7017 Fix lint 2015-01-09 15:57:52 +00:00
Liam Young
8aca48d035 Merged next in and resolved conflicts 2015-01-09 15:54:17 +00:00
Edward Hope-Morley
61b07fc623 more cluster relation noise reduction 2015-01-08 14:56:31 +00:00
Edward Hope-Morley
ee78c8bb55 defer some action to ha rel hook if waiting on 'clustered' 2015-01-05 21:57:25 +00:00
Edward Hope-Morley
14f39ff133 [hopem,r=]
Fixes ssl cert sycnhronisation across peers

Closes-Bug: 1317782
2015-01-05 17:49:38 +00:00
Edward Hope-Morley
4f1005e645 final cleanup 2014-12-16 23:48:42 +00:00
Edward Hope-Morley
8f94b4e704 review fixes 2014-12-16 23:20:46 +00:00
Edward Hope-Morley
8637b222f3 revert back to broadcast to all (if something has changed) 2014-12-12 20:21:44 +00:00
Edward Hope-Morley
bd8bd0e053 only send notifications to units on registered relationid 2014-12-12 19:36:10 +00:00
Edward Hope-Morley
eef1ddd666 notification contains checksum of data we want to use as trigger 2014-12-12 18:32:45 +00:00
Edward Hope-Morley
da81a7bef0 and another 2014-12-12 17:12:30 +00:00
Edward Hope-Morley
b2aea57590 good catch billy! 2014-12-12 17:03:56 +00:00
Edward Hope-Morley
bbf5cef56d [hopem,wolsen,r=]
Adds keystone identity-service-notfiy interface

This allows related units to receive broadcasts when
resources e.g. endpoints, change.

Closes-Bug: 1401861
2014-12-12 15:21:32 +00:00
Corey Bryant
59b9ccd7db Enable deployment from git. 2014-12-03 16:23:02 +00:00
Brad Marshall
1df62593c4 [bradm] Removed nagios check files that were moved to nrpe-external-master charm 2014-11-18 11:14:34 +10:00
Brad Marshall
206d69d3bc [bradm] Added sysvinit daemon monitoring, switched to using services() instead of hard coded list, pep8 fixes 2014-11-17 13:39:29 +10:00
James Page
0fb0cbd29e Provide fallback config options for HA VIP iface and cidr when it cannot be automatically determined 2014-11-12 09:27:15 +00:00
Brad Marshall
5c28abef9c [bradm] Check if host_context is defined before using it 2014-11-06 17:29:46 +10:00
Brad Marshall
3c0976a894 [bradm] Tweaked check to include host context and unit name 2014-11-04 17:09:28 +10:00
Brad Marshall
ebf0ccaf5c [bradm] Added support to get nagios hostname from nrpe relation 2014-10-31 14:51:08 +10:00
root
64d2c2233c [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
Liam Young
7bbe871bde Store and retrieve admin password from peerdb to enstore its consistent 2014-10-24 14:31:02 +00:00