Update number of replicas to reflect number of controllers
The recent change to specify "required" for anti-affinity has highlighted the fact that heat and neutron do not properly override the number of pod replicas. This causes problems on AIO-SX. Update the system overrides appropriately to set the number of replicas based on the number of controller nodes. Change-Id: I76769147c593974b1868ca8452d240ad391d0770 Story: 2004520 Task: 28633 Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
This commit is contained in:
parent
4176dceeef
commit
491c1ed330
|
@ -74,7 +74,7 @@ class HeatHelm(openstack.OpenstackBaseHelm):
|
|||
return {
|
||||
'replicas': {
|
||||
'api': self._num_controllers(),
|
||||
'cnf': self._num_controllers(),
|
||||
'cfn': self._num_controllers(),
|
||||
'cloudwatch': self._num_controllers(),
|
||||
'engine': self._num_controllers()
|
||||
}
|
||||
|
|
|
@ -49,6 +49,9 @@ class NeutronHelm(openstack.OpenstackBaseHelm):
|
|||
'neutron': {
|
||||
'uid': 0
|
||||
}
|
||||
},
|
||||
'replicas': {
|
||||
'server': self._num_controllers()
|
||||
}
|
||||
},
|
||||
'network': {
|
||||
|
|
Loading…
Reference in New Issue