Error message needs to be enhanced when router creation failed

Bug #1278482 reported by Erasmo Isotton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Facundo Farias

Bug Description

Error message needs to be enhanced when router creation failed.

+++Steps to reproduce the issue:

1- Bring up the horizon
2- Login to horizon portal using administrator
3- Create one user with member role under one new project
4- Edit the project and under quotas provide value for router as "0"(zero) and save the option
5- Now logout and login to horizon as the user created
6- Try creating router (it fails as expected). It failed with message as "Error failed to create router"

In a real scenario, the user with member role is not aware that this issue would be a limitation of parameter added in quotas
so in order to provide meaningful message, the error message needs to be enhanced saying "quota exceeded" or something like it.

Floren (florenllanos)
Changed in horizon:
status: New → Confirmed
Revision history for this message
Facundo Farias (facundo-farias) wrote :

Hi there.
I am starting with this bug, but I don't know how to edit the router quota.
Is it on Horizon? Cant find the option.
Thanks

Changed in horizon:
assignee: nobody → Facundo Farias (facundo-farias)
Revision history for this message
Julie Pichon (jpichon) wrote :

Hi Facundo. "Router" is a network quota that is only available when Neutron is installed. If you're using DevStack there are instructions on how to enable it here: https://wiki.openstack.org/wiki/NeutronDevstack#Basic_Setup. Otherwise you'll need to install Neutron manually.

Revision history for this message
Facundo Farias (facundo-farias) wrote :

Thanks Julie, I will be working on this one.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Julie Pichon (jpichon) wrote :

Please do not update the bug status manually, it will be updated automatically from Gerrit. "Fix Committed" indicates the patch has merged into the main repository. The linked review still shows as "In progress".

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

Reviewed: https://review.openstack.org/77200
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4248bc067d73e8c24a6d05afa7afeba6e51ac8e5
Submitter: Jenkins
Branch: master

commit 4248bc067d73e8c24a6d05afa7afeba6e51ac8e5
Author: Facundo Farias <email address hidden>
Date: Fri Feb 28 12:40:10 2014 -0300

    Enhanced error message when router creation failed

    Changed error message to show when the router creation
    fails due resource quota restrictions.

    Change-Id: If5a43d4132adc653694cc42c3d658ca2d88adc33
    Closes-Bug: #1278482

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-1 → 2014.2
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.