summaryrefslogtreecommitdiff
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
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
-rw-r--r--designateclient/cli/base.py6
-rw-r--r--doc/source/index.rst7
2 files changed, 12 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
diff --git a/doc/source/index.rst b/doc/source/index.rst
index ea572e9..0d91923 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -17,6 +17,13 @@ found on the :ref:`designate v2 command line tool page <shell-v2>`.
v1: the :program:`designate` command line tool. More information can be found
on the :ref:`designate v1 command line tool page <shell>`.
+.. warning::
+
+ The V1 API was removed in Queens, and cannot be re-enabled.
+ The :program:`designate` command line tool will no longer function on
+ installs newer than Queens.
+
+
You'll need credentials for an OpenStack cloud that implements the Designate
API in order to use the client.