157 Commits

Author SHA1 Message Date
Edward Hope-Morley
c3c30a11b4 tar syncdir for transfer 2015-03-12 15:12:49 +00:00
Edward Hope-Morley
2763ad11be tar syncdir for transfer 2015-03-12 15:08:48 +00:00
Edward Hope-Morley
abaaf73d03 tar syncdir for transfer 2015-03-12 13:56:05 +00:00
Edward Hope-Morley
c08905bd36 tar syncdir for transfer 2015-03-12 13:43:03 +00:00
Edward Hope-Morley
3af718992f tar syncdir for transfer 2015-03-12 13:35:21 +00:00
Edward Hope-Morley
2339be0ec5 tar syncdir for transfer 2015-03-12 13:30:39 +00:00
Edward Hope-Morley
5c9cbe1a0c tar syncdir for transfer 2015-03-12 13:23:05 +00:00
Edward Hope-Morley
fa4c1755e8 ensure ssl dirs 2015-03-12 11:23:15 +00:00
Edward Hope-Morley
a3f381ddb4 ensure ssl dirs 2015-03-12 11:21:31 +00:00
Edward Hope-Morley
aca35f328e ensure ssl dirs 2015-03-12 11:18:41 +00:00
Edward Hope-Morley
502bd54b45 Use staging dir for ssl sync 2015-03-12 09:21:51 +00:00
Edward Hope-Morley
a4c5b8d4d4 [trivial] fix is_ssl_enabled to not always return True 2015-03-11 11:57:29 +00:00
Edward Hope-Morley
277fbae84d [hopem,r=]
Fixes disable ssl. Allows disable of use-https and https-service-endpoints.

Use '__null__' value to flush out peer relation settings that need to be unset
when forwared to other relations. This will fix ssl disable by ensuring that
peer settings are correctly forwarded to endpoint relations.

Closes-Bug: 1427906
2015-03-10 12:02:11 +00:00
James Page
971a02bc51 Add retry for database migrations 2015-03-10 11:52:55 +00:00
Edward Hope-Morley
e092465fe4 more 2015-02-16 23:56:01 +00:00
Edward Hope-Morley
717d6776b9 always ensure db_ready before migration 2015-02-16 22:59:25 +00:00
Edward Hope-Morley
fb91126bc3 [hopem,r=]
Ensure db is migrated in identity-relation hooks and
also avoiding unecessarily re-migrating unless an upgrade
is being performed.
2015-02-16 20:58:06 +00:00
Edward Hope-Morley
f40c92f81b [trivial] keystone_utils code cleanup (no functional changes) 2015-02-16 14:48:02 +00:00
Edward Hope-Morley
1915bb6852 [hopem,r=]
Synced charmhelpers and now using bool_from_string
2015-02-16 11:25:45 +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
c4c78977e8 fix null setting issue 2015-02-03 14:38:55 +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
172c11f7fd [hopem,r=]
Fixes is_db_ready() logic

Closes-Bug: 1417108
2015-02-02 13:49:05 +00:00
Edward Hope-Morley
623b173df3 We need to sync all ssl certs for both use-https AND
https-service-endpoints.
2015-01-28 16:54:56 +00:00
Edward Hope-Morley
54a58fca29 [hopem,r=]
Fixes single unit SSL.
2015-01-27 22:21:37 +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
Edward Hope-Morley
50382ceb7e [hopem,r=gnuoy]
Fixes ssl cert synchronisation across peers

Closes-Bug: 1317782
2015-01-22 14:35:41 +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
Edward Hope-Morley
928a2ef915 [hopem,r=gnuoy]
Set root logger level to DEBUG in /etc/logging.conf
if debug is True otherwise keystone logger remains
as WARNING.

Closes-Bug: 1407317
2015-01-19 10:45:41 +00:00
Edward Hope-Morley
daf3a50801 synced /next 2015-01-16 15:34:46 +00:00
Edward Hope-Morley
040aa5dee3 r104 is broken - reverting to r103 2015-01-16 15:32:31 +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
Edward Hope-Morley
6b54d0eab0 [hopem,r=gnuoy]
Set log level to DEBUG in /etc/logging.conf if debug is True

Closes-Bug: 1407317
2015-01-16 13:47:42 +00:00
Liam Young
c1d1565048 [gnuoy, r=hopem]
Set admin password in identity-admin relation regardless of how it was generated
2015-01-16 11:41:03 +00:00
Edward Hope-Morley
36f65cfde4 synced /next 2015-01-16 11:22:49 +00:00
Liam Young
fb12d7185f Tideyup up after feedback from hopem 2015-01-14 11:04:13 +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
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
Edward Hope-Morley
a760082802 Fixed a few race issues and switched to using decorators 2015-01-10 14:56:22 +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
b9dd91c2c0 [hopem,r=]
Set log level to DEBUG in /etc/logging.conf of debug is True

Closes-Bug: 1407317
2015-01-08 11:51:28 +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