Skip to content

Commit bc511d1

Browse files
authored
Merge pull request apache#79 from mrhillsman/modify-dsvm-services-for-ccm
Fixes issue apache#76
2 parents f2347cc + fe89c43 commit bc511d1

File tree

2 files changed

+15
-6
lines changed
  • playbooks/openstack-cloud-controller-manager-unittest
  • roles/create-devstack-local-conf/tasks

2 files changed

+15
-6
lines changed

playbooks/openstack-cloud-controller-manager-unittest/run.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
- clone-devstack-gate-to-workspace
55
- role: create-devstack-local-conf
66
enable_services:
7-
- 'neutron-api'
8-
- 'neutron-agent'
9-
- 'neutron-l3'
10-
- 'neutron-dhcp'
11-
- 'neutron-metadata-agent'
12-
- 'neutron-metering'
7+
- 'neutron'
138
- install-devstack
149
tasks:
1510
- shell:

roles/create-devstack-local-conf/tasks/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,17 @@
128128
environment: '{{ zuul | zuul_legacy_vars }}'
129129
when:
130130
- '"fwaas-v2" in enable_services'
131+
132+
- name: create devstack local conf with neutron enabled instead of neutron-legacy
133+
shell:
134+
cmd: |
135+
set -e
136+
set -x
137+
cat << EOF >> /tmp/dg-local.conf
138+
enable_service neutron-agent neutron-api neutron-dhcp neutron-l3 neutron-metadata-agent neutron-metering
139+
EOF
140+
executable: /bin/bash
141+
chdir: '{{ ansible_user_dir }}/workspace'
142+
environment: '{{ zuul | zuul_legacy_vars }}'
143+
when:
144+
- '"neutron" in enable_services'

0 commit comments

Comments
 (0)