30 Commits

Author SHA1 Message Date
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
03b79eb287 Add unit tests for db_changed hook processing allowed_units 2014-08-28 08:55:09 +01:00
Liam Young
cdf24303d8 Lint fixes 2014-08-12 14:46:24 +00:00
Liam Young
615e17fc59 Added unit tests 2014-08-12 12:56:20 +00: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
9c71d510bb Refine service guard function, disable by default 2014-07-29 13:23:46 +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
Louis Bouchard
43d879d4fe Fix unit test following uid->unit change in hook 2014-07-16 11:40:00 +02:00
Liam Young
c04a26440d Added hook tests 2014-07-10 13:39:30 +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
Liam Young
4928fb51cc More unit tests and lint cleanup 2014-06-20 09:59:07 +01:00
Liam Young
c5eac044f7 Add unit tests for neutron-api hooks 2014-06-19 16:54:21 +01:00
Louis Bouchard
909871b19e More PEP8 cleanup 2014-05-27 16:00:56 +02:00
Louis Bouchard
f16dca68e2 Fix unit_test to honour calls with unit & relation ids 2014-05-27 15:45:33 +02:00
Louis Bouchard
ef618cd105 Add new test_compute_changed_nova_public_key unit test
Test the compute_changed hook when 'enable-resize' is
used by nova-compute
2014-05-22 14:23:16 +02:00
Louis Bouchard
23e94aa88e Adapt unit tests to changes made by previous commit
Tests now cover multi-line known_hosts & authorized_keys
2014-05-22 10:47:41 +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
James Page
21e62168fe Fixup bug in shared-db and postgresql changed hooks - neutron uses the db as well 2014-04-11 17:41:42 +01:00
James Page
4e0d91c32f Tidy before proposal 2014-04-10 17:05:53 +01:00
James Page
3bfcfb5a0a [yolanda] Add postgresql support
Rejig templates to use includes, add Postgresql context for neutron and quantum config files.
2014-03-31 12:56:09 +01:00
yolanda.robla@canonical.com
16364f3eb2 added db testing 2014-03-27 12:46:44 +01:00
James Page
3d5dbb5bda Rebase on trunk 2013-11-08 13:41:39 +08:00
Adam Gandelman
8550db788a Pass neutron data to vmw subordinte. 2013-10-29 19:28:46 -07:00
James Page
795a2f54bf Add preinstall execd hooks 2013-09-27 17:18:25 +01:00
James Page
56c717745e Tidy unit test paths to remove hooks suffix 2013-09-25 10:04:39 +01:00
Adam Gandelman
e7a2d152ec Add ssh known hosts entry for IP, FQDN and hostname of compute nodes. 2013-09-05 16:53:31 -07:00
Adam Gandelman
b64c2bd996 Add remote units private-address to ssh known hosts file, not our own. 2013-09-04 09:47:58 -07:00
Adam Gandelman
b61bdc3e1d Work around any inconsistencies in relation_get() return values when inspecting for clusteredness. 2013-08-16 17:36:55 -07:00
Adam Gandelman
f7b057ca60 Check in start of py redux. 2013-08-01 20:42:16 -07:00