96 Commits

Author SHA1 Message Date
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
Edward Hope-Morley
9b04a7a4b1 renames identity-service-notify to identity-service-notifications 2014-12-15 12:09:04 +00:00
James Page
4975bf75ae [billy-olsen,r=james-page] Pass list of regions that keystone is configured with to things like the dashboard. 2014-12-15 10:45:38 +00:00
Edward Hope-Morley
61d16a4abe revert back to broadcast to all (if something has changed) 2014-12-12 20:26:23 +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
dcc33eb7d0 only send notifications to units on registered relationid 2014-12-12 19:43:23 +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
f1442737ed cleanup and tests 2014-12-12 18:56:49 +00:00
Edward Hope-Morley
24fc5fbaf5 cleanup and tests 2014-12-12 18:47:36 +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
11727c5bc9 ensure notification resets previous values 2014-12-12 15:58:04 +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
Edward Hope-Morley
b1d0c60349 enusre prefix applied for single and multi service names 2014-12-03 14:28:20 +00:00
Edward Hope-Morley
8c8a747459 [hopem,r=]
Adds service-admin-prefix config option.
      
Closes-Bug: LP #1398774
2014-12-03 12:21:50 +00:00
Billy Olsen
d765874112 [wolsen, r=]
Pass the region specified in the config from keystone to the consumers of the
identity-service interface. This allows consumers such as openstack-dashboard
to determine which region(s) the keystone server feeds.
2014-10-31 12:24:50 -07:00
James Page
1469185fce Add support for worker process configuration 2014-10-07 13:29:11 +01:00
James Page
348c6bd81f [gnuoy,r=james-page] Ensure identity-service data is replicated across a cluster
This ensures that in the event that the primary unit is removed from the service, the clients continue to have access to security credentials and certificates stored on the identity-service relation.
2014-10-06 21:53:09 +01:00
James Page
adf4a6088f Tidy after review 2014-10-06 14:01:11 +01:00
James Page
63f5ea2cdc Rebase, resync 2014-10-02 10:12:13 +01:00
Edward Hope-Morley
1004c209bb fixed ipv6 compatibility check 2014-09-30 14:24:43 +01:00
Hui Xiang
8178b27bcb Refactor codes. 2014-09-30 15:28:37 +08:00
Liam Young
518b163e44 Merge trunk in 2014-09-25 10:50:39 +01:00
Hui Xiang
f20b9b62f8 Revert back using keystone_context.HAProxyContext(). 2014-09-25 00:46:19 +08:00
Hui Xiang
180a64a89a Use general BindHostContext, drop local haproxy.cfg, fix ut. 2014-09-24 23:45:07 +08:00
James Page
368f18dd88 Support backwards compat with regards SSL certs, fixup unit tests and lint 2014-09-23 11:11:26 +01:00
James Page
86f0bc468d Ensure all canonical names are used for endpoint Cert generation 2014-09-22 16:39:32 +01:00
James Page
6f3a1a9bf8 Add support for multiple CNS in https mode 2014-09-22 10:53:35 +01:00
James Page
0dd89267f6 Add explicit endpoint configuration 2014-09-21 18:57:48 +01:00
Hui Xiang
437e61bf55 Excludes vip from get_ipv6_addr. 2014-09-21 21:33:35 +08:00
Hui Xiang
915c2cff5f User get_ipv6_addr()[0] directly. 2014-09-19 23:48:10 +08:00
Hui Xiang
f35e6f3165 remove ex_list 2014-09-19 22:46:22 +08:00
Hui Xiang
4088a796dc Private_ipv6_address return one ip from get_ipv6_addr 2014-09-19 21:58:05 +08:00
Hui Xiang
8c1fb04a8f Fix errors. 2014-09-18 19:56:23 +08:00
Hui Xiang
265b6d24c7 Remove install determine_packages 2014-09-18 19:33:27 +08:00
Hui Xiang
c9736c1d06 Integrate all the ipv6 into setup_ipv6() 2014-09-18 19:23:52 +08:00
Hui Xiang
4beab3d4e1 Resolve conflicts. 2014-09-15 15:44:00 +08:00
Edward Hope-Morley
0c2a052ba0 [heut2008,r=hopem]
Fixes ldap-backend support. Default is to treat ldap as read-only
so if using ldap identity backend, admin-user and admin-role are
not created unles read-only is set to False.
2014-09-05 16:24:44 +01:00
Yaguang Tang
d370dd83d8 Stop from initialize database users when using readonly ldap backend 2014-09-05 16:09:23 +08:00
Liam Young
0c2e4ed086 Store identity-service information in the peer relation for clustered deploys and echo back to client service for each unit 2014-08-19 12:39:31 +00:00
Hui Xiang
20a7585eb4 Sync charm-helpers, Add unit tests, Fix trivial issues. 2014-08-08 17:27:31 +08:00
Hui Xiang
3a9eebbeee Support Keystone for IPv6. 2014-08-04 21:47:53 +08:00
James Page
69f908d18f Update unit tests for use of resolve_address 2014-07-29 08:42:45 +01:00
James Page
4c260e4e70 Use charm-helpers to resolved addresses 2014-07-28 15:30:41 +01:00
James Page
aebf95a4da Use keystone vip grp for cluster leadership 2014-07-16 14:17:03 +01:00
James Page
cef1a05bed Tidy lint 2014-07-15 16:57:34 +01:00