Commit Graph

380 Commits

Author SHA1 Message Date
Jenkins
109abb2364 Merge "Fix l3_ha enablement" 2014-12-10 16:09:38 +00:00
Javier Pena
05eb42aae9 Fix l3_ha enablement
The L3 HA feature needs to be enabled using "l3_ha=True" instead of
"ha_enabled=true".

Change-Id: I415001419474dd8d242fe238bbf88b5c45c9f3e9
2014-12-10 16:08:42 +01:00
Jenkins
3be56c82aa Merge "Add 'state_path' and 'lock_path' for Neutron::Server" 2014-12-10 14:54:19 +00:00
Jenkins
cf3110c625 Merge "Refactorise Keystone resources management" 2014-12-03 22:22:01 +00:00
Bogdan Dobrelya
094d71fc72 Add 'state_path' and 'lock_path' for Neutron::Server
Closes-bug: #1384123

Change-Id: I8a0e703231c312b80c1749174f666242d1399ab5
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2014-11-26 09:41:39 +01:00
Mathieu Gagné
42936a6370 Remove deprecated parameters
* neutron::plugins::ovs::sql_connection (deprecated since 3.0.0)
* neutron::plugins::ovs::sql_max_retries (deprecated since 3.0.0)
* neutron::plugins::ovs::sql_idle_timeout (deprecated since 3.0.0)
* neutron::plugins::ovs::reconnect_interval (deprecated since 3.0.0)
* neutron::server::sql_connection (deprecated since 4.0.0)
* neutron::server::connection (deprecated since 4.0.0)
* neutron::server::sql_max_retries (deprecated since 4.0.0)
* neutron::server::max_retries (deprecated since 4.0.0)
* neutron::server::sql_idle_timeout (deprecated since 4.0.0)
* neutron::server::idle_timeout (deprecated since 4.0.0)
* neutron::server::sql_reconnect_interval (deprecated since 4.0.0)
* neutron::server::retry_interval (deprecated since 4.0.0)
* neutron::server::log_dir (deprecated since 4.0.0)
* neutron::server::log_file (deprecated since 4.0.0)
* neutron::server::report_interval (deprecated since 4.0.0)

Change-Id: I027865f1c65e088b71ff4fa84dbed3abedd1dae9
2014-11-25 14:33:19 -05:00
Emilien Macchi
552d55fe5d Refactorise Keystone resources management
Refactorise the code of Keystone resources management with backward
compatibility since we don't modify the unit tests.

Change-Id: I8fc27ea6cc49a4c0c518f7314b3277d6980491b4
Implements: blueprint common-openstack-identity-resource
2014-11-19 23:36:22 -05:00
Yanis Guenane
663b4b16d2 policy.pp : Fix duplicate ressource issue openstacklib::policy
Currently, in the policy.pp file the class openstacklib::policy
is called. The same apply for all components resulting in a
Duplicate Ressource issue. Using directly the underlying ressource
openstacklib::policy::base we prevent this issue.

Change-Id: I7c71e957fbae4caa7a4fc3309c58a0abd057e412
2014-11-10 14:53:46 -05:00
Emilien Macchi
340abcde44 L3 Agent: allow to automatically reschedule virtual routers
In case of L3 agent failure, allow to reschedule automatically a virtual
router.

It's another way to provide HA for virtual routers with medium downtime.
The best way stays in using keepalived + DVR features but this
parameters allows another way to provide HA.

Change-Id: I0527e4a368e2b90b83877d3c7861e86674f9ae8a
2014-11-05 16:16:35 +01:00
Jenkins
23e9e3392b Merge "add config for caching metadata in memory" 2014-11-02 17:41:20 +00:00
Jenkins
6b49584e6c Merge "Neutron dep for nova_admin_tenant_id_setter" 2014-11-02 17:32:08 +00:00
Yanis Guenane
54ffe9af55 Policies: Fix potential ordering issues
Ensure the class neutron::policy is applied after the package has
been installed.

Change-Id: I0028073803add15c7a9967b646fd580599e4b3fb
2014-10-22 11:31:47 -04:00
Yanis Guenane
07546a6845 policy.json: Allow one to manage them from the puppet module
This commit allow a deployer to manage the policies via this module
It relies on augeas to change only the policy needed. The init takes
a hash of policies and apply them.

Change-Id: Iea6e7dccc2332045a2ebe191981538d045918f46
2014-10-21 16:32:03 -04:00
Tri Hoang Vo
7babb4f417 add config for caching metadata in memory
* add config metadata_memory_cache_ttl to enable caching metadata
in memory
* set default to 5 as project neutron/master

Change-Id: Ib6a05ae5033c53c4196f736373752370012d82a6
2014-10-15 15:12:32 +02:00
Jenkins
d65ffe07d3 Merge "fix dependency between ml2 configs and package" 2014-10-12 22:36:47 +00:00
Emilien Macchi
cefbdc897d Change default LBaaS user group
Change user_group default parameter:
* nobody for Red Hat systems
* nogroup for Debian systems

Closes-bug #1378519

