ERROR message after not sourced request

Bug #1490843 reported by Alex Stafeyev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-designateclient
Fix Released
Medium
sonu

Bug Description

After executing a command before sourcing keystonerc_admin (in my case) we see a message without any explanation for the reason.

[root@controller ~]# designate server-list
ERROR:

We should print the reason and guide the user to source keystone before executing command
example for wanted behavior

[root@controller ~]# neutron agent-list
You must provide a username or user ID via --os-username, env[OS_USERNAME] or --os-user-id, env[OS_USER_ID]

openstack-designate-api-2015.1.0-1.el7ost.noarch
openstack-designate-agent-2015.1.0-1.el7ost.noarch
openstack-designate-sink-2015.1.0-1.el7ost.noarch
python-designate-2015.1.0-1.el7ost.noarch
openstack-designate-mdns-2015.1.0-1.el7ost.noarch
python-designateclient-1.2.0-1.el7ost.noarch
openstack-designate-common-2015.1.0-1.el7ost.noarch
openstack-designate-central-2015.1.0-1.el7ost.noarch
openstack-designate-pool-manager-2015.1.0-1.el7ost.noarch

Revision history for this message
Kiall Mac Innes (kiall) wrote :

This has fixed in a newer than 1.2.0 release of the client.

Changed in designate:
status: New → Invalid
affects: designate → python-designateclient
Changed in python-designateclient:
status: Invalid → Won't Fix
status: Won't Fix → Triaged
Revision history for this message
Kiall Mac Innes (kiall) wrote :

Nevermind, the message still needs work.

Changed in python-designateclient:
importance: Undecided → Medium
sonu (sonu-bhumca11)
Changed in python-designateclient:
assignee: nobody → sonu (sonu-bhumca11)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-designateclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/222483

Changed in python-designateclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-designateclient (master)

Reviewed: https://review.openstack.org/222483
Committed: https://git.openstack.org/cgit/openstack/python-designateclient/commit/?id=6952ecbec52684c0584823bc5442ae30564eb6da
Submitter: Jenkins
Branch: master

commit 6952ecbec52684c0584823bc5442ae30564eb6da
Author: sonu.kumar <email address hidden>
Date: Fri Sep 11 11:40:26 2015 +0530

    Added appropriate error message for designate cli

    This patch adds appropriate error message for Exception
    generated when running cli without authentication and
    endpoint.

    Change-Id: I78fe2f8db9a2cfa716c0071a7da404817dd5fbdd
    Closes-Bug: #1490843

Changed in python-designateclient:
status: In Progress → Fix Committed
Changed in python-designateclient:
milestone: none → 1.5.0
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-designateclient 1.5.0

This issue was fixed in the openstack/python-designateclient 1.5.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.