154 Commits

Author SHA1 Message Date
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
Liam Young
855df430d2 Run db migrations for neutron 2014-09-26 15:46:53 +00: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
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
0a0c56e61b More peer echo 2014-08-12 07:46:32 +00:00
Liam Young
267e849cc3 More fixes 2014-08-12 07:15:59 +00:00
Liam Young
8f915a408d Taaddaa 2014-08-12 07:12:41 +00:00
Liam Young
a0e2e9a276 debug etc 2014-08-12 06:50:23 +00:00
Liam Young
c5d0df0859 Give peer-echo a go 2014-08-11 15:37:20 +00:00
Liam Young
d21d1ee7c2 Fix vip_group bug 2014-08-11 15:04:20 +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
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
54e423bbc4 Inform api server of the cell type so it can choose whether to use the nova_url 2014-07-14 14:24:30 +00:00
James Page
df44c277d7 Rebase on next 2014-07-14 11:15:13 +01:00
Liam Young
9a3403c5c5 Merged next in 2014-07-11 10:14:57 +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