Bug 791275 - Total no.of "Available instance" is displayed wrongly in the Conductor
Summary: Total no.of "Available instance" is displayed wrongly in the Conductor
Keywords:
Status: CLOSED EOL
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
Assignee: Angus Thomas
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 16:08 UTC by Rehana
Modified: 2020-03-27 18:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
Available instance count (220.18 KB, image/png)
2012-02-16 16:08 UTC, Rehana
no flags Details

Description Rehana 2012-02-16 16:08:35 UTC
Created attachment 562535 [details]
Available instance count

Description of problem

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

1. Created a Cloud resource zone with quota set to say 10
2. The same value got displayed under "Available instance"
3. But in the "Total" section the "Available instance" shows as Infinite
  
Actual results:
"Total" section displays "Infinite" for total available instance(PFA: Available instance count.png)

Expected results:
"Total" should display a grant total of the available instance defined in various cloud resource zones.

Additional info:

Comment 1 wes hayutin 2012-02-16 17:32:50 UTC
Angus, please have a look

Comment 2 Tzu-Mainn Chen 2012-02-20 15:20:42 UTC
This is technically not a bug, I think; Cloud and Cloud Resource Zones have different quotas.  If a CRZ has a limited quota while the Cloud is set to infinity, you'll see the behaviour you observed.  This behaviour *may* be considered sensible, as it enables the user to see if new/existing CRZs can have their quotas updated.  If you set the Cloud quota to something besides unlimited, you'll see the infinity symbol disappear.

That being said, maybe it's not the most intuitive UI, so if there are suggestions on how to change it. . . ?

Comment 3 Hugh Brock 2012-02-20 20:01:20 UTC
Yeah, the problem is the presentation is lousy -- the table appears to be totaling the number of available instances based on the CRZs backing the cloud, when in fact it's just displaying attributes of the cloud.

The more I think about this, the more I think the only way we can fix it is to completely rework this screen, which is out of scope for 1.0. So with sorrow I am pushing this to 1.1.0.

Comment 4 Matt Wagner 2012-08-29 14:06:46 UTC
Looking at this a bit more, I have to agree with Mainn about this being correct behavior, but maybe there is room for making it clearer. The Vsphere "Cloud" has no quota, so it can hold "infinity" instances. Within that Cloud, there's a Zone which has a 10-instance limit, so that particular Zone shows a ten-instance quota.

So I started to write out an answer here describing a few mediocre ways we could work around this problem and make it clearer. But I think Hugh is right, and this page needs a total overhaul. I would just ditch this information from the page.

The page feels overwhelming and insane to me. I won't even start on the ambiguous/incorrect/overloaded use of the word "Cloud" here, but the page feels like it has a whole bunch of unrelated things jammed together.

Ignoring the "Component Outlines" tab at the top to toggle completely unrelated functionality on this page, you start with a list of Clouds, which we list. For some weird reason we present them in a jet-black table which is used nowhere else in the app. Then, for each Cloud, we list its Zones. That's more than I'd expect a list of Clouds to do, but that seems reasonable enough.

To really complicate things, we put big green buttons on the page allowing users to import images and create new images, within the context of a Cloud. This is the only place in the app you can do this, despite it not being an intuitive place.

But then, in case this wasn't confusing enough, we present seven columns of numeric statistics on this page, and then a "Total" line for it, which doesn't actually do what would seem intuitive.

So I think the fix is to just start over on this page.

Comment 5 Matt Wagner 2012-08-29 18:05:37 UTC
Attempting to remove 1.1 flag; this is going to require a more involved UI fix that we're going to tackle after 1.1.

Comment 7 Matt Wagner 2013-04-09 18:43:50 UTC
Resetting to default assignee; haven't looked at this in months and it's no longer on my radar.


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