64 Commits

Author SHA1 Message Date
Liam Young
68685d59df Send remote restart to neutron plugin post upgrade
When this principle charm performs and Openstack upgrade the
subordinates packages are also upgraded. The subordinate may need
to render new config for the new release so the charm now sends a
restart trigger to the subordinate

Change-Id: Ifd5dea4e67d09dc29bb0bba579fd8903fb64490a
Partial-Bug: 1571634
2016-04-18 17:35:08 +00:00
James Page
d949eeda57 Drop support for legacy Neutron management
The nova-compute charm originally managed the Neutron services
and configuration files for the hypervisor units; this has be
devolved into subordinate charms such as neutron-openvswitch
providing a nicer separation between Nova and Neutron.

Drop remaining legacy Neutron support from this charm as it was
deprecated for removal last cycle.

Change-Id: If3bd62d169c8e8804570c75e7311bf005c13683a
2016-04-08 11:06:51 +01:00
Edward Hope-Morley
b1d232f866 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: I525c15a14662175f2a68cdcd25a3ab2c92237850
2016-03-24 11:18:41 +00:00
James Page
5805659a6f Drop support for OpenStack releases < Icehouse
Rollup configuration file templates, drop templates relating
to Quantum (renamed to Neutron@Havana).

Drop all references to Quantum and related code paths, refactor
tests to baseline on Neutron/Icehouse.

Change-Id: I900a758f2aad77f1730d7a4d822d2cbcca9b63fc
2016-03-23 12:41:02 +00:00
Liam Young
7747f7f997 [gnuoy, r=james-page]
Allow a subordinate to request a metadata proxy without setting a shared secret
2016-01-15 14:13:25 +00:00
Liam Young
fd451d3170 Fix unit test 2015-11-27 14:39:09 +00:00
Liam Young
52655c238d Allow a subordinate to request a metadata proxy without setting a shared secret 2015-11-16 11:53:00 +00:00
David Della Vecchia
3cb59eb426 Fixing merge conflict with do_openstack_upgrade 2015-10-06 16:58:22 +00:00
James Page
f6d2949992 [trivial] Fixup failing LXD unit tests, refactor invalid assert calls 2015-10-06 10:04:58 +01:00
David Della Vecchia
26162963a3 Implementing new charmhelpers-based upgrade action 2015-09-28 21:24:44 +00:00
Liam Young
4bdbac9656 [gnuoy, r=hopem] Update ceph broker code to fix Bug #1453940 2015-09-12 07:31:45 +01:00
Liam Young
0de2f1c7a7 Fix unit tests 2015-09-07 09:43:08 +01:00
Liam Young
818b1de926 Update unit test 2015-08-27 13:26:18 +01:00
James Page
3598cd5db6 Fixup imports and unit tests 2015-08-13 11:54:25 +01:00
Jorge Niedbalski
ec99a18730 Fixes bug LP: #1448143 2015-04-24 10:43:58 -03:00
Corey Bryant
621b671521 Deploy from source 2015-04-15 14:21:42 +00:00
James Page
b09a482854 Rebase, resync 2015-03-31 16:01:48 +01:00
Liam Young
ce0d92ef9f Merged next in 2015-03-31 10:35:46 +00:00
Liam Young
79c788481a Add option to stop nova-compute managing neutron packages, files and services 2015-03-31 10:27:36 +00:00
James Page
48943cbcbe [gnuoy,r=james-page] Restart libvirt-bin in ceph_joined hook to ensure that correct librbd libraries are in-use. 2015-03-31 09:49:33 +01:00
Liam Young
5d2867d0d5 Restart libvirt-bin after installing ceph-common to pick up the librbd libraries 2015-03-03 12:57:50 +00:00
Liam Young
f8ae3bfca5 Add more unit tests 2015-02-25 15:02:09 +00:00
James Page
4bb578e477 Rebase on next 2015-01-13 09:24:40 +00:00
Liam Young
53810681ad Fix unit tests 2015-01-09 15:40:46 +00:00
James Page
81c17b8c22 Rebase on next 2014-12-15 10:39:46 +00:00
Edward Hope-Morley
11f6dc1a96 synced /next 2014-12-15 10:28:47 +00:00
Corey Bryant
cdbe7da6c9 [niedbalski,r=wolsen,r=coreycb]
Add sysctl config option to allow dict of sysctl
kernel parameters to be set.
2014-12-11 20:11:41 +00:00
Jorge Niedbalski
67582c9000 lint errors fixed 2014-12-10 16:37:47 -03:00
Jorge Niedbalski
a2cfd7ea48 Addressing review comments 2014-12-10 15:52:15 -03:00
Alexander List
70e7ce6d32 [alexlist] split nonstandard path test into test for nova_compute_utils 2014-11-28 14:17:10 +00:00
Alexander List
a45c155f54 [alexlist] fix underscores to dashes in variable name, fix calls 2014-11-28 12:57:50 +00:00
Alexander List
c5c911340d [alexlist] Allow nonstandard path for authorized_keys, including unit test 2014-11-28 12:54:57 +00:00
Jorge Niedbalski
acf47589a5 [unit_test] added unit test to support "sysctl" config 2014-11-26 10:38:55 -03:00
Edward Hope-Morley
81b5205034 added libvirt_image_ceph_conf_file conf option 2014-11-13 15:46:39 +00:00
Edward Hope-Morley
b0a1482559 added missing ceph context handler and fixed unti tests 2014-11-11 15:33:14 +00:00
Liam Young
df743f5360 Fix unit tests and lint 2014-10-20 14:16:22 +00:00
James Page
01fbbe874e [gnuoy,r=james-page] Add support for separate management of neutron openvswitch configuration via subordinate. 2014-06-24 14:44:41 +01:00
Liam Young
c38fd8ec3d Fix test_amqp_changed_with_data_and_quantum to take into account the neutron-api relation check and add additional test to check neutron conf isn't written when relation is present 2014-06-24 14:43:19 +01:00
James Page
5723e62876 Add hostname to cloud-compute relation for MAAS environment SSH keyscanning 2014-06-12 10:40:30 +01:00
James Page
1a42f98392 [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:04:25 +01:00
James Page
1d49d848de tidy pre-proposal 2014-04-10 17:09:53 +01:00
James Page
5f99175a80 [yolanda,r=james-page] Add postgresql support
[james-page] Drop configuration of db connection for neutron/quantum
2014-03-31 12:00:16 +01:00
yolanda.robla@canonical.com
87653e3362 rebased 2014-03-28 12:21:02 +01:00
yolanda.robla@canonical.com
ac69ac928b added unit testing for database 2014-03-27 11:21:11 +01:00
yolanda.robla@canonical.com
82941dc507 fixed tests 2014-03-27 11:00:37 +01:00
James Page
e8cf274402 Check for correct nova user ssh import 2013-12-16 13:09:17 +00:00
James Page
6738e1b3ae Add checks for initialize_ssh_keys 2013-12-16 12:56:11 +00:00
James Page
ecab30d4f6 Add some more hook tests for resize 2013-12-16 12:54:10 +00:00
James Page
72e6c145e7 Update tests to include enable-resize operations 2013-12-16 12:50:12 +00:00
James Page
957ffb3216 [gandelman-a] Merge of changes for ODS keynotes including NVP support and service restart on db changes. 2013-11-17 21:47:29 +00:00