summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-02-28 18:55:42 +0000
committerGerrit Code Review <review@openstack.org>2018-02-28 18:55:42 +0000
commit4e77351ea6fd732ce49d52e323c44efa2b2d91b3 (patch)
treeaeb9e071c172fa33a8c3745e642b616b11553efb
parentf5e3a80c5c243e8d7f26795a6496ba4cee453929 (diff)
parent7cd8b69fc28e6f7376cfd3897eaf852dfcccf4a6 (diff)
downloadpython-designateclient-4e77351ea6fd732ce49d52e323c44efa2b2d91b3.tar.gz
Merge "Highlight V1 API removal"
-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.