158 Commits

Author SHA1 Message Date
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
Hui Xiang
0c28438470 Remove relation prefix, which caused db sync failed and nova services upstart override. 2014-09-28 19:27:21 +08:00
Liam Young
855df430d2 Run db migrations for neutron 2014-09-26 15:46:53 +00:00
Hui Xiang
9e08a0bdb2 Use general BindHostContext, small refactor. 2014-09-25 12:01:20 +08:00
Edward Hope-Morley
54080c7146 synced /next 2014-09-22 21:32:50 +01:00
Hui Xiang
a0de0d4468 Fix format errors. 2014-09-18 20:23:54 +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
Liam Young
a2ee99f02d Having 'manual' in the upstart override file stops the service being started on reboot but not if a service restart is issued. So, updated override file to set the upstart exec command to be 'true' instead to knobble the service 2014-08-15 11:04:48 +01:00
James Page
86a554c3f3 Fixup feedback 2014-08-12 15:41:11 +01: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
a0e2e9a276 debug etc 2014-08-12 06:50:23 +00:00
Liam Young
54700bc9fc Use relation set 2014-08-11 16:01:47 +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
Liam Young
eeafe6583a Rebased 2014-07-29 14:42:08 +00:00
Liam Young
4b39b8d329 Remove none as default option for console-access-protocol and tidyup code accordingly 2014-07-29 14:34:37 +00:00
James Page
a57261cd96 Don't add neutron stuff if related to neutron-api charm 2014-07-29 14:32:55 +01:00
James Page
9c71d510bb Refine service guard function, disable by default 2014-07-29 13:23:46 +01:00
James Page
cc714dd1ae Rebase 2014-07-29 12:43:54 +01:00
James Page
34b3afafab Updates 2014-07-29 12:43:41 +01:00
James Page
afd08026c9 Make termination of services conditional on them actually running 2014-07-25 15:57:48 +01:00
James Page
c1a8cd2622 Add logging 2014-07-25 15:52:24 +01:00
James Page
6829a12f12 Add conductor to list of services to stop 2014-07-25 15:51:36 +01:00
James Page
f2293d312e Sorry - its friday 2014-07-25 15:49:32 +01:00
James Page
88f576352d Fixup 2014-07-25 15:46:40 +01:00
James Page
ad51df5cc5 Add basic service guard support to inhibit services from runnig until minimum relation requirements have been fulfilled 2014-07-25 15:39:57 +01:00
James Page
791076d575 Rebase 2014-07-25 10:38:56 +01:00
James Page
f20d0e8709 Tidy lint 2014-07-16 14:19:17 +01:00
James Page
67d87c5fcf Support multi-network vip configuration 2014-07-16 14:15:48 +01:00
James Page
1439799d74 [caribou,r=james-page] Second part of multiline SSH key and authorized host passing to nova-compute 2014-07-16 10:45:44 +01:00
James Page
df44c277d7 Rebase on next 2014-07-14 11:15:13 +01:00
Liam Young
ee0a89a5ab Added unit tests for console configuration 2014-07-10 11:11:13 +01:00
Liam Young
92a5f54e22 Fixed lint 2014-07-10 08:37:39 +01:00
Liam Young
91455c2e40 Add support for novnc proxy access 2014-07-09 16:35:00 +01:00
Liam Young
fe60fc0ae0 Add config for guest console access 2014-07-09 14:09:15 +01:00
James Page
c201dcf343 Switch to new canonical_url helper 2014-07-04 12:49:08 +01:00
James Page
6dac953777 Add extra admin-network configuration 2014-06-27 11:37:18 +01:00
James Page
96ca29d0f2 Add support for internal and public networks 2014-06-25 16:24:48 +01:00
James Page
b4ced1d09c [gnuoy,r=james-page] Refactoring to support split-out of Neutron functionality. 2014-06-24 12:43:28 +01:00
Louis Bouchard
10c27c3670 Implement changes following Merge Proposal
- Replaced uid by unit
 - Rolled back change to compute_departed
 - Use rel_settings.get()
2014-06-24 12:53:08 +02:00
Liam Young
361e6c8d34 Updated with fixes suggested from mp 2014-06-23 11:59:22 +01:00
Liam Young
4928fb51cc More unit tests and lint cleanup 2014-06-20 09:59:07 +01:00
James Page
d4a2243a32 Add hostname if present to list of hosts to keyscan 2014-06-12 10:46:56 +01:00
Liam Young
44a8d2e5e9 Add support for neutron plugin subordinate charms 2014-06-05 11:55:54 +01:00