Change-Id: Ic2940c2e3d6510d8c6147d09e2af67d8bee7ac9d
2014-10-07 17:33:41 -04:00
Chris Hoge
cd831f7a69 Install package libreswan in RHEL 7 systems for vpnaas
RHEL 7 systems have replaced the openswan package with libreswan.

Change-Id: I4c8e891b83b8301cb111af1be6e84ec4cf9c69a1
2014-10-04 19:22:59 -07:00
Jenkins
3e8f7bcf9a Merge "Fixes plugin.ini error" 2014-10-03 21:26:36 +00:00
Emilien Macchi
c4aafdd3b3 Enable DVR + HA support
Juno brings two new big features:
- distributed routers
- router high availability

This patchs aims to allow the users to configure DVR and/or HA routers.
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>

Change-Id: Iaab5ab7e63f2627381ca1d5bb1cfd836433d734e
2014-09-30 16:25:37 -04:00
Jenkins
dcd122e477 Merge "Make api_extensions_path a parameter for "neutron"" 2014-09-30 14:31:54 +00:00
Jenkins
2decc59217 Merge "Add tuning db configs" 2014-09-30 14:27:59 +00:00
Jenkins
11ec661f71 Merge "Make user creation optional when creating service." 2014-09-30 12:59:57 +00:00
Martin Gerhard Loschwitz
39b48a2bc7 Make api_extensions_path a parameter for "neutron"
Currently, the "neutron" class does not support the direct configuration
of the "api_extensions_path" by means of a parameter. However, there is
at least one plugin -- OpenContrail -- which currently requires exactly
this parameter to be set to work. It is hence desireable to be able to
set the parameter directly from within the "neutron" class instead of
having to fiddle with "neutron_config" in local site manifests.

This commit adds the desired functionality and allows the parameter via
"api_extensions_path" to be set directly for the "neutron" class.

Change-Id: I660848100073a3a0067ffb42791bfd80b66c808e
2014-09-29 16:01:40 +02:00
Clayton O'Neill
96ba789b43 Neutron dep for nova_admin_tenant_id_setter
The nova_admin_tenant_id_setter class internally generates a
neutron_config resource that isn't collected by the normal
Neutron_Config collector.  This means we need an explicit dependency
between the neutron package and any nova_admin_tenant_id_setter
resources, to ensure that the config files exist.

Change-Id: I713bd6a9cc496947f10faa3ccc67f8362c872839
2014-09-27 14:59:35 +00:00
Tri Hoang Vo
aaf25675ec Add tuning db configs
add min_pool_size, max_pool_size, max_overflow

use the same default values as neutron project

Change-Id: I9cc7744b10be03253e1dfe1efa58278d3c8539e8
2014-09-25 12:47:25 +02:00
Emilien Macchi
ef3ca7f93c /etc/default/neutron-server file is only on Ubuntu packages
The /etc/default/neutron-server file is only present in Ubuntu packages,
not in Debian.
Let's change the fact to detect Ubuntu instead of Debian operating
system.

Change-Id: Iac73b475bfc8ac7f9f97a858ab836a4d07afac5f
2014-09-20 03:07:45 -04:00
Jakub Libosvar
3445712b18 Set Neutron workers according CPU count
In order to improve scalability of neutron-server and
neutron-metadata-agent we need to spawn multiple processes. This patch
changes default of api, rpc and metadata workers according to processors
count on physical machine.

Change-Id: I0480f1652b181e50a8c10230c293d6dfdec3a670
2014-09-12 17:04:00 +02:00
Risto Laurikainen
c0f463c85f Make user creation optional when creating service.
In some cases it is useful to be able to just configure
the service in Keystone and not the service user. This
is the case when e.g. a read only LDAP backend is used.
Added parameters configure_user and configure_user_role
(default to true).

Change-Id: I6b0b7e2554e982550d71d8427ce2ea94f04f55e8
Closes-Bug: 1360232
2014-09-11 12:22:32 +03:00
Jenkins
67cc3a88ce Merge "Fixed manage_service feature" 2014-09-09 18:51:52 +00:00
Jenkins
f565bd6bd9 Merge "Adds ability to override service name for service catalog" 2014-09-03 15:12:44 +00:00
Jenkins
8467f8e6a1 Merge "Migrate mysql backend to use openstacklib::db::mysql" 2014-09-03 03:30:43 +00:00
Andrew Woodward
e7984d04ea Add rpc_workers for neutron-server
Number of separate RPC worker processes to spawn.
 The default, 0, runs the worker thread in the current process.
 Greater than 0 launches that number of child processes as workers.
 The parent process manages them.

Closes-bug: #1340316

Change-Id: I7218390a90b4ad082471900cbf2e9f32a88abe28
2014-09-02 17:47:12 -04:00
Andrew Woodward
d5a38e1451 Add kombu_reconnect_delay
The amount of time to wait before attempting to reconnect
 to MQ provider. This is used in some cases where you may need to wait
 for the provider to propery premote the master before attempting to
 reconnect.

