Skip to content

Commit

Permalink
Merge pull request #599 from rsyed83/exclude_managed_dns
Browse files Browse the repository at this point in the history
Exclude Managed DNS from service registration to avoid conflict with Cloud DNS
  • Loading branch information
sivel committed Jan 14, 2016
2 parents 617f761 + 646eac4 commit ed1adab
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 ed1adab

Please sign in to comment.