188 Commits

Author SHA1 Message Date
Brad Marshall
45a4294293 [bradm] Tweaked check to include host context and unit name 2014-11-04 17:16:45 +10:00
Brad Marshall
76bf12cf40 [bradm] Added support to get nagios hostname from nrpe relation 2014-10-31 14:52:27 +10:00
root
cb068a11b3 [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
Liam Young
63c65c240b [gnuoy,r=james-page] Remove code to gate on relation_ids('neutron-api') for neutron db migrations as it's racey. So, make nova-cloud-controller the neutron db master for the time being 2014-10-23 08:32:45 +01:00
Liam Young
b49791d635 Remove code to gate on relation_ids('neutron-api') for neutron db migrations as it's racey. So, make nova-cloud-controller the neutron db master for the time being 2014-10-21 13:14:49 +00:00
James Page
09f07b71a4 Pass includes as a list to avoid echoing all data 2014-10-20 14:43:49 +01:00
James Page
0e9e541784 [gnuoy,r=james-page,t=james-page] Add support for new Nova Cells service for scalable OpenStack Compute. 2014-10-13 17:18:58 +01:00
Liam Young
bfb1630b9c Merged next in 2014-10-07 11:37:20 +00:00
Liam Young
3f2d07caf3 Explicitly set nova url for cells to use 2014-10-07 09:59:18 +00:00
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
7f72cd6099 Merged next trunk in 2014-09-30 07:28:34 +01:00
Liam Young
f159f99719 Added unit tests for db migration and fixed lint 2014-09-29 14:58:29 +01:00
Liam Young
57fbe07e9c Added morecells unit tests 2014-09-29 12:37:55 +00:00
Liam Young
101ddf757e Cell server has its own relation with the rabbit server so no need to pass the details across 2014-09-29 09:05:12 +00:00
Liam Young
5bc9e8b4a6 Added some cells and amqp unit tests 2014-09-29 09:03:49 +00:00
Liam Young
cd6855eaf5 Fix lint and unit tests 2014-09-28 14:11:26 +00:00
Liam Young
8ba02546ff Merged next in 2014-09-28 13:57:28 +00:00
Liam Young
559944a920 Always trigger a cell restart when a nova-cell joins to ensure the cells process is restarted after nova-cc runs the initial nova db migration 2014-09-28 11:56:50 +00: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
444db761db Rebased 2014-09-02 12:53:12 +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