LBaaS: unify haproxy-on-host plugin driver and agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Invalid
|
Medium
|
Oleg Bondarev | ||
openstack-manuals |
Fix Released
|
Medium
|
Oleg Bondarev |
Bug Description
https:/
commit bf8949defc24af3
Author: Oleg Bondarev <email address hidden>
Date: Tue Aug 6 12:52:34 2013 +0400
LBaaS: unify haproxy-on-host plugin driver and agent
Unifies haproxy reference implementation to make common agent based plugin driver
which is suitable for all vendors who wants to use async mechanism.
- Agent API as well as device driver API changed to handle
loadbalancer objects individually;
- Agent loads device drivers according to config;
- LogicalDeviceCache class was removed from agent as it was used only
as a list - to put and remove entries ant check whether entry is in or not.
It was replaced with instance_mapping dict in agent to store known instances and
- Agent reports which device drivers are supported (needs for scheduling on plugin side);
- Agent-to-plugin API was extended to provide an ability for agent to update
statuses of pools/vips/
- Vendor should only implement device driver; plugin driver just needs
to inherit AgentBasedPlugi
- This patch doesn't move files to make review easier;
all rename/replace will be done in a subsequent patch;
DocImpact
NOTE: Since the change in the agent RPC API is backward-
(major RPC version change), LBaaS server-agent communications will be
completely broken until both sides are upgraded so users will be unable to
create new or update existing HAProxy loadbalancer instances during upgrade
Implements blueprint lbaas-common-
Change-Id: I9fd90a1321611d
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → icehouse |
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → icehouse |
Changed in openstack-api-site: | |
assignee: | nobody → Oleg Bondarev (obondarev) |
Changed in openstack-manuals: | |
assignee: | nobody → Oleg Bondarev (obondarev) |
Changed in openstack-api-site: | |
milestone: | icehouse → none |
The change in LBaaS affects only internal server-agent RPC API which is not exposed in any docs so I believe there is nothing to add/fix in openstack-api-site