62 Commits

Author SHA1 Message Date
Ionut Balutoiu
353ab6f9f8 Added Hyper-V networking support
This patch adds hyperv mechanism driver to ml2_conf.ini template
and the required python package to the list of packages to install.

Change-Id: If23f22aea53ba5549160f44442567d57b8077af6
2016-07-08 11:42:31 +03:00
Alex Kavanagh
638e06de08 Fix for multiple status-set - related to bug 1588462
This change fixes the obvious race for a status_set() between
check_optional_interfaces() and assess_status() as the later calls the former
which calls status_set(), returns the status, which is then potentially set
again by the assess_status() function.  This cleans up the code so that only a
single status_set() is performed when calling assess_status().

Change-Id: Ic5d0be6e1f7a2283e4dd0594c6465a99497dbbec
Related-Bug:#1588462
2016-06-16 10:35:37 +00:00
Liam Young
dd5bc11622 No db stamp for upgrade from Liberty
Stamping the Neutron db for Liberty fails and appears to be
unneccesary.

Change-Id: I93ff69db57bc3418a4c73e79e884f5c85d533f99
Closes-Bug: 1536675
2016-04-18 14:21:33 +00:00
James Page
e1d5e7ef68 Full control of db migrations
Earlier versions of the nova-cloud-controller charm controlled
upgrades of the neutron databases; this has now been dropped
from the nova-cloud-controller charm.

Drop logic around conditional migration related to OpenStack
releases and always migrate the neutron database, so long as
the unit is the lead unit.

Change-Id: I944621203e8f4a2337151f2d406fe0f2c7d1a71f
2016-04-11 16:37:03 +01:00
Edward Hope-Morley
1ef99d852e 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: I46e1b43df3a5e59018f604ce1ae20bd62744a45b
2016-03-31 10:40:23 +01:00
Liam Young
9be47125b5 Add pause/resume actions and sync charm-helpers
Adds pause and resume unit to the charm such that the
charm stays paused during maintenance operations.

Partial-Bug: 1558642
Change-Id: Id5c44143f30305a3c412648cebb4c30caaa3e789
2016-03-20 14:25:47 +00:00
Neil Jerram
892db0dbd7 Changes for Calico networking with OpenStack Liberty
- Stable PPA source for Liberty onwards
- New neutron.conf for Liberty without dhcp_agents_per_network = 1000
- Testing for PPA source

Change-Id: I6ebee0ac3704a56f31ffbd48206360a3f0ba267a
2016-03-04 16:21:18 +00:00
sunny.verma@nuagenetworks.net
0009140792 fixed lint error 2016-02-24 18:26:15 -05:00
sunny.verma@nuagenetworks.net
8dd25c9aa0 Merged from lp:~openstack-charmers/charms/trusty/neutron-api/next 2016-02-24 17:35:54 -05:00
sunny.verma@nuagenetwork.net
a6b315e66f Removed lint errors and Added correct unit test 2016-02-19 21:27:40 -05:00
Adam Gandelman
86f6174d5f Advertise API readiness to subordinates, allow subordinate specification of api_extensions
This advertises API readiness to subordinates via a new flag int the subordinate
relation. It determines readiness by the completion of required contexts. This
simply means the API service has enough of its topology completed to begin
servicing requests, and it has at least *started* the service (from the POV of
the init system). Its up to the subordinate service to ensure the API is
functional.

