summaryrefslogtreecommitdiff
path: root/designateclient
diff options
context:
space:
mode:
authorGraham Hayes <gr@ham.ie>2018-02-12 14:01:22 +0000
committerGraham Hayes <gr@ham.ie>2018-02-12 14:01:22 +0000
commit7cd8b69fc28e6f7376cfd3897eaf852dfcccf4a6 (patch)
tree36ade6d80056d10a4a955092fc13d5ce8622818f /designateclient
parent1a3632cf5748db837b6d85b1f8d40eeae0a270c6 (diff)
downloadpython-designateclient-7cd8b69fc28e6f7376cfd3897eaf852dfcccf4a6.tar.gz
Highlight V1 API removal
Update Docs and the execption logged to point users to the openstack cli + v2 client. Change-Id: Ib08330d348a6a2f0e976ab0df26e91b2d7bd4e13
Diffstat (limited to 'designateclient')
-rw-r--r--designateclient/cli/base.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/designateclient/cli/base.py b/designateclient/cli/base.py
index 6cfb4bc..cfef83f 100644
--- a/designateclient/cli/base.py
+++ b/designateclient/cli/base.py
@@ -67,7 +67,11 @@ class Command(command.Command):
self.app.log.error('No endpoint was found. You must provide a '
'username or user id via --os-username, '
'--os-user-id, env[OS_USERNAME] or '
- 'env[OS_USER_ID]')
+ 'env[OS_USER_ID]. You may also be using a '
+ 'cloud that does not have the V1 API enabled. '
+ 'If your cloud does not have the V1 DNS API '
+ 'use the openstack CLI to interact with the '
+ 'DNS Service.')
return 1