launch instance modal volume quota check

Bug #1277662 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Liyingjun

Bug Description

When you select an 'Instance Boot Source' that will create a new volume (i.e. Boot from Volume Snapshot) and press the submit button, there should be a front-end check to check the current number of volumes.

Because if it already reached the quota level, it will error out and give you generic error message: "No valid host was found." - which is not helpful.

Number of instances is validated on the modal, I think the volumes should be as well, if new volumes are created.

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

So, the problem is with the error message right?

Revision history for this message
Cindy Lu (clu-m) wrote :

Yes, Facundo. validation on the modal form and then show error there.

Changed in horizon:
assignee: nobody → Facundo Farias (facundo-farias)
Changed in horizon:
assignee: Facundo Farias (facundo-farias) → nobody
Cindy Lu (clu-m)
summary: - launch instance modal error checks
+ launch instance modal volume quota check
Changed in horizon:
assignee: nobody → Cindy Lu (clu-m)
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

It would also be nice to add the volume bar graph under Project Limits on the right in order to make this clear in advance.

Changed in horizon:
importance: Undecided → Low
status: New → Confirmed
Changed in horizon:
assignee: Cindy Lu (clu-m) → Liyingjun (liyingjun)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/167526
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=491a93ea0c0130d6bd029338150dfd3ef46aa7d1
Submitter: Jenkins
Branch: master

commit 491a93ea0c0130d6bd029338150dfd3ef46aa7d1
Author: liyingjun <email address hidden>
Date: Wed Mar 25 16:49:48 2015 +0800

    Validate volume quota when booting from volume

    Check volume quota when booting instance from volume.

    Change-Id: I621901c5b568bcddc6bebe1be138c5e242e22a1b
    Closes-bug: #1277662

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