Install python-neutron-lbaas before starting neutron
When installing onto pre-provisioned servers ("split-stack"), if the python-neutron-lbaas package is not pre-installed, the deploy would fail when Neutron LBaaS is enabled because tripleo would start Neutron before installing the required package. This commit moves neutron::services::lbaas into an earlier step to ensure the packages are installed at an appropriate time. Closes-bug: 1777023 Change-Id: I4aebcb66363918e692703d787d823ea0f39f0388
This commit is contained in:
parent
eb68ecef7f
commit
fee53d8b0d
|
@ -34,9 +34,13 @@ class tripleo::profile::base::neutron::lbaas(
|
|||
|
||||
include ::tripleo::profile::base::neutron
|
||||
|
||||
#LBaaS Driver needs to be run @ $step>=5 as the neutron service needs to already be active which is run @ $step==4
|
||||
if $step >= 5 {
|
||||
if $step >= 4 {
|
||||
include ::neutron::services::lbaas
|
||||
}
|
||||
|
||||
# LBaaS agent needs to be run @ $step>=5 as the neutron service needs to
|
||||
# already be active which is run @ $step==4
|
||||
if $step >= 5 {
|
||||
class {'::neutron::agents::lbaas':
|
||||
manage_haproxy_package => $manage_haproxy_package
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fix deployment issue where neutron-server would crash on start on
|
||||
split-stack deployments when neutron-lbaas is enabled.
|
Loading…
Reference in New Issue