[UI] Incorrect error message with empty login or password fields

Bug #1618172 reported by Ivan Kolodyazhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Julia Aranovich
Mitaka
Won't Fix
Medium
Fuel UI Team
Newton
Fix Committed
Medium
Julia Aranovich

Bug Description

Steps to reproduce:
1. Open Login Page
2. Leave at lease one field empty (username or password)
3. Press 'Log In' button

Expected result:
It's impossible to press 'Log In' button. It's locked in case of empty credentials.

Actual result:
'Log In' button was clicked and an error message is shown: "Unable to log in. Keystone service is not available."

Environment: MOS 9.0 release ISO

Tags: area-ui
Ivan Kolodyazhny (e0ne)
description: updated
Changed in fuel:
assignee: nobody → Fuel UI Team (fuel-ui)
Changed in fuel:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → Medium
milestone: none → 10.0
tags: added: area-ui
summary: - [UI] Incorrect error message with empty login or paasowd fields
+ [UI] Incorrect error message with empty login or password fields
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Catch callback on login page receives login/password pair instead of XHR and cannot determine response code

Changed in fuel:
importance: Medium → High
status: Confirmed → Triaged
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Vitaly Kramskikh (vkramskikh)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/379387
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=2756e6b50339c6875e71a5df4e1986e5e936d3b3
Submitter: Jenkins
Branch: master

commit 2756e6b50339c6875e71a5df4e1986e5e936d3b3
Author: Vitaly Kramskikh <email address hidden>
Date: Wed Sep 28 16:53:17 2016 +0300

    Use Keystone V3 API

    This commit introduces support of V3 API and also removes token
    regeneration every 1 hour which is totally unnecessary. Also,
    token is now only stored in User model and passed to the
    Keystone client via arguments, so there is no more two sources
    of truth. User id and roles are also stored in User model now.

    Partial-Bug: #1628445
    Closes-Bug: #1618172
    Depends-On: If201c247210131ce6ab192362eada250a4f51ce1
    Change-Id: I48b73a09cad0d707c16df5ca8ada202173779129

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 10.0.0rc1

This issue was fixed in the openstack/fuel-ui 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 10.0.0

This issue was fixed in the openstack/fuel-ui 10.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

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

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

Reviewed: https://review.openstack.org/420746
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=917dd0835af879987d831abca2480428b9ad32d8
Submitter: Jenkins
Branch: stable/mitaka

commit 917dd0835af879987d831abca2480428b9ad32d8
Author: Vitaly Kramskikh <email address hidden>
Date: Wed Sep 28 16:53:17 2016 +0300

    Use Keystone V3 API

    This commit introduces support of V3 API and also removes token
    regeneration every 1 hour which is totally unnecessary. Also,
    token is now only stored in User model and passed to the
    Keystone client via arguments, so there is no more two sources
    of truth. User id and roles are also stored in User model now.

    Partial-Bug: #1628445
    Closes-Bug: #1618172
    Closes-Bug: #1656822
    Depends-On: If201c247210131ce6ab192362eada250a4f51ce1
    Change-Id: I48b73a09cad0d707c16df5ca8ada202173779129

tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Bug checked on 9.2 snapshot #798:
We could see 'Invalid credentials' message when we try login with invalid login/password, but if one of fields is left empty message "Unable to log in. Keystone service is not available" will appear.

tags: removed: on-verification
Changed in fuel:
status: Fix Committed → Confirmed
importance: High → Medium
milestone: 10.0 → 11.0
assignee: Vitaly Kramskikh (vkramskikh) → Fuel UI Team (fuel-ui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

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

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/430120

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/430118
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=3cf58ed25fbea6cfdb90c1d1e32c003295ce8cd2
Submitter: Jenkins
Branch: master

commit 3cf58ed25fbea6cfdb90c1d1e32c003295ce8cd2
Author: Julia Aranovich <email address hidden>
Date: Tue Feb 7 11:37:31 2017 +0300

    Disable Log In button in case of empty credentials

    Closes-Bug: #1618172

    Change-Id: I326cafb50d900da73e2e064bf5ff1923fb580cfd

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/newton)

Reviewed: https://review.openstack.org/430120
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=f88bb5741cb60b02ff2a41ebabf228f22e806d9f
Submitter: Jenkins
Branch: stable/newton

commit f88bb5741cb60b02ff2a41ebabf228f22e806d9f
Author: Julia Aranovich <email address hidden>
Date: Tue Feb 7 11:37:31 2017 +0300

    Disable Log In button in case of empty credentials

    Closes-Bug: #1618172

    Change-Id: I326cafb50d900da73e2e064bf5ff1923fb580cfd
    (cherry picked from commit 3cf58ed25fbea6cfdb90c1d1e32c003295ce8cd2)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 11.0.0.0rc1

This issue was fixed in the openstack/fuel-ui 11.0.0.0rc1 release candidate.

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.