168 Commits

Author SHA1 Message Date
James Page
eee9635e0d Rebase, resync 2014-10-02 10:22:36 +01:00
James Page
525808f2c4 [xianghui,dosaboy,r=james-page,t=gema] Add IPv6 support using prefer-ipv6 flag 2014-10-01 22:12:24 +01:00
Liam Young
ac6cd14a8b Don't run neutron db migrations pre-juno as neutron-server does it itself 2014-10-01 08:01:04 +00:00
Edward Hope-Morley
61f72f8d88 synced charm-helpers 2014-09-30 13:42:04 +01:00
James Page
0fc9af6238 Resync helpers, deal with clustered HA + HTTPS 2014-09-30 09:24:17 +01:00
Hui Xiang
bb255d98af Merge trunk, refactor codes. 2014-09-30 14:59:57 +08:00
Hui Xiang
8053280bd2 Refactor codes. 2014-09-30 14:48:02 +08:00
Liam Young
f159f99719 Added unit tests for db migration and fixed lint 2014-09-29 14:58:29 +01:00
Edward Hope-Morley
dabd58ac71 more 2014-09-26 20:15:49 +01:00
Hui Xiang
6e257cec1f sync_db_with_multi_ipv6_addresses 2014-09-27 01:17:47 +08:00
Liam Young
855df430d2 Run db migrations for neutron 2014-09-26 15:46:53 +00:00
James Page
d6d14d9be1 Add cluster-relation-joined hook to ensure that internal address network is used if connected 2014-09-26 12:29:28 +01:00
James Page
50f0f4f143 Drop a few more conditional sets of relation data 2014-09-26 11:18:24 +01:00
James Page
24250864c0 Always present endpoints to keystone - this will just dtrt 2014-09-26 11:16:37 +01:00
Hui Xiang
9e08a0bdb2 Use general BindHostContext, small refactor. 2014-09-25 12:01:20 +08:00
Hui Xiang
0902a9f94b Set private-address for peer cluster. 2014-09-23 14:52:16 +08:00
Hui Xiang
d66946ebb9 Fix cluster issue for ipv6. 2014-09-23 11:51:18 +08:00
Hui Xiang
059630196e Fix cluster 2014-09-23 11:30:02 +08:00
Edward Hope-Morley
54080c7146 synced /next 2014-09-22 21:32:50 +01:00
Hui Xiang
763a73cb54 Excludes vip from get_ipv6_addr(). 2014-09-21 23:09:22 +08:00
Hui Xiang
3146e68597 Use get_ipv6_addr()[0] directly. 2014-09-20 00:09:06 +08:00
Hui Xiang
a0de0d4468 Fix format errors. 2014-09-18 20:23:54 +08:00
Hui Xiang
3294e949c8 Fix ipv6 format and drop peer_store() 2014-09-17 22:05:31 +08:00
Hui Xiang
0c34eae15d Sync charm-helpers, fix ipv6 format address. 2014-09-17 16:37:24 +08:00
James Page
055823c1de Only check for presence of relation when using peer relation for storage and sync 2014-09-12 14:57:42 +01:00
James Page
4e3db0b330 [gnuoy,r=james-page] Ensure services are not running prior to a db sync.
Resolves two issues

1) Co-ordination of db sync activity across multiple nodes.

2) Ensures services are not started unil db sync is complete.
2014-09-12 14:24:16 +01:00
James Page
a60b21f328 [james-page,r=tribaal] Add sane defaults and options for configuring the number of API works and the default CPU overcommit ratio for compute. 2014-09-12 11:43:19 +01:00
James Page
48057bc68e [gnuoy,r=james-page] Add fix db sync race with remote MySQL ACL's in HA configurations. 2014-09-12 11:02:23 +01:00
James Page
e0bc4ee6c3 [trivial] Fixup creation of vip group for HA 2014-09-04 10:20:50 +01:00
James Page
6b164ebf7f [trivial] ensure neutron/quantum configuration is registered before writing 2014-09-04 08:55:09 +00:00
Liam Young
783f62adc0 In clustered mode check if node is in databases allowed_units list before doing db work 2014-08-28 07:30:54 +00:00
Hui Xiang
ddf4fbc2ae Sync charm-helpers, support haproxy for IPv6. 2014-08-21 17:04:33 +08:00
Liam Young
64c608704c Added additional logging and only use peer_* commands if the peer relation exists 2014-08-12 10:21:56 +00:00
Liam Young
0ca9273c32 Shutdown nova-cloud-controller services when nova db sync is run for db relation joined 2014-08-12 10:07:44 +00:00
Liam Young
0a0c56e61b More peer echo 2014-08-12 07:46:32 +00:00
Liam Young
267e849cc3 More fixes 2014-08-12 07:15:59 +00:00
Liam Young
8f915a408d Taaddaa 2014-08-12 07:12:41 +00:00
Liam Young
a0e2e9a276 debug etc 2014-08-12 06:50:23 +00:00
Hui Xiang
6645be5e2b Sync charm-helpers, fix nits. 2014-08-12 10:50:23 +08:00
Liam Young
c5d0df0859 Give peer-echo a go 2014-08-11 15:37:20 +00:00
Liam Young
d21d1ee7c2 Fix vip_group bug 2014-08-11 15:04:20 +00:00
Liam Young
4b1075918b Disable services on all nova-cc nodes until dbsync is complete 2014-08-11 13:42:11 +00:00
James Page
d1df46a71e Rebase on trunk 2014-08-08 11:31:32 +02:00
Hui Xiang
999d2e70f6 Support nova-cloud-controller for IPv6. 2014-08-06 20:46:50 +08:00
James Page
4e7f3a8423 [gnuoy,r=james-page,t=james-page] Add support for console access to instances. 2014-07-31 16:34:23 +01:00
Yaguang Tang
2e94ef4fe5 Update nova configuration file to use vip when in ha clustering mode. 2014-07-31 10:03:29 +08:00
Liam Young
8f459e2208 README update, enable ability to explictly set the use of the nova-cc address and use the PUBLIC address 2014-07-30 10:49:59 +00:00
Liam Young
de639553ab Set console_settings for compute node if leader or not as leadership is irrelevant and stale settings can persist otherwise 2014-07-30 10:20:43 +00:00
Liam Young
eeafe6583a Rebased 2014-07-29 14:42:08 +00:00
James Page
804671d532 Ensure services are disabled if required relations are broken 2014-07-29 13:25:27 +01:00