Comment 8 for bug 1840465

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

Reviewed: https://review.opendev.org/677400
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=205c4465cdf8112779e8eb5f1618dcfc1b11e305
Submitter: Zuul
Branch: stable/rocky

commit 205c4465cdf8112779e8eb5f1618dcfc1b11e305
Author: Akihiro Motoki <email address hidden>
Date: Mon Aug 19 16:35:42 2019 +0900

    Fix listing security groups when no rules

    When listing security groups in the dashboard and
    one or more security groups had no rules it failed
    because python throws a KeyError.

    This commit changes the neutron API wrapper in horizon
    to ensure ensure rule information in SG always exists.

    Closes-Bug: #1840465
    Co-Authored-By: Tobias Urdin <email address hidden>
    Change-Id: I6e05a7dc6b6655514ee2bff6bd327da86f13900a
    (cherry picked from commit cdb191ec83f86dffade56be07ca53077d7c78b14)