neutron-server consumes all memcached connections

Bug #1892210 reported by Pierre Riteau
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Pierre Riteau
Stein
Fix Released
Medium
Mark Goddard
Train
Fix Released
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Mark Goddard
Victoria
Fix Released
Medium
Pierre Riteau

Bug Description

This is a keystonemiddleware / neutron-server issue, but it potentially affects many Kolla deployments: https://bugs.launchpad.net/keystonemiddleware/+bug/1883659

Reproduced on multiple train-centos8 deployments.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/746966

Changed in kolla-ansible:
assignee: nobody → Pierre Riteau (priteau)
status: New → In Progress
Changed in kolla-ansible:
assignee: Pierre Riteau (priteau) → Doug Szumski (dszumski)
Changed in kolla-ansible:
assignee: Doug Szumski (dszumski) → Pierre Riteau (priteau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/746966
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=5a52d8e4a0c5d4c246deb8851ef893df63ee0847
Submitter: Zuul
Branch: master

commit 5a52d8e4a0c5d4c246deb8851ef893df63ee0847
Author: Pierre Riteau <email address hidden>
Date: Wed Aug 19 17:56:30 2020 +0200

    Add workaround for keystonemiddleware/neutron memcached issue

    There is an issue where keystonemiddleware connections to memcached from
    neutron-server grow beyond configured values [1], eventually reaching
    the maximum number of connections accepted by memcached servers. Other
    services do not appear to be affected by this issue.

    A workaround is to use the advanced memcached pool. Despite its
    documentation claiming to only work with Python 2, it appears to work
    fine on Python 3.

    [1] https://bugs.launchpad.net/keystonemiddleware/+bug/1883659

    Change-Id: Ifbbc2022839cbc575848d830600241c61603c80b
    Closes-Bug: #1892210

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/747658

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/747659

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/747660

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ussuri)

Reviewed: https://review.opendev.org/747658
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=5d09ab68417705c37e94319f713abb20017e2559
Submitter: Zuul
Branch: stable/ussuri

commit 5d09ab68417705c37e94319f713abb20017e2559
Author: Pierre Riteau <email address hidden>
Date: Wed Aug 19 17:56:30 2020 +0200

    Add workaround for keystonemiddleware/neutron memcached issue

    There is an issue where keystonemiddleware connections to memcached from
    neutron-server grow beyond configured values [1], eventually reaching
    the maximum number of connections accepted by memcached servers. Other
    services do not appear to be affected by this issue.

    A workaround is to use the advanced memcached pool. Despite its
    documentation claiming to only work with Python 2, it appears to work
    fine on Python 3.

    [1] https://bugs.launchpad.net/keystonemiddleware/+bug/1883659

    Change-Id: Ifbbc2022839cbc575848d830600241c61603c80b
    Closes-Bug: #1892210
    (cherry picked from commit 5a52d8e4a0c5d4c246deb8851ef893df63ee0847)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/747660
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=7b512d633d59d8d35db785bfa3d7e61dd202d399
Submitter: Zuul
Branch: stable/stein

commit 7b512d633d59d8d35db785bfa3d7e61dd202d399
Author: Pierre Riteau <email address hidden>
Date: Wed Aug 19 17:56:30 2020 +0200

    Add workaround for keystonemiddleware/neutron memcached issue

    There is an issue where keystonemiddleware connections to memcached from
    neutron-server grow beyond configured values [1], eventually reaching
    the maximum number of connections accepted by memcached servers. Other
    services do not appear to be affected by this issue.

    A workaround is to use the advanced memcached pool. Despite its
    documentation claiming to only work with Python 2, it appears to work
    fine on Python 3.

    [1] https://bugs.launchpad.net/keystonemiddleware/+bug/1883659

    Change-Id: Ifbbc2022839cbc575848d830600241c61603c80b
    Closes-Bug: #1892210
    (cherry picked from commit 5a52d8e4a0c5d4c246deb8851ef893df63ee0847)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/747659
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=dcc74b45e18c56d22a66ee884f84ae31c0048622
Submitter: Zuul
Branch: stable/train

commit dcc74b45e18c56d22a66ee884f84ae31c0048622
Author: Pierre Riteau <email address hidden>
Date: Wed Aug 19 17:56:30 2020 +0200

    Add workaround for keystonemiddleware/neutron memcached issue

    There is an issue where keystonemiddleware connections to memcached from
    neutron-server grow beyond configured values [1], eventually reaching
    the maximum number of connections accepted by memcached servers. Other
    services do not appear to be affected by this issue.

    A workaround is to use the advanced memcached pool. Despite its
    documentation claiming to only work with Python 2, it appears to work
    fine on Python 3.

    [1] https://bugs.launchpad.net/keystonemiddleware/+bug/1883659

    Change-Id: Ifbbc2022839cbc575848d830600241c61603c80b
    Closes-Bug: #1892210
    (cherry picked from commit 5a52d8e4a0c5d4c246deb8851ef893df63ee0847)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.3.0

This issue was fixed in the openstack/kolla-ansible 8.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 10.2.0

This issue was fixed in the openstack/kolla-ansible 10.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.3.0

This issue was fixed in the openstack/kolla-ansible 9.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.