def try_get_tenant_name_by_id(self, tenant_id, default=None):
        try:
            with proxy_client.expect_exception(ks_exceptions.NotFound):
                return self.keystone_client.tenants.get(tenant_id).name
        except ks_exceptions.NotFound:
            LOG.warning("Tenant '%s' not found, returning default value = "
                        "'%s'", tenant_id, default)
            return default
Same as `get_tenant_by_id` but returns `default` in case tenant
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/identity/keystone.py/KeystoneIdentity.try_get_tenant_name_by_id