Liam Young
a22a33e254
Send correct admin address on identity-admin relation
2014-10-24 12:52:11 +00:00
Liam Young
fbc15500aa
All node should update their admin relation on config-caged incase the password has changed
2014-10-24 10:47:14 +00:00
Liam Young
21e3890d31
Set admin password in identity-admin relation regardless of how it was generated
2014-10-24 08:51:39 +00: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
63f5ea2cdc
Rebase, resync
2014-10-02 10:12:13 +01:00
Hui Xiang
c35a4c8a9c
Refactor codes.
2014-09-30 15:52:03 +08:00
Hui Xiang
8178b27bcb
Refactor codes.
2014-09-30 15:28:37 +08:00
James Page
7dbdbb163b
Deal with https+ha and multi-networks
2014-09-29 10:36:30 +01:00
Edward Hope-Morley
f404829997
more
2014-09-26 20:15:39 +01:00
Edward Hope-Morley
cf8209439b
fixed db_joined() and unit tests
2014-09-26 15:24:59 +01:00
Hui Xiang
16366be181
sync db with multiple ipv6 addresses.
2014-09-26 20:54:45 +08:00
James Page
e768c22a12
Use internal address for haproxy if set, call cluster_joined on config-change hook
2014-09-26 12:00:16 +01:00
James Page
42944039c1
More fixups please
2014-09-26 11:20:38 +01:00
Liam Young
518b163e44
Merge trunk in
2014-09-25 10:50:39 +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
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
530b5f6205
Add IPv6 check on config-changed hook.
2014-09-18 19:27:07 +08:00
Hui Xiang
c9736c1d06
Integrate all the ipv6 into setup_ipv6()
2014-09-18 19:23:52 +08:00
Hui Xiang
4d3505cd58
IPv6 onlly support Ubuntu for >= Trusty now.
2014-09-18 18:31:27 +08:00
Hui Xiang
807ba173a2
Drop deb-src for trusty-backports.
2014-09-16 09:36:24 +08:00
Hui Xiang
4beab3d4e1
Resolve conflicts.
2014-09-15 15:44:00 +08:00
Hui Xiang
8166dd9d9c
Use normal relation set for peer information.
2014-09-15 15:10:03 +08:00
James Page
b195b505cc
[gnuoy,r=james-page] Add fix for db sync race with remote MySQL ACLS.
2014-09-12 10:58:46 +01:00
James Page
6e1c54736c
[trivial] Fixup creation of vip group for HA
2014-09-04 10:19:33 +01:00
Liam Young
f16278bfce
Add unit tests for db_changed hook processing allowed_units
2014-08-28 09:12:42 +01:00
Liam Young
212019dc32
In clustered mode check if node is in databases allowed_units list before doing db work
2014-08-28 06:54:27 +00: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
472481cb8e
Haproxy needs to be installed only on trusty.
2014-08-13 14:18:05 +08:00
Hui Xiang
04d8267279
Fix error brought by merging between different branches locally.
2014-08-11 10:48:16 +08: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
ff9a867fe6
Rebase
2014-07-25 09:13:49 +01:00
James Page
f0e6737b0b
Align ha-joined hook with other charms
2014-07-16 14:33:47 +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
James Page
386a375afa
Add support for multi-vip clustering, update unit tests
2014-07-15 16:55:39 +01:00
James Page
1cc0f9d465
Tidy lint
2014-07-01 13:57:07 +01:00
James Page
5f2291a78d
Add support for multiple networks
2014-06-25 12:45:35 +01:00
Paul Collins
c1320714f6
admin_relation_changed(): private-address is a unit attribute
2014-06-25 17:17:59 +12:00
Paul Collins
18d917ed27
hooks: remove our pointless identity-admin-relation-joined hook
...
and its inspiration, identity-service-relation-joined
2014-06-25 17:17:36 +12:00
Nick Moffitt
0e37d7dcad
hostname is empty, so we use private-address now
2014-05-07 08:18:48 +01:00
Nick Moffitt
fb972f1ad2
STORED_PASSWD got capitalised in recent keystone_utils
2014-05-06 15:22:01 +01:00
Nick Moffitt
71cb3d9285
Merge hloeung's admin relation code into current trunk.
...
This is meant to fix up https://code.launchpad.net/~hloeung/charms/precise/keystone/add-admin-relation/+merge/212759 to work with the current trusty/icehouse version of the charm.
2014-05-06 14:13:30 +01:00
James Page
a3f42101cc
Final tidy
2014-04-10 17:00:28 +01:00
James Page
eed04f99f3
Deal with upgrades
2014-04-02 12:28:40 +01:00
Haw Loeung (hloeung)
fa6d646e2d
[hloeung] Renamed both type and name of relation to something less generic as per feedback from James Page. Also add missing -relation-joined hook.
2014-04-02 10:39:50 +11:00
James Page
b00bbdbcb1
Fixup relation_set post clustering
2014-03-31 16:00:14 +01:00