Comment 10 for bug 1928318

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

Reviewed: https://review.opendev.org/c/openstack/oslo.cache/+/848727
Committed: https://opendev.org/openstack/oslo.cache/commit/978a093b2357b5c7af29e248987ce61f0656358a
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 978a093b2357b5c7af29e248987ce61f0656358a
Author: Mitya_Eremeev <email address hidden>
Date: Fri May 21 19:50:53 2021 +0300

    Don't import module "etcd3gw" if etcd3gw backend is not used.

    If module etcd3gw is not required for used backend,
    then no need to have it installed and imported.
    Otherwise we always have ugly log error:
    Could not load 'oslo_cache.etcd3gw': No module named 'etcd3gw': ModuleNotFoundError: No module named 'etcd3gw

    Closes-Bug: 1928318
    Change-Id: Icbe6dc3e93b4d2fec1ceb88366027294e49d7032
    (cherry picked from commit 40946a9349407f36a43d5020d991085c11468698)
    (cherry picked from commit 3df5e9001346d17994deb8db60361cf8589a6230)
    (cherry picked from commit f0ddb8a63f8b36224b365c962004f17f83dd5ca4)