From f2ceef2e4c6373875c7f1915c5a76a001e444625 Mon Sep 17 00:00:00 2001 From: Thomas Bachman <tbachman@yahoo.com> Date: Fri, 28 Aug 2020 22:28:45 +0000 Subject: [PATCH] Fix client API version. The GBP client CLI was failing, with the following error message: "Invalid network client version '{'network': '2.0'}'. must be one of: 2.0". A change in the openstack SDK (>=18.0) was causing this failure in the upstream neutron python client, which was resolved with this commit: https://review.opendev.org/#/c/615184/ This commit makes a similar fix for the GBP python client. Change-Id: I660c6881ef406a6d9995e2712399a3ac06ba207a --- gbpclient/gbpshell.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gbpclient/gbpshell.py b/gbpclient/gbpshell.py index 0c791a8..f895d7e 100644 --- a/gbpclient/gbpshell.py +++ b/gbpclient/gbpshell.py @@ -809,8 +809,6 @@ class GBPShell(app.App): super(GBPShell, self).initialize_app(argv) - self.api_version = {'network': self.api_version} - # If the user is not asking for help, make sure they # have given us auth. cmd_name = None