Merge "Don't handle obsolete rpc_backend values"
This commit is contained in:
commit
509e3a98d2
@ -156,7 +156,7 @@ class neutron::agents::ml2::linuxbridge (
|
||||
}
|
||||
}
|
||||
|
||||
if $::neutron::rpc_backend == 'neutron.openstack.common.rpc.impl_kombu' {
|
||||
if $::neutron::rpc_backend in [$::os_service_default, 'rabbit'] {
|
||||
$linuxbridge_agent_subscribe = [
|
||||
Neutron_config['oslo_messaging_rabbit/rabbit_hosts'],
|
||||
Neutron_config['DEFAULT/transport_url']
|
||||
|
@ -576,7 +576,7 @@ deprecated. Please use neutron::default_transport_url instead.")
|
||||
}
|
||||
}
|
||||
|
||||
if $rpc_backend in [$::os_service_default, 'neutron.openstack.common.rpc.impl_kombu', 'rabbit'] {
|
||||
if $rpc_backend in [$::os_service_default, 'rabbit'] {
|
||||
if is_service_default($default_transport_url) and is_service_default($rabbit_password) {
|
||||
fail('When rpc_backend is rabbitmq, you must set rabbit password')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user