aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/neutron/tasks
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake13-1180/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-12Fix placement of policy.jsonDuong Ha-Quang1-1/+10
Currently, policy.json is put in "{{ node_config_directory }}/{{ service_name }}" in target nodes. Relocation policy.json to "{{ node_config_directory }}/{{ item }}" with item is corresponding service compoment config directory. Currently, the policy.json is copied to all services, but it should be reviewed and left only in neccesary service (at many cases, only API service needs that). Redundant files will be removed in follow up patchset. Change-Id: I0e997dccf4ec438c9c0436db71ec2fd06650f50d Closes-Bug: #1639686
2016-11-04Merge "Custom policy files"Jenkins1-0/+11
2016-11-03Move precheck into its own roleJeffrey Zhang1-0/+1
* Merge prechecks.yml and site.yml playbook * Create empty precheck.yml into all roles. Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd Implements: blueprint condition-pre-check
2016-10-28Custom policy filesEduardo Gonzalez1-0/+11
Allow operators to use their custom policy files. Avoid maintain policy files in kolla repos, only copying the files when an operator add their custom config. Implements: blueprint custom-policies Change-Id: Icf3c961b87cbc7a1f1dd2ffbfffcf271d151d862
2016-10-15Fix stale namespace removal issueJeffrey Zhang1-11/+11
When using both /run and /run/netns in docker container, mount propagation won't work when delete namespace after the containers are restarted. This PS makes /run mount as shared. Closes-Bug: #1616268 Change-Id: Ie16699e1b193b2bf1263d89ea634e89ea69add9e
2016-09-27Remove do_reconfigure.yml file for all rolesJeffrey Zhang2-333/+323
do_reconfigure.yml is introduced to use serial directive. But we use it in wrong. Now serial has moved to playbook file. So it is time to remove the do_reconfigure.yml file Closes-Bug: #1628152 Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
2016-09-21Allow operators to provision multiple physical networksPaul Bourke1-1/+4
Currently Kolla operators are restricted to configuring one physical network (physnet1). This change along with ml2_conf.ini augmentation can be used to setup multiple physical networks in openvswitch. E.g. To configure two physical networks, physnet1 and physnet2, with ports eth1 and eth2 associated respectively: In /etc/kolla/globals.yml, set neutron_bridge_name: "br-ex,br-ex2" neutron_external_interface: "eth1,eth2" In /etc/kolla/config/neutron/ml2_conf.ini [ovs] bridge_mappings = physnet1:br-ex,physnet2:br-ex2 Co-Authored-By: Mick Thompson <michael.a.thompson@oracle.com> Closes-Bug: #1625700 DocImpact Change-Id: I9454ca98d9b058368129123109ccc56f95519874
2016-09-15Integrate neutron-vpnaas-agent into the neutron Ansible roleChristian Berendt8-17/+137
Implements: blueprint neutron-vpnaas-agent Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Change-Id: I1fae21f48d5beef47934aef7c23910536955f2b8
2016-09-14Merge "Add Networking-SFC role"Jenkins1-0/+49
2016-09-14Allow Neutron to be run in DVR modePaul Bourke2-4/+16
Introduces a new property "enable_neutron_dvr", along with the appropriate service and template changes to allow DVR. Closes-Bug: #1623463 DocImpact: dvr changes network data paths and adds requirements for NICs Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com> Change-Id: I87a26e9258228ae2ccb76be1e5f0bb44fac128df
2016-09-14Add Networking-SFC roleprithiv1-0/+49
Networking-SFC is a neutron big-tent project support Service Function Chaining in Neutron. * Rename the image from neutron-networking-sfc-agent to neutron-sfc-agent. * Add networking-sfc role in playbooks. Co-Authored-by: Jeffrey Zhang <zhang.lei.fly@gmail.com> Change-Id: I1f99650eed85f59929d4ab6b2226603c54f29577 Implements: blueprint enable-networking-sfc-support
2016-09-13Added serial option to site.yml.Mick Thompson2-2/+0
Useful for upgrade etc., which is preferablly done serially. Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade Closes-Bug: #1576708 DocImpact Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
2016-08-15Merge "Fix the neutron-lbaas-agent container issues"Jenkins2-0/+2
2016-08-09Port with_ loop variable syntax to Ansbile 2Duong Ha-Quang1-4/+4
Migrate to full variable syntax in with_ loop instead of bare variables for: - ceph - ceilometer - glance - heat - horizon - keystone - mariadb - memcached - neutron - nova - rabbitmq Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08 Partial-Implements: blueprint ansible2
2016-07-27Fix the neutron-lbaas-agent container issuesJeffrey Zhang2-0/+2
* copy the ml2_conf.ini file to the container * map the host /etc/localtime file to the container * remove the output_file and wrap_with options in the lbaas_agent.ini file, which are useless * remove the interface_driver in the lbaas_agent, which is configured in the neutron.conf file * install net-tools package into the container, which is used by the neutron-lbaas Change-Id: Ia58d825e41d3b843d8c6e6b3c9ee1756c1aed1ac Closes-Bug: #1606755
2016-07-27Use the node_custom_config variable in the config.yml fileJeffrey Zhang1-1/+1
Fixed the ceilometer and neutron lbaas agent. TrivialFix Change-Id: Ie06826eb358e1a6487f96a978d8f191d79a0e054
2016-06-27Merge "Enable openvswitch container logs in host volumes"Jenkins1-0/+2
2016-06-26Enable openvswitch container logs in host volumesHui Kang1-0/+2
Allow heka container to pick up the openvswitch logs like other services Change-Id: I396ae9419540070c6ab01b8f62607ab46b1f08aa closes-Bug: #1573199
2016-06-14Makes ml2_conf.ini configuration consistentDerek Ditch1-1/+1
Change-Id: I10f2209428b21cd3dedb6b7fb14e9de34bbf3fa4 Closes-Bug: 1592444
2016-06-09Merge "Fix the neutron reconfigure issue"Jenkins1-8/+16
2016-06-07Fix the neutron reconfigure issueJeffrey Zhang1-8/+16
The newly added lbaas agent crashes the neutron reconfigure. This PS fix the issue. TrivialFix Change-Id: I170ab809e9880fd7b1edcee68409c4a7b373e700
2016-06-03Add vars to the merge_config task in config-neutron-fake.ymlHui Kang1-0/+4
Change-Id: I3cb6c6a1879bb463da42d5d20fd6bb5d4b067a41 Closes-Bug: #1588722
2016-05-27Adds Neutron LBaaS SupportDaneyon Hansen7-0/+79
Previously, kolla did not support neutron lbaas functionality. Only Lbaasv2 is supported in Mitaka. Additional information can be found here: http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html Magnum uses Neutron Lbaas to provide high availability to COE API and Etcd endpoints within a bay. Therefore, Neutron Lbaas is required for Kolla to support Magnum. Co-Authored-By: Serguei Bezverkhi <sbezverk@cisco.com> Partial-Bug: #1551992 Change-Id: I05360b7c447c601fcb3c2b6b2a913ef5cc0f3a1b
2016-05-26Merge "add support for non-default database_port in kolla/ansible"Jenkins1-0/+2
2016-05-23Make configurable the location where config files are mergedRyan Hallisey2-20/+20
An operator may want to specify the location of custom config files so that kolla can detect their location and merge them with the default configs generated. Partially implements: blueprint multi-project-config Change-Id: Ibfb38d07a36dfa7fe25381adc34cc1d3cbe7d1e1
2016-05-18Fixed typos in Ansible filesFrancesco Vollero2-2/+2
Files affected: - ansible/roles/ceph/tasks/bootstrap_mons.yml - ansible/roles/neutron/tasks/deploy.yml - ansible/roles/neutron/tasks/start.yml TrivialFix Change-Id: Ic4b624cfe0ae4d73b49e616319e9db2229931249
2016-05-13add support for non-default database_port in kolla/ansibleWaldemar Znoinski1-0/+2
This change makes each step of the kolla deployment aware of the port database was configured to listen on. It defaults mariadb_port to database_port. Change-Id: I8e85d5732015afc0a5481cb33e0b629fdfa84a1b Closes-Bug: #1576151 DocImpact
2016-05-03map the host localtime to the containerJeffrey Zhang2-0/+10
Closes-Bug: #1577148 Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-04-10Fix the neutron reconfigure issue when enable linuxbridge-agentJeffrey Zhang1-1/+1
Change-Id: I69a19a028fd0ac7f88f84ba1ff246e91d2a8c223 Closes-Bug: #1568424
2016-04-05Fix the Neutron reconfigureJeffrey Zhang2-58/+52
Closes-Bug: #1566360 Change-Id: I8eaab1df0c85c6a0bd60a13851f8716cc5dcfa59
2016-03-21Merge "Install neutron in manila-share group only when enable_manila is true"Jenkins4-21/+21
2016-03-21Install neutron in manila-share group only when enable_manila is trueJeffrey Zhang4-21/+21
TrivialFix Change-Id: Idfc5d03d3359003cdb82b85b71b87ccefd4a0a43
2016-03-21Fix Linux bridge reconfig issueVikram Hosakote1-1/+1
This bug was reported by eandersson in IRC today. TrivialFix Change-Id: I3100d2bc567f641894817bd9cf3b2213416085b2
2016-03-17Allow per node configuration with augmentsSamYaple2-0/+4
This type of per node configuration is required to support things like availability zones for nova. As always, if this file doesnt exist it doesnt get used so this change is safe. TrivialFix Change-Id: Iff8172af522c2c96e5f2c173b24a5dfd4d522ed2
2016-03-15Switch to with items for sysctlSamYaple1-10/+5
This will give more info to the user about the specific values being set and allows us to grow this list easier. TrivialFix Change-Id: Iaf22bf2c9f4ab294bec0cca17699d461852109ac
2016-03-03Merge "Reconfigure neutron service"Jenkins2-0/+280
2016-03-03Fix Keystone v3 and HorizonSamYaple1-3/+6
After our switch to keystone-manage bootstrap Horizon is not happy due to v3 not being setup correctly. This patch fixes that This also includes removal of unused variables (transforms them into endpoint url variables) TrivialFix Change-Id: I1e04db8c24049f80e974c063f03068a2ab32a563
2016-03-03Reconfigure neutron serviceVikram Hosakote2-0/+280
This patch set implements reconfiguring the neutron service. Change-Id: I028a91761de2ff7c6dee563259181b946e8312ea Partially-implements: bp kolla-reconfig
2016-02-29Remove the role path from the template srcAllen Gao1-1/+1
The path of the template file under the same role can easily be omitted, and we are using this omitting in most places except those this commit is fixing. TrivialFix Change-Id: I6d1563e235151669d9d9268d69555aae15e31926
2016-02-28Fix the syntax error for manila in neutron roleJeffrey Zhang3-12/+12
This is introduced by I21904659b1789fa71118401bfb6ac2227ae564da TrivialFix Change-Id: I8ab62c5b6c69e198e29205518941a9b0054c105f
2016-02-27Merge "Change kolla_internal_address variable"Jenkins1-3/+3
2016-02-26Merge "Neutron ugprade play"Jenkins3-18/+42
2016-02-26Change kolla_internal_address variableSamYaple1-3/+3
Due to poor planning on our variable names we have a situation where we have "internal_address" which must be a VIP, but "external_address" which should be a DNS name. Now with two vips "external_vip_address" is a new variable. This corrects that issue by deprecating kolla_internal_address and replacing it with 4 nicely named variables. kolla_internal_vip_address kolla_internal_fqdn kolla_external_vip_address kolla_external_fqdn The default behaviour will remain the same, and the way the variable inheritance is setup the kolla_internal_address variable can still be set in globals.yml and propogate out to these 4 new variables like it normally would, but all reference to kolla_internal_address has been completely removed. Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5 Partially-Implements: blueprint ssl-kolla
2016-02-26Add suport to neutron-agents and ovs runs in storage nodeMauricio Lima3-0/+12
The generic driver for manila need the neutron agents and OVS / Linuxbridge running on the same node as manila_share. This is necessary when the DHSS (Driver Handles Share Servers) is the value "True", so that the manila_share can talk with NFS manager. Change-Id: I21904659b1789fa71118401bfb6ac2227ae564da Partially-Implements: blueprint enable-manila-containers
2016-02-26Neutron ugprade playSamYaple3-18/+42
Since openvswitch is handled in the kernel, it really is as simple as upgrade the container since the container only has userspace tools in it. Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-neutron Change-Id: Iec57c67a1ccba8f48b752fe832cd714bcc658af0
2016-02-25Add the default empty reconfigure.yml file to all rolesJeffrey Zhang1-0/+1
DocImpact Partially-implements: bp kolla-reconfig Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-19Make Heka collect Neutron logsÉric Lemoine2-8/+10
Partially implements: blueprint heka Change-Id: I70e94f4ef7380c6f376a3066d7ddda042c703637
2016-02-17Merge "Move socket binding to named_volume"Jenkins1-7/+7
2016-02-16Move socket binding to named_volumeSamYaple1-7/+7
The extend_start.sh script for rsyslog is removed as it is no longer needed. Docker no longer binds to /dev/log or /run/kolla/log Closes-Bug: #1544545 Change-Id: Ic0a323a26ee4e9e15baf4598285844a8a4955f23