commit cbb036fcc3dcb512dbfeb84d06392b9a7ddba12f
Author: Aleksandr Didenko <email address hidden>
Date: Mon May 30 16:34:35 2016 +0200
Make network configuration idempotent
Remove configure_default_route task to make network configuration
idempotent for majority of roles. 'Netconfig' task on all
non-controller (except mongo) nodes will be executed after 'virtual_ips'
task on controllers. So there's no need to reconfigure default route
afterwards.
Only mongo roles still have non-idempotent network configuration during
the first deployment run, because mongo nodes are deployed before
controllers in role-based deployment and no VIPs are configured yet.
Also, instead of having one default gateway in Hiera and then replacing
it with another one on the fly, let's create a new task that will simply
put new gateway to Hiera and thus we'll have consistant configuration
data for future runs of 'netconfig' task even on mongo roles.
Reviewed: https:/ /review. openstack. org/324307 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=cbb036fcc3d cb512dbfeb84d06 392b9a7ddba12f
Committed: https:/
Submitter: Jenkins
Branch: master
commit cbb036fcc3dcb51 2dbfeb84d06392b 9a7ddba12f
Author: Aleksandr Didenko <email address hidden>
Date: Mon May 30 16:34:35 2016 +0200
Make network configuration idempotent
Remove configure_ default_ route task to make network configuration
idempotent for majority of roles. 'Netconfig' task on all
non-controller (except mongo) nodes will be executed after 'virtual_ips'
task on controllers. So there's no need to reconfigure default route
afterwards.
Only mongo roles still have non-idempotent network configuration during
the first deployment run, because mongo nodes are deployed before
controllers in role-based deployment and no VIPs are configured yet.
Also, instead of having one default gateway in Hiera and then replacing
it with another one on the fly, let's create a new task that will simply
put new gateway to Hiera and thus we'll have consistant configuration
data for future runs of 'netconfig' task even on mongo roles.
DocImpact
Change-Id: I7269a6f632f9ab 9c88d73be1ef6c0 4094c49889b
Closes-bug: #1541309