Comment 14 for bug 1951462

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to charms.openstack (master)

Reviewed: https://review.opendev.org/c/openstack/charms.openstack/+/831074
Committed: https://opendev.org/openstack/charms.openstack/commit/13ef220ce3529fa7b8e11c6e4c5b352d05b6f148
Submitter: "Zuul (22348)"
Branch: master

commit 13ef220ce3529fa7b8e11c6e4c5b352d05b6f148
Author: Frode Nordahl <email address hidden>
Date: Sat Feb 26 07:34:03 2022 +0100

    core: Gracefully handle missing config option

    The ``get_os_codename_package`` function will be called by all
    charms. The newly added call to the ``configure_source`` method
    may in some circumstances raise an exception due to missing
    source configuration option.

    Handle this situation gracefully.

    Related-Bug: #1951462
    Change-Id: I2bb9c2561b89fea366bd7b7f6a10c3140ce09000