149 Commits

Author SHA1 Message Date
Hui Xiang
0c34eae15d Sync charm-helpers, fix ipv6 format address. 2014-09-17 16:37:24 +08: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
Louis Bouchard
c2a29b7eb7 Modify hook funcions & util to work in non-relation hooks
Some hook functions did not work when invoked from non-relation 
hooks (compute_changed in particular). Modified all utils 
hook functions to honour relation-id & unit-id when required
2014-05-23 17:24:52 +02:00
James Page
d3e244b0fb [tribaal,r=james-page,t=james-page]
Resync helpers to pickup fixes for apt lock races and better block device detection and handling.
2014-05-21 11:03:01 +01:00
Liam Young
ce1fe0d102 unset keystone quantum enpoints when the standalone charm takes over 2014-05-15 13:19:07 +00:00
Liam Young
40b345658d Don't write {neutron,quantum} files if standalone neutron-api is present 2014-05-15 08:26:56 +00:00
Liam Young
0b55e92ead Add support for joining charm to standalone neutron-api service 2014-05-15 08:25:56 +01:00
James Page
fafa49d96d Rebase 2014-05-14 17:39:27 -04:00
James Page
c8c798ff14 Add knob for changing cpu_allocation_ratio and turn it on by default 2014-05-14 15:29:10 -04:00
Liam Young
46ecc13154 Add neutron-api relation contexts 2014-05-08 19:36:17 +00:00
Louis Bouchard
a90d360ec3 Send known_hosts & authorized_keys line by line
known_hosts and authorized_keys used to be sent as one
base64 coded relation. This fails if those files are too
big. These modification allow for files of any size to be
sent as they are now sent line by line. (Fixes LP: #1313602)
2014-05-06 16:22:09 +02:00