[VIPs] VIP allocation is restricted to controller node group now
Bug #1487021 reported by
Aleksey Kasatkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Ihor Kalnytskyi | ||
7.0.x |
Won't Fix
|
High
|
Ihor Kalnytskyi |
Bug Description
VIP allocation is restricted to controller node group now in Nailgun.
It should be allowed to allocate VIP in any node group to allow proper separation of HA services into different nodes for 7.0 environments.
But other restriction remains the same: VIP can be allocated only if all nodes which conform to its node_roles section are in the same node group.
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Aleksey Kasatkin (alekseyk-ru) |
description: | updated |
tags: | added: feature |
tags: | removed: feature |
tags: | added: feature-nodegroup |
tags: | added: tricky |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → oleksii shyman (oshyman) |
Changed in fuel: | |
assignee: | oleksii shyman (oshyman) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Ivan Kliuk (ivankliuk) |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
tags: | added: feature |
Changed in fuel: | |
assignee: | Ivan Kliuk (ivankliuk) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky) |
tags: | removed: feature |
tags: | added: area-python |
tags: | added: on-verification |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
tags: | removed: on-verification |
To post a comment you must log in.
VIPs allocation for 7.0 is done in AllocateVIPs70M ixin, methods get_end_point_ip and _assign_ vips_for_ net_groups . objects. Cluster. get_controllers _node_group is used there as for earlier env versions. It should be changed to the following:
for every VIP:
1. Check that all target nodes (which VIP is allocated for) are in the same node group.
2. If 1 is true then allocate VIP in that node group. It can be any node group in the environment.
If 1 is false then raise an error that VIP cannot be shared between node groups.
It should be changed in AllocateVIPs70Mixin only (i.e. for 7.0 environments only).