163 Commits

Author SHA1 Message Date
Edward Hope-Morley
78447badc8 rework ring sync semantics 2014-12-02 15:00:20 +00:00
Edward Hope-Morley
cd4e857eba rework ring sync semantics 2014-12-02 14:40:58 +00:00
Edward Hope-Morley
3b2c0c723d rework ring sync semantics 2014-12-02 14:21:47 +00:00
Edward Hope-Morley
ce547d66dd added unit tests 2014-12-01 23:54:03 +00:00
Edward Hope-Morley
56fe58cc6b [hopem,r=]
Adds support for changing the min_part_hours value on swift
rings post-install and resyncing rings across cluster on-demand.

Default min-hours is now 0 to allow any number of storage units
to join and enforce a rebalance and resync of rings across the
cluster.

Also refactored code and cleaned up style.
2014-12-01 18:37:56 +00:00
Brad Marshall
8f4b40a94c [bradm] Removed nagios check files that were moved to nrpe-external-master charm 2014-11-18 11:29:21 +10:00
Brad Marshall
8e86c6b08e [bradm] Added sysvinit daemon monitoring, use services() instead of hard coded daemon list, pep8 fixes 2014-11-17 13:57:33 +10:00
Brad Marshall
509766459e [bradm] Check if host_context is defined before using it 2014-11-06 17:36:00 +10:00
Brad Marshall
ef85ca3142 [bradm] Tweaked check to include host context and unit name 2014-11-04 17:20:19 +10:00
Brad Marshall
0160208f14 [bradm] Added support to get nagios hostname from nrpe relation 2014-10-31 14:56:53 +10:00
root
bc5b9132c1 [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
Edward Hope-Morley
77193bb428 more 2014-10-23 17:17:57 +01:00
Edward Hope-Morley
bd0eee2a41 added logs 2014-10-23 15:04:04 +01:00
Edward Hope-Morley
4c3235f524 proxy peers must sync .gz files as well as builders 2014-10-21 13:10:49 +01:00
Edward Hope-Morley
45aca7d77c updated README and added logging 2014-10-21 12:45:36 +01:00
Edward Hope-Morley
eda91a0753 tidyup 2014-10-21 09:32:52 +01:00
Edward Hope-Morley
2ebe3cf4d5 more 2014-10-20 19:41:37 +01:00
Edward Hope-Morley
321e9e3aa3 more 2014-10-20 19:27:50 +01:00
Edward Hope-Morley
fce10ca633 more 2014-10-20 14:23:12 +01:00
Edward Hope-Morley
f8b3f2af40 more 2014-10-20 13:43:39 +01:00
Edward Hope-Morley
0f085071a0 more 2014-10-20 13:33:37 +01:00
Edward Hope-Morley
6383ddaa34 more 2014-10-20 13:19:25 +01:00
Edward Hope-Morley
b3f97995c9 more 2014-10-20 13:17:50 +01:00
Edward Hope-Morley
79432fc822 more 2014-10-20 12:41:57 +01:00
Edward Hope-Morley
1e1b926c2d [hopem,r=]
Swift proxy ring builder sync. Proxies will now request builder files
from the 'leader' as opposed to each creating their own.

Closes-Bug: 1381040
2014-10-20 11:05:09 +01:00
James Page
2da4345ed2 Rebase, resync 2014-10-02 10:28:13 +01:00
James Page
df03ad03c6 Resync helpers, deal with clustering + https in network splits 2014-09-30 09:27:09 +01:00
Hui Xiang
7fd4f1dd55 Refactor codes. 2014-09-30 15:48:30 +08:00
James Page
861e0dc201 Use internal address for cluster comms if connected 2014-09-26 12:35:16 +01:00
Hui Xiang
acb7a64be3 Use general BindHostContext(). 2014-09-25 14:20:53 +08:00
Hui Xiang
810dfa0218 Excludes vip from get_ipv6_addr(). 2014-09-21 23:20:27 +08:00
Hui Xiang
cd3e704c14 Format ip address for ring url. 2014-09-20 23:49:25 +08:00
Hui Xiang
a142ece135 Use get_ipv6_addr()[0] directly 2014-09-20 00:31:09 +08:00
Hui Xiang
f5d079dd55 Integrated all IPv6 check into setup_ipv6() 2014-09-18 21:16:28 +08:00
Hui Xiang
ad24a51454 remove deb-src for trusty-backports. 2014-09-17 19:30:27 +08:00
James Page
ebde85ec12 [trivial] Fixup creation of vip group for HA 2014-09-04 10:21:21 +01:00
Hui Xiang
0d31d30ad3 Set peer private-address, sync charm-helpers. 2014-08-19 14:25:20 +08:00
Hui Xiang
59aaa38404 Correct templates to support IPv6. 2014-08-15 15:06:25 +08:00
Hui Xiang
71ded8fe37 Add haproxy/trusty-backports to support IPv6. 2014-08-14 20:36:15 +08:00
Hui Xiang
c54f7aee0a Fix context erros. 2014-08-13 20:15:41 +08:00
Hui Xiang
9f0a8fab99 Support swift for IPv6. 2014-08-13 14:46:10 +08:00
James Page
b1fe7f878f Resync helpers, drop surplus vip config 2014-07-16 14:43:20 +01:00
James Page
d3b7310cd6 Fixup url string formatting 2014-07-14 15:42:25 +01:00
James Page
b1290e9351 Use canonical_url helper for endpoint resolution 2014-07-14 15:03:48 +01:00
James Page
6afa485def Fixup admin ip resolution 2014-06-27 12:01:56 +01:00
James Page
a53e425db9 Fixup config-changed keystone calls 2014-06-27 12:00:03 +01:00
James Page
7923f3e08f Add support for network awareness 2014-06-27 11:56:24 +01:00
James Page
05a3445a7e Tidy lint 2014-04-10 17:52:10 +01:00
James Page
ed185b320a Move to more normalized upgrade approach 2014-03-06 13:45:35 +00:00
James Page
c4fcf5d348 Fixup determination of swift-rings directory for storage nodes 2014-01-22 17:10:47 +00:00