Skip to content

Commit

Permalink
Exclude Managed DNS from service registration to avoid conflict
Browse files Browse the repository at this point in the history
with Cloud DNS
  • Loading branch information
Rahman Syed committed Jan 14, 2016
1 parent 90291c3 commit 646eac4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyrax/base_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,10 @@ def _parse_service_catalog(self):
if not hasattr(service, "endpoints"):
# Not an OpenStack service
continue
if service.prefix == '' and service.service_type == 'dns':
# Skip service registration of Managed DNS
# so it doesn't conflict with Cloud DNS
continue
setattr(self.services, service.service_type, service)
self.regions.update(list(service.endpoints.keys()))
# Update the 'ALL' services to include all available regions.
Expand Down

0 comments on commit 646eac4

Please sign in to comment.