Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
fence-agents.9831
0022-Log-the-proper-nova_versions-variable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0022-Log-the-proper-nova_versions-variable.patch of Package fence-agents.9831
From 5b917dd2208b98324b5fc3de65e9d6b775b1a88d Mon Sep 17 00:00:00 2001 From: Michele Baldessari <michele@acksyn.org> Date: Wed, 10 Jan 2018 17:23:17 +0100 Subject: [PATCH] Log the proper nova_versions variable With 549fee1c18cfb31881c9126ae46a4bd9b20b4716 ("compute: Add support for keystone v3 authentication") we renamed the versions variable to nova_versions. Let's make sure we use that when logging so there are no python exceptions triggered. --- fence/agents/compute/fence_compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fence/agents/compute/fence_compute.py b/fence/agents/compute/fence_compute.py index a0bf3894..45f368e8 100644 --- a/fence/agents/compute/fence_compute.py +++ b/fence/agents/compute/fence_compute.py @@ -331,7 +331,7 @@ def create_nova_connection(options): except Exception as e: logging.warning("Nova connection failed. %s: %s" % (e.__class__.__name__, e)) - logging.warning("Couldn't obtain a supported connection to nova, tried: %s\n" % repr(versions)) + logging.warning("Couldn't obtain a supported connection to nova, tried: %s\n" % repr(nova_versions)) return None def define_new_opts(): -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor