Debian is using Python 3
By default, puppet-openstack attemps to install python-neutron-lbaas which makes neutron-server fail in Debian, because LBAAS, and neutron cannot find the LBaaS class that is normally provided by python3-neutron-lbaas (ie: the python3 version). Change-Id: Idf06d66eaea2daa1567288fbb0e33deae12b3d89
This commit is contained in:
@@ -55,10 +55,17 @@ class neutron::services::lbaas (
|
||||
include ::neutron::params
|
||||
|
||||
if $ensure_lbaas_driver_package {
|
||||
ensure_packages(['python-neutron-lbaas'], {
|
||||
ensure => $ensure_lbaas_driver_package,
|
||||
tag => ['openstack', 'neutron-package']
|
||||
})
|
||||
if ($::os_package_type == 'debian') {
|
||||
ensure_packages(['python3-neutron-lbaas'], {
|
||||
ensure => $ensure_lbaas_driver_package,
|
||||
tag => ['openstack', 'neutron-package']
|
||||
})
|
||||
} else {
|
||||
ensure_packages(['python-neutron-lbaas'], {
|
||||
ensure => $ensure_lbaas_driver_package,
|
||||
tag => ['openstack', 'neutron-package']
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
neutron_config {
|
||||
|
Reference in New Issue
Block a user