143 Commits

Author SHA1 Message Date
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
Liam Young
f47bf0def5 Merged next in 2014-12-19 10:21:34 +00:00
Edward Hope-Morley
b9496db184 [hopem,r=wolsen,jamespage]
Adds keystone identity-notifications interface
  
This allows related units to receive broadcasts when
resources e.g. endpoints, change.

Closes-Bug: 1401861
2014-12-17 17:54:26 +00:00
Edward Hope-Morley
4888ade23d renamed use_trigger to force 2014-12-17 13:21:10 +00:00
Edward Hope-Morley
2a3fe5745f bail if no relations 2014-12-17 09:01:14 +00:00
Edward Hope-Morley
8af9053c87 no send log msg DEBUG -> INFO 2014-12-16 23:56:24 +00:00
Edward Hope-Morley
75070b2035 minor optimisation 2014-12-16 23:52:24 +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
aee0d10430 renamed interface 2014-12-16 20:15:03 +00:00
Edward Hope-Morley
4df01800b5 sync /next 2014-12-16 20:08:30 +00:00
Edward Hope-Morley
f8c8d3058d minor cleanup 2014-12-16 20:07:53 +00:00
Ryan Beisner
b218b7de0f update unit test 2014-12-16 17:00:24 +00:00
Ryan Beisner
819d4ce331 add python-six install re: bug 1403114 2014-12-16 10:28:13 -06:00
Edward Hope-Morley
9b04a7a4b1 renames identity-service-notify to identity-service-notifications 2014-12-15 12:09:04 +00:00