From 7cd8b69fc28e6f7376cfd3897eaf852dfcccf4a6 Mon Sep 17 00:00:00 2001 From: Graham Hayes Date: Mon, 12 Feb 2018 14:01:22 +0000 Subject: Highlight V1 API removal Update Docs and the execption logged to point users to the openstack cli + v2 client. Change-Id: Ib08330d348a6a2f0e976ab0df26e91b2d7bd4e13 --- designateclient/cli/base.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'designateclient') 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 -- cgit v1.2.1