Horizon logs a user out when created keypair is over quota

Bug #1793488 reported by Richard Arends
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Vadym Markov

Bug Description

When a users creates a keypair in Horizon, but exceeds it's keypair quota, the user is logged out instead of presenting a nice message.

Before presenting the login page, 2 errors are quickly shown, i had to record the output to get those:

'Error: Forbidden. Redirecting to login'
'Error: Unable to the keypair'

When doing the same via the CLI the message 'Quota exceeded, too many key pairs. (HTTP 403) (Request-ID: req-b40e7839-290b-4b8f-a640-2fc23d71aa0e)' is shown, which is much more descriptive.

Version: python-django-horizon 3:13.0.0-0ubuntu1.1

Tags: nova
Ivan Kolodyazhny (e0ne)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
Changed in horizon:
assignee: nobody → CosteijnK (costeijn-kuhlmann)
status: Confirmed → In Progress
Ivan Kolodyazhny (e0ne)
tags: added: nova
Changed in horizon:
assignee: CosteijnK (costeijn-kuhlmann) → Vadym Markov (vmarkov)
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.opendev.org/663603

Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :
Changed in horizon:
status: Fix Committed → Fix Released
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.