Skip to content

Commit

Permalink
Merge pull request #304 from CloudVE/update_openstack_lib
Browse files Browse the repository at this point in the history
Update openstack sdk libs
  • Loading branch information
nuwang committed Aug 13, 2022
2 parents afbda41 + 1d5e84a commit 848251b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cloudbridge/providers/openstack/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from keystoneclient.v3.regions import Region

import novaclient.exceptions as novaex
import keystoneclient.exceptions as keystoneex

import swiftclient
from swiftclient.service import SwiftService
Expand Down Expand Up @@ -541,7 +541,7 @@ def zones(self):
# pylint:disable=protected-access
region_nova = self._provider._connect_nova_region(self.name)
zones = region_nova.availability_zones.list(detailed=False)
except novaex.EndpointNotFound:
except keystoneex.EndpointNotFound:
# This region may not have a compute endpoint. If so just
# return an empty list
zones = []
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
'openstacksdk>=0.12.0,<1.0.0',
'python-novaclient>=7.0.0,<19.0',
'python-swiftclient>=3.2.0,<5.0',
'python-neutronclient>=6.0.0,<8.0',
'python-keystoneclient>=3.13.0,<5.0'
'python-neutronclient>=6.0.0,<9.0',
'python-keystoneclient>=3.13.0,<6.0'
]
REQS_FULL = REQS_AWS + REQS_GCP + REQS_OPENSTACK + REQS_AZURE
# httpretty is required with/for moto 1.0.0 or AWS tests fail
Expand Down

0 comments on commit 848251b

Please sign in to comment.