Skip to content

Commit

Permalink
Merge pull request apache#79 from mrhillsman/modify-dsvm-services-for…
Browse files Browse the repository at this point in the history
…-ccm

Fixes issue apache#76
  • Loading branch information
mrhillsman committed Mar 12, 2018
2 parents f2347cc + fe89c43 commit bc511d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
- clone-devstack-gate-to-workspace
- role: create-devstack-local-conf
enable_services:
- 'neutron-api'
- 'neutron-agent'
- 'neutron-l3'
- 'neutron-dhcp'
- 'neutron-metadata-agent'
- 'neutron-metering'
- 'neutron'
- install-devstack
tasks:
- shell:
Expand Down
14 changes: 14 additions & 0 deletions roles/create-devstack-local-conf/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,17 @@
environment: '{{ zuul | zuul_legacy_vars }}'
when:
- '"fwaas-v2" in enable_services'

- name: create devstack local conf with neutron enabled instead of neutron-legacy
shell:
cmd: |
set -e
set -x
cat << EOF >> /tmp/dg-local.conf
enable_service neutron-agent neutron-api neutron-dhcp neutron-l3 neutron-metadata-agent neutron-metering
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
when:
- '"neutron" in enable_services'

0 comments on commit bc511d1

Please sign in to comment.