Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1514166 - RHGS WA login screen tells the user that password is wrong when tendrl-api is down
Summary: RHGS WA login screen tells the user that password is wrong when tendrl-api is...
Keywords:
Status: POST
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-ui
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nishanth Thomas
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-16 18:26 UTC by Martin Bukatovic
Modified: 2019-04-11 08:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Github Tendrl ui issues 468 None None None 2017-11-16 18:26:14 UTC

Description Martin Bukatovic 2017-11-16 18:26:14 UTC
Description of problem
======================

When tendrl-api service is down, RHGS WA login screen doesn't notify the user
about the problem and only displays general bad password message, so that the
issue can't be distinguished from wrong username/password combination.

This is bad because it confuses the user when the problem is obvious and could
be reported outright.

Version-Release
===============

tendrl-ui-1.5.4-2.el7rhgs.noarch

How reproducible
================

100 %

Steps to Reproduce
==================

1. Install RHGS WA using tendrl-ansible
2. Stop tendrl-api serivice on Tendrl Server: systemctl stop tendrl-api
3. Enable firebug console (for watching http requests) and go to tendrl
   login page
4. Enter correct username/password combination
5. See the error message

Actual results
==============

The RHGS WA just states that:

> The username or password you entered does not match our records.
> Please try again.

While in the firefox debug console, the error is clearly visible:

> NetworkError: 503 Service Unavailable

Expected results
================

The actual root cause of the problem is reported: the tendrl-api can't be
reached (NetworkError: 503 Service Unavailable)

Additional info
===============

This bug was reported on Jun 23 in upstream as:

https://github.com/Tendrl/ui/issues/468

Comment 3 Neha Gupta 2017-11-17 07:05:30 UTC
@julim@redhat.com Please suggest the error message should be displayed on Login screen when tendrl-api service is down.

Comment 4 Nishanth Thomas 2017-11-27 12:44:44 UTC
tendrl-api is service is expected to be running always. So I don't expect this to  happen in normal cases. So I propose this bug to be moved out of this release.


Note You need to log in before you can comment on or make changes to this bug.