Compressed-HA disabling haproxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
Undecided
|
Unassigned |
Bug Description
In the compressed HA scenario, haproxy and keepalived gets installed on every server which is fine. There is only mechanism for MASTER/BACKUP however for load balacner and keepalived configurations. Master gets instantiated with VRRP priority of 101 and BACKUP gets instantiated with VRRP priority of 100, which really is only valid for two nodes. The third node using BACKUP still uses VRRP priority of 100 which may cause conflicts during failover scenario. We should try and parameterize priority variable or be able to account for 3 nodes in the compressed_ha scenario.
It is currently hardcoded in the openstack-
openstack-
openstack-
Any update on fixing this.
What needs updated is parametrization of openstack- ha/manifests/ load-balancer. pp so these values are configurable. This will allow for 3 AIO type nodes in compressed_ha model where hostname.yaml over rides can account for priority on the 3rd node.
if ($controller_state == 'MASTER') { _priority = '101' _priority = '100'
$controller
} else {
$controller
}
if ($swift_proxy_state == 'MASTER') { proxy_priority = '101' proxy_priority = '100'
$swift_
} else {
$swift_
}