[SRU] backport msgpack max_buffer_size patch to Focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Committed
|
High
|
Unassigned | ||
Victoria |
Fix Released
|
High
|
Unassigned | ||
Wallaby |
Fix Released
|
High
|
Unassigned | ||
Xena |
Fix Released
|
High
|
Unassigned | ||
Yoga |
Fix Released
|
High
|
Unassigned | ||
python-oslo.privsep (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Hosts running Openstack Neutron from Ussuri to Yoga release are impacted by
the fact that their use of oslo.privsep is thwarted by a default buffer size
on python-msgpack such that commands that return strings > 1MB in size cause
privsep to crash and agents to stop working. This patch backports a fix that
increased the buffer size to one that is more appropriate to neutron usage.
[Test Plan]
* deploy Openstack (version corresponding to release of SRU) with l3ha
* need at least one compute host and two neutron-gateway hosts
* create a large number of routers (200 should do it) each with several networks attached and external gateway set
* restart neutron-l3-agent
* wait for restart to complete then do 'journalctl --unit neutron-l3-agent --grep ValueError'
* if the error does not appear then the patch is working
* note that it is necessary to create routers with enough networks and ports to trigger the > 1MB size limit for the netlink info message returned by privsep to trigger
[Where problems could occur]
No regressions are expected to occur as a result of this patch as it is
increasing the buffer size by a fairly small amount to allow neutron
function correctly in loaded environments.
-------
The main explanation for this backport can be found in https:/
The attachment "lp2029952- jammy.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]