From 338d446bb3560a0cb613f2f20da3a30a8251f5e5 Mon Sep 17 00:00:00 2001 From: David Wahlstrom Date: Tue, 30 Aug 2016 13:55:27 -0700 Subject: [PATCH] openstack_vms: update novaclient auth The openstack novaclient has updated it's auth mechanism, deprecating the method used in this module. This patch updates the novaclient authentication call to leverage this new auth method. --- i3pystatus/openstack_vms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/i3pystatus/openstack_vms.py b/i3pystatus/openstack_vms.py index 3684857..6989988 100644 --- a/i3pystatus/openstack_vms.py +++ b/i3pystatus/openstack_vms.py @@ -1,6 +1,6 @@ from i3pystatus import IntervalModule # requires python-novaclient -from novaclient.v2 import client +from novaclient import client import webbrowser @@ -35,6 +35,7 @@ class Openstack_vms(IntervalModule): def run(self): nclient = client.Client( + '2.0', self.username, self.password, self.tenant_name,