Comment 12 for bug 1892866

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.opendev.org/748962
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=da7e9c5408011bc863b114e3566c18ba203ae959
Submitter: Zuul
Branch: stable/queens

commit da7e9c5408011bc863b114e3566c18ba203ae959
Author: Slawek Kaplonski <email address hidden>
Date: Tue Aug 25 15:06:04 2020 +0200

    Don't raise FileNotFoundError during disabling keepalived

    In case when keepalived's config is not existing already, there is no
    need to raise any exception while L3 agent is trying to clean this
    config.

    In stable/queens branch, where we are using Python 2.7 it requires to
    catch EnvironmentError and check errno instead of catching
    FileNotFoundError which isn't available in Python 2.7.

    Change-Id: I9ec81ad0c10379294d3145c5902e8b81b65c0221
    Closes-Bug: #1892866
    (cherry picked from commit a08893368a9f323d41f490ee043ef7bd50c4f1fa)