Change-Id: I1966d9b018d056ccfe6c6346e42c4cf0ff01caa2
closes-bug: #1340310
2014-08-28 09:36:38 -04:00
Martin Magr
e396f24b5d Fixed manage_service feature
Using manage_service=>false in class neutron::agents::ovs generates
error. This patch is fixing the issue and makes mentioned use-case
installable.

Change-Id: I5a3205c3e21e1312463f47d938f5854a189c5d38
Closes-bug: #1359823
2014-08-26 17:54:12 +02:00
Mike Dorman
141e65a7dd Makes kombu_ssl_* parameters optional when rabbit_use_ssl => true
The kombu_ssl_* parameters should not be required when rabbit_use_ssl => true
Rather, rabbit_use_ssl must be set to true if the kombu_ssl_* parameters are
used.

Change-Id: Ia3d71eaccdfb736068478b935e5be46719eb49db
Closes-Bug: 1356083
2014-08-24 21:52:23 -05:00
Mike Dorman
cb98113f7a Adds ability to override service name for service catalog
Instead of forcing the name of the service in the service catalog to
match auth_name, this allows the ability to explicitly set the service
name, spearately from auth_name.

If service_name is not specified, it's value defaults to the value
of auth_name (which maintains the current behavior.)

Closes-bug: #1359755
Change-Id: Ieec7cdaab792b48c4640f6e1f2470e48640387d7
2014-08-21 09:52:06 -04:00
Jenkins
a929c1422d Merge "Add ability to manage Neutron ML2 plugin package state" 2014-08-19 17:58:50 +00:00
Colleen Murphy
513602100d Migrate mysql backend to use openstacklib::db::mysql
Implements: blueprint commmon-openstack-database-resource
Change-Id: I181ffa8ead34d37c4a5dacf2aecb3dd0506a5173
2014-08-19 08:35:27 -07:00
Mathieu Gagné
7d20fc90ed Add ability to manage Neutron ML2 plugin package state
Introduce the package_ensure parameter to add the ability
to manage Neutron ML2 plugin package state.

Closes-bug: #1355370
Change-Id: I3bf6ed68015c13cf61db1b43dfbf4fd3c845d00f
2014-08-11 14:52:08 -04:00
Jenkins
02322492a7 Merge "Hide secrets from puppet logs" 2014-08-11 17:11:42 +00:00
Kiran Chunduri
48aa3fbbe2 New manifest file to deploy Cisco N1KV-VEM
Background on 'N1KV-VEM’: It is the host-side component of N1KV
implementing the notion of Virtual Ports for VM Interfaces and also
handling the VM data-traffic. VEM is implemented as a couple of
user-space processes and also has a KLM for efficient data-path
switching.

VEM manifests does: setting up the Config-File for VEM service,
Starting VEM service and finally adding physical ports (along with
port-profile) to the VEM

Change-Id: Ibc8f1c4d2d743589e452ae6d1d87b5bfa123bc3a
2014-08-09 01:43:50 -07:00
Mathieu Gagné
c848aff801 Add plugin config file to /etc/default/neutron-server
Debian platforms uses /etc/default/neutron-server to tell
neutron-server service which plugin configuration file to load.

Configure it.

Change-Id: I0638d2584ad327ae1ed77f672d5efb1c28064aa2
Closes-bug: #1357431
2014-08-15 11:49:28 -04:00
Mike Dorman
70ef4af1e7 Makes ca_file parameter optional when use_ssl => true
The ca_file parameter should not be required when use_ssl => true.  Rather,
use_ssl must be true when ca_file is specified.

Change-Id: Ifb4b5acccdce0be63e763b4d837eb452827cd6d4
Closes-Bug: 1356089
2014-08-12 17:05:49 -06:00
Jenkins
b2f8ab7dfc Merge "Use 2.2 as the default mysql_module" 2014-07-29 23:09:02 +00:00
Jenkins
72a6567e77 Merge "minor fixes for cisco nexus ml2 plugin" 2014-07-29 05:42:57 +00:00
Jenkins
cbf0ee4e9d Merge "Make Nova_admin_tenant_id_setter notify neutron-server." 2014-07-23 11:41:24 +00:00
Jenkins
0628a0c8db Merge "agent/lbaas: fix HAproxy package relationship" 2014-07-23 08:58:48 +00:00
Sebastien Badia
c7f8696a3a Hide secrets from puppet logs
Currently secrets like rabbit_password, admin_password or database connection
are laked in puppet logs when changed. This commit changes neutron_*_config and 
neutron_*_ini types adding a new parameter that triggers obfuscation the values
in puppet logs.

Change-Id: I7dc59ce9580bfb1d4afdfbced668d0cb2979458a
Closes-Bug: #1328448
2014-07-22 13:08:00 +00:00
Jenkins
ea85cbedf1 Merge "Install neutron-plugin-ml2 package on Ubuntu" 2014-07-21 22:51:30 +00:00
Pradeep Kilambi
3848a2b411 minor fixes for cisco nexus ml2 plugin
This fix resolves the issue where the ssh keyscan
uses username instead of ip address and clean up
unneeded file path code.

Change-Id: Ie6c7889937f56b40dc72b551eb859dfc2d670193
2014-07-21 18:15:44 -04:00