172 Commits

Author SHA1 Message Date
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
1bea39d454 [hopem,r=gnuoy]
Ensure libvirt image backend pool is configured if
RBDImageBackend enabled post-deploy.
Closes-Bug: 1489463
2016-02-22 09:33:49 +00:00
Edward Hope-Morley
6303b20ee3 [hopem,r=]
Ensure libvirt image backend pool is configured if
RBDImageBackend enabled post-deploy.
Closes-Bug: 1489463
2016-02-09 15:55:14 +00:00
Liam Young
ffd4b62965 Actually run designate hooks 2016-01-22 10:34:03 +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
ec34b4851b Inform subordinate about changes to hugepages 2015-11-25 12:48:50 +00:00
James Page
e54b35d225 Delay configuration of lxd until lxd subordinate has configure user access for nova 2015-11-16 14:39:46 +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
Corey Bryant
8f6874d8b8 [ddellav,r=corey.bryant] Action-managed upgrade support 2015-10-09 11:02:40 -04:00
David Ames
b162735770 Run even on unknown hook 2015-10-07 20:45:02 +00:00
David Ames
075143538f Run set_os_workload_status after every hook 2015-10-07 18:15:38 +00:00
David Della Vecchia
3cb59eb426 Fixing merge conflict with do_openstack_upgrade 2015-10-06 16:58:22 +00:00
David Della Vecchia
2e971f0ac8 refactoring do_openstack_upgrade to accept configs argument, bringing it in line with the other openstack charms 2015-10-06 15:38:12 +00:00
James Page
321812a64d Rebase 2015-10-01 08:59:03 +01:00
David Ames
074911ead6 Database is optional for nova-compute. Fix decorator ordering 2015-09-29 08:14:35 -07:00
David Ames
e2874fe0a1 Check for neutron plugin relation 2015-09-28 14:40:59 -07:00
David Della Vecchia
26162963a3 Implementing new charmhelpers-based upgrade action 2015-09-28 21:24:44 +00:00
David Ames
783d5ccc85 Workload Status 2015-09-25 15:12:01 -07:00
James Page
247d8808c0 Move to sub configured access, and triggered restart 2015-09-23 13:11:45 +01:00
James Page
9dcb66637b Move lxd core config to lxd charm 2015-09-23 12:48:09 +01:00
James Page
d195ba9a7e Ensure all settings provided on lxd relation before configuring 2015-09-22 15:22:50 +01:00
James Page
52e826edc4 Rebase wily support 2015-09-22 15:19:59 +01:00
James Page
ebe5493873 Revert 2015-09-22 15:19:29 +01:00
James Page
62527f7dd5 Ensure python2 is installed before hook execution 2015-09-22 14:53:11 +01:00
James Page
6253816638 Fixup wily support 2015-09-22 10:05:23 +01:00
James Page
e96f0fcb00 Add compatibility wrapper for >= wily 2015-09-22 09:29:20 +01:00
James Page
6b587f1a99 Rebase 2015-09-21 14:02:58 +01: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
Chuck Short
fcdc1431c5 Case out vivid-kilo 2015-09-04 12:58:56 -04:00
James Page
4b803e8479 Rebase on next 2015-09-03 18:04:56 +01:00
Liam Young
0a0c0a3832 Only create ceph secret if there is enough info 2015-08-27 09:41:11 +00:00
Liam Young
fea4bfe536 Switch to using shared Ceph broker code in charmhelpers 2015-08-27 09:04:55 +00:00
Liam Young
3e1adc877e Enabling hugepages should be conditional on it being requested 2015-08-19 15:07:10 +00:00
James Page
798369a6f2 psutil install 2015-08-13 10:16:35 +01:00
James Page
182f9602ee Add support for configurable hugepages 2015-08-13 10:11:23 +01:00
Chuck Short
28ae950dc7 Refactor LXD and add build from support source. 2015-07-23 22:24:48 -04:00
Edward Hope-Morley
1b78d9d56d [hopem,r=]
Ensure nova-compute service is restarted when we recieve
ack from ceph broker request so that we are sure it is
able to connect to newly created ceph resources.

Closes-Bug: 1450543
2015-04-30 19:01:22 +02:00
Jorge Niedbalski
ec99a18730 Fixes bug LP: #1448143 2015-04-24 10:43:58 -03:00
James Page
3de027273a Tidy, drop storage config 2015-04-22 10:21:01 +01:00
Corey Bryant
621b671521 Deploy from source 2015-04-15 14:21:42 +00:00
Chuck Short
d5901bb6d3 Re-add block device configuration 2015-04-02 08:49:22 -04:00
James Page
b09a482854 Rebase, resync 2015-03-31 16:01:48 +01:00
Chuck Short
bd9a0d7a4e Fix conflicts 2015-03-31 10:54:15 -04:00
Chuck Short
547e1348b8 Fix lint and start adding tests 2015-03-31 09:54:33 -04: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
Chuck Short
1966a601ee Remove lxd testing stuff 2015-03-30 10:09:08 -04:00