diff options
Diffstat (limited to 'deploy/post/glance.py')
-rw-r--r-- | deploy/post/glance.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deploy/post/glance.py b/deploy/post/glance.py index 4171c8a8..79831ed0 100644 --- a/deploy/post/glance.py +++ b/deploy/post/glance.py @@ -14,10 +14,9 @@ from deploy.common import query import keystoneauth -class Glance(keystoneauth.Keystoneauth): +class Glance(keystoneauth.ClientBase): def __init__(self, version='2', openrc=None): - super(Glance, self).__init__(openrc) - self.client = glanceclient.Client(version, session=self.session) + super(Glance, self).__init__(glanceclient.Client, version, openrc) self.controller = self.client.images def create(self, name, path, |