196 Commits

Author SHA1 Message Date
Liam Young
298675a621 Fix lint 2015-01-09 15:50:01 +00:00
Liam Young
7353f5a8e8 Merged next in and resolved conflicts 2015-01-09 15:47:07 +00:00
Felipe Reyes
686d3a6211 Commit after pulling changes from upstream 2014-11-20 13:59:00 -03:00
Felipe Reyes
96f53714f8 Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
Brad Marshall
9ff64eeb7d [bradm] Removed nagios check files that were moved to nrpe-external-master charm 2014-11-18 11:21:15 +10:00
Brad Marshall
fcf6b86f54 [bradm] Add monitoring for sysvinit daemons, use services() instead of hard coded daemon list, pep8 fixes 2014-11-17 13:43:24 +10:00
Brad Marshall
5efd5e23ab [bradm] Check if host_context is defined before using it, checking if files before installing 2014-11-06 17:32:28 +10:00
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
Felipe Reyes
4391e60be7 Add relation with memcached to use it to store nova-authconsole tokens
Fix bug #989337
2014-10-24 10:20:36 -03: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