Skip to content

Commit

Permalink
Fix VPNaaS setup
Browse files Browse the repository at this point in the history
We have to use neutron::services:vpnaas in the controller node (not
in the network node), and remove the service_providers entry from
the plugin, as it is already done in the Puppet code.

Backport: stable/ocata

Change-Id: I11efcd52b0f591bcebdccbf4c68551c8faaf5f5d
  • Loading branch information
javierpena committed Mar 8, 2017
1 parent 9544341 commit 7ebadae
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ This is the current matrix of available tests:
| nova | X | X | X |
| neutron | X | X | X |
| lbaasv2 | | X | |
| vpnaas | | X | |
| cinder | X | | |
| ceilometer | | | X |
| aodh | | | X |
Expand Down
4 changes: 4 additions & 0 deletions packstack/puppet/modules/packstack/manifests/neutron/api.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,9 @@
class { '::neutron::services::lbaas': }
}

if $neutron_vpnaas_enabled {
class { '::neutron::services::vpnaas': }
}

Class['::neutron::server'] -> File['/etc/neutron/api-paste.ini']
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@
class { '::neutron::agents::vpnaas':
enabled => true,
vpn_device_driver => 'neutron_vpnaas.services.vpn.device_drivers.libreswan_ipsec.LibreSwanDriver',
} ->
class { '::neutron::services::vpnaas':
service_providers => 'VPN:libreswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default',
notify => Service['neutron-server'],
}
}
1 change: 1 addition & 0 deletions tests/scenario002.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $SUDO packstack ${ADDITIONAL_ARGS} \
--nagios-install=n \
--glance-backend=swift \
--os-neutron-lbaas-install=y \
--os-neutron-vpnaas-install=y \
--os-sahara-install=y \
--os-trove-install=y \
--keystone-token-format=UUID \
Expand Down

0 comments on commit 7ebadae

Please sign in to comment.