Handle remote VIM keystone exceptions with intuitive message to the user

Bug #1567123 reported by Sripriya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
Sripriya

Bug Description

Current behavior:

Register VIM with an incorrect username/project/password. Horizon/CLI displays Internal Server Error occurred.

Expected behavior:

It will be helpful to pass the remote keystone exception all the way to the user to specify what was the actual error instead of a generic message.

Changed in tacker:
importance: Undecided → Low
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

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

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

Reviewed: https://review.openstack.org/321806
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=92c891b83586fbe40787b02c97a6ba69238d4728
Submitter: Jenkins
Branch: master

commit 92c891b83586fbe40787b02c97a6ba69238d4728
Author: Sripriya <email address hidden>
Date: Thu May 26 11:28:36 2016 -0700

    Fix keystone error handling in openstack driver

    Keystone exceptions are not thrown during client initialization. User
    credentials are only validated when keystone client apis such as
    regions, services and endpoints are queried using the client object.

    Change-Id: I0bda03353e054c0f00a704a4619eceb670e1a7f7
    Closes-Bug: #1567123

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/324791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (stable/mitaka)

Reviewed: https://review.openstack.org/324791
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=04a973be4e5106c0bf001de9054a46a4d7a88463
Submitter: Jenkins
Branch: stable/mitaka

commit 04a973be4e5106c0bf001de9054a46a4d7a88463
Author: Sripriya <email address hidden>
Date: Thu May 26 11:28:36 2016 -0700

    Fix keystone error handling in openstack driver

    Keystone exceptions are not thrown during client initialization. User
    credentials are only validated when keystone client apis such as
    regions, services and endpoints are queried using the client object.

    Change-Id: I0bda03353e054c0f00a704a4619eceb670e1a7f7
    Closes-Bug: #1567123
    (cherry picked from commit 92c891b83586fbe40787b02c97a6ba69238d4728)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/tacker 0.3.1

This issue was fixed in the openstack/tacker 0.3.1 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/tacker 0.4.0

This issue was fixed in the openstack/tacker 0.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 0.3.1

This issue was fixed in the openstack/tacker 0.3.1 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.