Hide Forgot
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:
Angus, please have a look
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. . . ?
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.
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.
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.
Resetting to default assignee; haven't looked at this in months and it's no longer on my radar.