Comment 2 for bug 1881706

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/732484
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=1038873196089a7f171616582bc693afa45955b0
Submitter: Zuul
Branch: master

commit 1038873196089a7f171616582bc693afa45955b0
Author: Sun Austin <email address hidden>
Date: Tue Jun 2 14:46:51 2020 +0800

    return default value if no storage backend enable

    if no storage backend enable, once upload stx-openstack application
    the sysinv will crash and upload abort
    AttributeError: 'NoneType' object has no attribute 'capabilities'
    to avoid this ,return default value if no storage backend

    Change-Id: I00b561ff297a1e2567e591f82bbc5b8ba8bd36f4
    Closes-Bug: 1881706
    Signed-off-by: Sun Austin <email address hidden>