Bug 1253735 - Quotas not working for RHOS environments
Summary: Quotas not working for RHOS environments
Keywords:
Status: CLOSED DUPLICATE of bug 1254882
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: William Fitzgerald
QA Contact: Aziza Karol
URL:
Whiteboard: openstack:quota
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-14 14:12 UTC by Pete Savage
Modified: 2016-05-04 15:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-04 15:52:00 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pete Savage 2015-08-14 14:12:22 UTC
Description of problem: Quotas not working for RHOS environments

As RHOS collection doesn't include hardware collection like other providers, quotas against at least storage do not work for RHOS providers. The hardware and disks tables both show no information for the image and hence cannot calculate a disk_allocation_size field.

I have not checked, but this may be the same for cores and memory.

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


How reproducible: 100%


Steps to Reproduce:
1. Inventory a RHOS provider
2.
3.

Actual results:
DB has no information RE hardware of image

Expected results:
DB should know information about image disk size

Additional info:

Comment 2 Dave Johnson 2015-08-14 14:32:20 UTC
Aziza, could you investigate how ec2 is handled?  Thanks

Comment 3 Aziza Karol 2015-08-19 08:50:43 UTC
For ec2, it is determined by the Flavors. While provisioning an ec2 instance we need to select  proper instance type base on what quota are you testing.

Currently, ec2 quota is broken and have logged https://bugzilla.redhat.com/show_bug.cgi?id=1254882 to track this issue.

Comment 4 Greg Blomquist 2015-08-21 01:02:55 UTC
Pete, I may need you to fill in some of the details here.  But my understanding is that you're saying that the CFME quota calculations are based on pre-provisioning data about the image.  However, we don't have disk allocation data about pre-provisioned images for OpenStack (or EC2, for that matter).

So, quota calculations actually have to be done post-provisioning for instances provisioned from cloud-based images.

Does that sum up what's going on here?  Or, did I get this completely wrong?

Comment 5 Dave Johnson 2015-09-02 15:10:34 UTC
Pete, is this a duplicate of bug 1254882?  The summary seems to indicate that.

Comment 6 Pete Savage 2015-09-03 09:02:59 UTC
Yes pretty much

Comment 7 Greg Blomquist 2016-02-19 21:46:05 UTC
GregM, let me know if this ends up being an inventory issue.  But, I believe we have all the data we can collect here.  We just need to figure out how to do quota calculations based on provisioning for OSP providers.

Comment 8 William Fitzgerald 2016-05-04 15:52:00 UTC

*** This bug has been marked as a duplicate of bug 1254882 ***


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