summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/neutron
AgeCommit message (Collapse)AuthorFilesLines
2017-02-09Run nova-cell_v2-discover_hosts at step 5Emilien Macchi1-1/+1
We need to run nova-cell_v2-discover_hosts at the very end of the deployment because nova database needs to be aware of all registred compute hosts. 1. Move keystone resources management at step 3. 2. Move nova-compute service at step 4. 3. Move nova-placement-api at step 3. 5. Run nova-cell_v2-discover_hosts at step 5 on one nova-api node. 6. Run neutron-ovs-agent at step 5 to avoid racy deployments where it starts before neutron-server when doing HA deployments. With that change, we expect Nova aware of all compute services deployed in TripleO during an initial deployment. Depends-On: If943157b2b4afeb640919e77ef0214518e13ee15 Change-Id: I6f2df2a83a248fb5dc21c2bd56029eb45b66ceae Related-Bug: #1663273 Related-Bug: #1663458
2017-01-27Clean TLS proxy-related setup for neutron-server profileJuan Antonio Osorio Robles1-3/+21
Since the commit this depends on sets it up via hieradata, the conditionals here are no longer needed. bp tls-via-certmonger Depends-On: I9252512dbf9cf2e3eec50c41bf10629d36070bbd Change-Id: I37275e42763e103b81878b6af07c750a524c5697
2017-01-26Use TLS proxy for neutron server's internal TLSJuan Antonio Osorio Robles1-13/+68
This uses the tls_proxy resource added in a previous commit [1] in front of the neutron server when internal TLS is enabled. Right now values are passed quite manually, but a subsequent commit will use t-h-t to pass the appropriate hieradata, and then we'll be able to clean it up from here. Note that the proxy is only deployed when internal TLS is enabled. [1] I82243fd3acfe4f23aab373116b78e1daf9d08467 bp tls-via-certmonger Change-Id: I6dfbf49f45aef9f47e58b5c0dbedd2b4e239979e
2017-01-25Remove double include of neutron::server classJuan Antonio Osorio Robles1-8/+1
This class was being included in the same way in two different branches of the code which could be joined in the initial branch (or if statement). Change-Id: Iee3c1663a2fe929b21a9c089d89b721600af66bd
2017-01-04Merge "Add the ml2_odl section when using opendalight_v2"Jenkins1-1/+1
2017-01-03Merge "Add fossw of networking-fujitsu support to puppet-tripleo"Jenkins1-0/+5
2016-12-29Add the ml2_odl section when using opendalight_v2Itzik Brown1-1/+1
Add the option to add the section of ml2_odl to ml2_conf.ini when opendaylight_v2 mechanism driver is used Change-Id: I2a1c5097614e47cc09e43bbc77305a0548d54baa
2016-12-22Merge "Split ovn plugin and northd configuration"Jenkins3-16/+63
2016-12-22Add fossw of networking-fujitsu support to puppet-tripleoKoki Sanagi1-0/+5
Enable ml2.pp to call networking-fujitsu manifest in puppet-neutron for fossw ML2 plugin setting. Change-Id: I044c5812bbc5cd3de4bc33556cffbe5bad8e64cf Implements: blueprint integration-fossw-networking-fujitsu Depends-On: I79df6b6a27d95f0c0e2c87207ab80235a4efccfc
2016-12-22Merge "Add networking-fujitsu support to puppet-tripleo"Jenkins1-0/+5
2016-12-20Decouples neutron services from OpenDaylight API serviceTim Rozet1-12/+7
Removes including Neutron services in the OpenDaylight API service. This was breaking custom roles when splitting up OpenDaylight and Neutron into different roles. Also, references to "controller" are removed because with custom roles OpenDaylight could be isolated to any role type. The 'bootstrap_nodeid' still works with any role, and only resolves to the first node in the series of nodes for that role type. Partial-Bug: 1651499 Change-Id: I418643810ee6b8a2c17a4754c83453140ebe39c7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-12Add networking-fujitsu support to puppet-tripleoKoki Sanagi1-0/+5
Enable ml2.pp to call networking-fujitsu manifest in puppet-neutron. The implementation in puppet-neutron is in progress separately. Change-Id: I5eb2c2a9c50b5991d62f4b6d74b83351c86b02de Implements: blueprint integration-networking-fujitsu Depends-On: I37a502b43eb7d91bfe20625248ed117eae3ca535
2016-11-22Split ovn plugin and northd configurationSteven Hardy3-16/+63
This allows us to use the composable services interfaces to handle providing the IP address for northd, and will be more flexible in the event folks want to deploy northd/ovndb on a different node to the neutron plugin. This also adds ovn_northd to the haproxy configuration so we can access it via the ovn_northd_vip in other service profiles. Note we need to ensure the haproxy config only hits the bootstrap node as northd won't be running on the other nodes. Change-Id: I9af7bd837c340c3df016fc7ad4238b2941ba7a95 Partial-Bug: #1634171
2016-11-21Move calculation of neutron l3_ha into puppet profileSteven Hardy1-0/+33
This is currently calculated in t-h-t but has a hard-coded reference to the ControllerCount which is incompatible with custom-roles. So instead calculate the setting based on the number of neutron API services running (on any role, not just Controller), combined with whether DVR is enabled (equivalent to current t-h-t logic). To avoid breaking the NeutronL3HA parameter in t-h-t we maintain an optional parameter to override the calculated value. Change-Id: I01c50973eec8138ec61304f2982d5026142f267c Partial-Bug: #1629187
2016-11-10Fix puppet lint failureBen Nemec1-3/+3
I'm not sure how this merged, but it's causing failures in other patches to puppet-tripleo. Change-Id: Ib20d349fa9abd6347739190bb29a02b6e3eb839d
2016-10-21Merge "Removes logic dependent on 'odl_on_controller'"Jenkins3-15/+4
2016-10-18Fixes missing ODL ML2 Authentication infoTim Rozet1-4/+16
Without this, neutron-server fails to start and communication will not work to ODL REST. Parital-Bug: 1633630 Change-Id: Ifd906db4e6062ac271c2147fe1149b1009d06ae2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-17Removes logic dependent on 'odl_on_controller'Tim Rozet3-15/+4
Since moving to composable service/roles there was some logic here that was relying on a variable to enable ODL rather than enabling the service itself to decide where ODL was enabled. Now that ODL and ODL OVS configuration are split into 2 different services we can make these truly composable. Partial-Bug: 1633625 Change-Id: Ia55c05e12d5d434111a13e1ed795da530e3ff4a5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-27Move db syncs into mysql base roleDan Prince1-4/+0
This patch moves the various DB syncs into the MySQL role. Database creation needs to occur on the MySQL server to avoid permission issues. This patch also moves database creation to step 2 so we can guarantee that all per-service databases exist at this time. This avoids complex ordering needed during step 3 where services, on different hosts, can run their own db sync's in a distributed fashion. Change-Id: I05cc0afa9373429a3197c194c3e8f784ae96de5f Partial-bug: #1620595
2016-09-02Merge "Plumgrid helper"Jenkins1-0/+45
2016-09-02Merge "Opencontrail vrouter profile"Jenkins1-0/+40
2016-09-02Plumgrid helperDan Prince1-0/+45
Extra settings that need to be applied for plumgrid where compute nodes are running. Change-Id: Ided5483f0f36f0efd5a09112832d07f028a2a7f9
2016-08-31midonet: update neutron parameterEmilien Macchi1-2/+2
Update neutron parameter to lookup the right variable in Hiera. Change-Id: I7b93e8d308f2ff2fb3a2083af75140dfa62b3ad8
2016-08-30Merge "Add ML2/OVN support for neutron profile"Jenkins3-0/+87
2016-08-29Merge "Configure the numvfs for SRIOV interfaces"Jenkins1-0/+1
2016-08-29Configure the numvfs for SRIOV interfaceskarthik s1-0/+1
This patch shall create VFs via the PCI SYS interface. Default value : $::os_service_default Sample Format : ['eth0:4','eth2:128'] For values as in sample format, the sriov_numvfs config files for eth0 and eth2 will have the values 4 and 128 respectively The SR-IOV numvfs configuration shall be persisted in /sbin/ifup-local so that, during the bootup of the compute nodes, the numvfs configuration will be restored. Change-Id: I7450b904475bdf46498d9af633416b3eba12f761 Implements: blueprint tripleo-sriov Signed-off-by: karthik s <ksundara@redhat.com>
2016-08-29Add ML2/OVN support for neutron profileBabu Shanmugam3-0/+87
Partially-Implements: blueprint refactor-puppet-manifests Depends-on: https://review.openstack.org/#/c/340343 Add OVN plugin for non-ha profiles of neutron Change-Id: I3850a8b5584eaf14a656b547f6a47008a2d1289e
2016-08-26Merge "Adds OpenDaylight"Jenkins4-0/+178
2016-08-25Merge "SR-IOV nic agent changes in line with composable roles."Jenkins1-0/+42
2016-08-13Adds OpenDaylightTim Rozet4-0/+178
Partially-Implements: blueprint opendaylight-integration Note this patch only adds support for a single ODL instance. - neutron/opendaylight.pp handles installing ODL to control nodes - ml2/opendaylight.pp handles configuring ML2 to work with ODL - ovs/opendaylight.pp handles configuring OVS to connect to ODL Change-Id: I666dc0874f1d11a72a62d796f4f6d41f7aa87a3f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-09Use modern auth options for NeutronSergey Kolekonov1-4/+4
auth plugins should be used instead of deprecated admin_* options Change-Id: I80da7ce0a3d11859dd9f2ae02cd9761b9b28ac27 Depends-on: I3018932a106df562e94067e037b3bc862be97b51
2016-08-08Fix parameters and headers inconsistency in the puppet manifests.Carlos Camacho11-88/+69
As we are staring to manually check overcloud services the first step is to check that the puppet profiles are all aligned. Changes applied: No logic added or removed in this submission. Removed unused parameters. Align header comments structure. All profiles parameters sorted following: "Mandatory params first sorted alphabetically then optional params sorted alphabetically." Note: Following submissions will check pacemaker, cinder, mistral and redis services in the base profiles as some of them has the $pacemaker_master parameter defaulted to true. Change-Id: I2f91c3f6baa33f74b5625789eec83233179a9655
2016-07-18Make ::tripleo::profile::base classes work with multiple nodesMichele Baldessari5-31/+73
In the Next Generation HA architecture a number of active/active services will be run via systemd. In order for this to work we need to make sure that the sync_db operation only takes place on the bootstrap node, just like it is done today for the pacemaker profiles. We do this by removing sync_db as a parameter and instead set it to true or false depending if the hostname matches the bootstrap_node as it is done today in the pacemaker role. Note that we call hiera('bootstrap_nodeid', undef) because if a profile is included on a non controller node that variable will be undefined. The following testing was done: - HA puppet-pacemaker.yaml scenario with three computes - NonHA with one controller - NonHA with three controllers Fixes-Bug: 1600149 Co-Author: cmsj@tenshu.net Change-Id: I04a7b9e3c18627ea512000a34357acb7f27d6e0e Implements: blueprint ha-lightweight-architecture
2016-07-13Merge "Drop the neutron dnsmasq config file options"Jenkins1-13/+0
2016-07-08Add new nuage agent profile.Dan Prince1-0/+62
The Nuage agent will also get used on compute nodes. Change-Id: Ic842ebdc183918ec9a24f83ae39adfba27bc799c
2016-07-08Add new midonet_agent profile.Dan Prince2-8/+57
We include this from the midonet profile (which is for the controller). Agent will also get used on compute nodes as well. Change-Id: I2393fc3c360f5f5786411f64dbcd06f380376093
2016-07-06Merge "neutron/plugins/ml2/bigswitch: do not require agent"Jenkins1-1/+0
2016-07-06Opencontrail vrouter profileDan Prince1-0/+40
A new opencontrail helper profile to run the vrouter. Will be included on nodes where VMs will run like compute, etc. Change-Id: I23b6e69ff75202e88722ca4f7d15a246abcd0453
2016-06-30Merge "Nova API and Neutron server should run database creation in step 3"Jenkins1-1/+1
2016-06-30Nova API and Neutron server should run database creation in step 3Giulio Fidente1-1/+1
We perform the Galera setup in step 2 so there is no guarantee that the database will be available in that same step [1]. We used to implement a dependency in puppet using the 'galera-ready' resource (clustercheck) but this is not possible with roles because we also don't have any guarantee about clustercheck being installed on the same node. Because of the above all services must create/sync their databases in a later step. This patch fixes Nova API and Neutron Server, the other services use step 3 already. 1. https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/README.rst Change-Id: I22750ffb64afbe40b5560a6a0d0dabc5b8927d32
2016-06-29neutron/plugins/ml2/bigswitch: do not require agentEmilien Macchi1-1/+0
A change in puppet-neutron now makes sure what agent has python-networking-bigswitch package which was required on the agent, so we don't need to load the plugin on the agent node anymore. Change-Id: Ibde20ddb74da10e6eb0637a9ae37a550d33c038f Depends-On: I651515b865802e59fa1234b87f82a0020e3bb9ca
2016-06-29neutron plugins: include neutron baseEmilien Macchi4-1/+11
neutron base is required by plugins to work correctly. Let's add it here so we don't have to deal with it in THT. Change-Id: Icaf6b0479297983220874d7ee9ea2c3336706332
2016-06-29Remove base/neutron/ml2.ppEmilien Macchi1-64/+0
Not used anymore. Change-Id: Id3f943132fce235a5a4888da30332b8fc2434a78 Depends-On: I6436c5c36ac0081a720cb8a737a573b1246127a1
2016-06-23SR-IOV nic agent changes in line with composable roles.Sanjay Upadhyay1-0/+42
implements: blueprint tripleo-sriov Change-Id: I3385d831a339deec7d1315f74b501e76109db811
2016-06-22Move neutron ml2 plugins in plugins dirEmilien Macchi2-0/+64
Move neutron ml2 plugins in plugins directory and make it compatible with current THT. The old class will be removed soon. Change-Id: I35332df5800083f3373f5c37411534d11e9b4401
2016-06-21Add Neutron opencontrail plugin profilesDan Prince1-0/+35
Change-Id: Ie5ac07e6dd447216f17481ea4acf3bc204926bc8
2016-06-21Merge "Add pacemaker nuage profile."Jenkins1-5/+9
2016-06-15Merge "add plumgrid neutron profile"Jenkins1-0/+37
2016-06-11Drop the neutron dnsmasq config file optionsDan Prince1-13/+0
Drop this because Mitaka neutron no longer requires configuration of the tenant MTU. Depends-On: I540ba5dc69d0506f71b59746efcce94c73f9317f Change-Id: I2afeb94e676aed952063abfcadee67bcc50eded9
2016-06-09add plumgrid neutron profileQasim Sarfraz1-0/+37
Change-Id: I8536782d433f97a9b619e54a1eb1ea0edb8fdaf0 Implements: blueprint refactor-puppet-manifests