124 Commits

Author SHA1 Message Date
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
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
James Page
7355fd88b4 Disable service-guard by default 2014-07-29 12:50:07 +01:00
James Page
cc714dd1ae Rebase 2014-07-29 12:43:54 +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
Liam Young
ee0a89a5ab Added unit tests for console configuration 2014-07-10 11:11:13 +01:00
Liam Young
eb1439808d Remove double // from console_proxy_%s_address 2014-07-10 09:04:00 +00:00
Liam Young
0eb3081620 Install console packages in config changed incase the console protocol is changed. Fix relation set to pass ip/hostname rather than url for console_proxy_%s_host 2014-07-10 08:59:32 +00:00
Liam Young
0a34aff5ed Fix typo 2014-07-10 09:07:28 +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
98844b875e Fix url for client console access. If console property changes then inform compute nodes 2014-07-09 15:53:38 +01:00
Liam Young
1f31254df7 Fix typo in protocol key name 2014-07-09 14:57:11 +01:00
Liam Young
a45c0dd9a2 Minor bug fix 2014-07-09 14:30:59 +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
Liam Young
3dcb7b93a8 Inform neutron-api if endpoints have changed 2014-06-29 08:21:38 +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
2bc4169a9b Bug fix. Charm was looking for the wrong key in api relations s/_/-/ 2014-06-23 13:22:26 +01:00
Liam Young
976146af6b Fixed lint and unit tests 2014-06-23 12:07:35 +01: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
Louis Bouchard
10c618f1ff Add missing rel_settings test 2014-05-27 15:43:49 +02:00
Louis Bouchard
3bad8a4746 Modified relation_get mechanism in compute_changed
Get all relations in one call in use dictionary
2014-05-27 14:15:42 +02: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
Liam Young
ba576e672a Send correct api info to quantum-gateway if neutron-api charm is being used 2014-05-21 14:47:14 +00:00
Liam Young
7a00ad3307 Inform neutron gateway that the neutron api service has moved 2014-05-21 14:38:01 +00:00
Liam Young
1d0ece0e09 Stop passing Nones if neutron-api relation is present but have yet to recieve data 2014-05-16 12:22:24 +00:00
Liam Young
160b5b6a55 Set sensible defaults if still awaiting data from neutron-api 2014-05-16 11:52:56 +00:00
Liam Young
8fd3777999 Pass nova_url to neutron-api server 2014-05-16 10:52:19 +00:00
Liam Young
01dd4e680f Pass through neutron settings from api server to compute host 2014-05-16 09:04:20 +00:00
Liam Young
cf5c000e2c Move NEUTRON_CONF out of the way which as the benefit of triggering a neutron restart on api relation break 2014-05-15 14:58:51 +00: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
Liam Young
46ecc13154 Add neutron-api relation contexts 2014-05-08 19:36:17 +00:00
Louis Bouchard
9ac5f05d27 PEP8 cleanup 2014-05-06 16:09:06 +02:00