It also allows subordinates to specify custom api_extension_paths to neutron-api.
2016-02-03 11:17:14 -08:00
Subbarayudu Mukkamala
428b5d1918 Merge from lp:~openstack-charmers/charms/trusty/.../next/ 2015-10-27 07:50:30 -07:00
James Page
e44d898e0c Fixup more lint 2015-09-16 10:20:49 +01:00
James Page
d36d90689e Fixups for liberty b3 support 2015-09-15 09:28:02 +01:00
James Page
f87ad07e29 [project-calico,r=james-page] Add support for Calico plugin 2015-09-04 12:03:14 +01:00
James Page
9457427f4d Switch to using neutron-common for package version detection 2015-09-03 10:16:17 +01:00
Cory Benfield
8d5aa82328 synced /next 2015-08-21 08:33:43 +01:00
Subbarayudu Mukkamala
37802d3866 Merge from lp:~openstack-charmers/.../next 2015-08-20 06:45:36 -07:00
Liam Young
421056efa5 [gnuoy, r=jamespage] Add support for neutron-plugin-api-subordinate relation 2015-08-12 11:40:58 +01:00
Subbarayudu Mukkamala
97d0cc4d07 Merge from lp:~openstack-charmers/.../next 2015-07-26 19:42:50 -07:00
Liam Young
a6c3663eb8 Add unit tests for new utils and add missing relation hook links 2015-06-30 10:03:16 +01:00
James Page
2d2e950e8f Fixup upgrades to ensure that only the leader attempts to migrate the database 2015-06-29 12:33:36 +01:00
Cory Benfield
4629d6b115 Select install location from openstack-origin 2015-06-16 10:25:27 +01:00
Cory Benfield
c9485bb7c6 Patch out shutil.rmtree locally 2015-06-10 07:37:40 +01:00
Subbarayudu Mukkamala
ce0b5b9dcd Merge with ~openstack-charmers/charms/trusty/neutron-api/next 2015-05-27 15:53:45 -07:00
Corey Bryant
8fe5cb7ed0 Add symlink for neutron-db-manage 2015-05-08 16:46:38 +00:00
Corey Bryant
59fcf046c4 Patch out pip_install 2015-05-08 12:38:19 +00:00
Corey Bryant
722ccb5a3a Unit test updates 2015-05-07 18:47:03 +00:00
Corey Bryant
76eaa4c397 Unit test updates 2015-05-07 17:11:14 +00:00
Corey Bryant
e0fcd6b387 Merge trunk 2015-05-05 20:25:52 +00:00
Corey Bryant
3f9996a970 Update unit tests 2015-05-05 19:55:25 +00:00
Cory Benfield
eff8938d26 synced /next 2015-04-23 14:10:48 +01:00
Liam Young
b74d932f86 Merge next 2015-04-23 08:35:40 +01:00
Liam Young
25a505a986 Add unit tests and fix up conditional_neutron_migration 2015-04-22 18:50:48 +00:00
Liam Young
88701a5445 Test that neutron can be queried before checking dvr and l3ha settings. Add unit tests for this change and a few additional tests to improve l3ha and dvr coverage 2015-04-21 08:46:00 +00:00
Subbarayudu Mukkamala
d49d7a5ca4 Add unit tests and Fix lint errors 2015-04-19 14:46:06 -07:00
Corey Bryant
3b861a1116 Change default mkdir permissions to 755 for deploy from source 2015-04-17 12:12:02 +00:00
Cory Benfield
5bb662b2bc Templates and tests. 2015-04-16 15:06:49 +01:00
Corey Bryant
687715ba6f Bulk copy files to /etc/neutron 2015-04-13 18:46:36 +00:00
Corey Bryant
864216f5b9 Move deploy from source template files to templates/git 2015-04-13 14:06:14 +00:00
Corey Bryant
18be463b62 Deploy from source 2015-04-02 20:15:28 +00:00
Cory Benfield
3cd9273298 Update to use public PPA location for Calico. 2015-03-13 09:13:22 +00:00
Cory Benfield
0f347b7911 sync /next 2015-03-10 16:38:49 +00:00
Cory Benfield
7f72f78f65 Make Calico package source configurable. 2015-02-04 16:40:14 +00:00
James Page
392f420eca Add kilo support 2015-01-20 14:15:55 +00:00
Cory Benfield
40de740176 Fixup lint errors. 2015-01-20 13:30:17 +00:00
Cory Benfield
474849645b Fix broken unit tests. 2014-12-02 16:33:49 +00:00
Cory Benfield
ff6ecf4f35 Fixup generic breakages. 2014-11-21 11:14:05 +00:00
Edward Hope-Morley
11f96d4d02 [hopem] fix unit tests 2014-11-18 18:59:46 -06:00
Liam Young
f356970aeb Remove code to run neutron-db-manage from neutron-api as it's racey with the nova-cc 2014-10-21 13:07:03 +00:00