Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing service model change for calculating active quota counts for Service requests. #69

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

tinaafitz
Copy link
Member

Added miq_provision_quota mixin include to Service Template Provision Request Service model.

Recently added the ability to calculate active quota counts for Service and VM requests. Missing include results in Service requests getting undefined error while running check_quota() method.

https://bugzilla.redhat.com/show_bug.cgi?id=1491409

Original ticket/PR to add active quota calculations modify prov methods.
https://bugzilla.redhat.com/show_bug.cgi?id=1456819
ManageIQ/manageiq#15466

@tinaafitz
Copy link
Member Author

@miq-bot add_label bug, fine/yes, provisioning

@miq-bot
Copy link
Member

miq-bot commented Sep 13, 2017

@tinaafitz Cannot apply the following label because they are not recognized: provisioning

@miq-bot
Copy link
Member

miq-bot commented Sep 13, 2017

Checked commit tinaafitz@05ef42b with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@tinaafitz
Copy link
Member Author

@mkanoor Please review.

@mkanoor mkanoor merged commit ca32a79 into ManageIQ:master Sep 14, 2017
@chrispy1
Copy link

@miq-bot add_label blocker

@simaishi
Copy link
Contributor

Fine backport (to manageiq repo) details:

$ git log -1
commit 1bc5eb462244e74babd3eadea088be3650316438
Author: Madhu Kanoor <[email protected]>
Date:   Thu Sep 14 16:01:47 2017 -0400

    Merge pull request #69 from tinaafitz/add_quota_mixin
    
    Add missing service model change for calculating active quota counts for Service requests.
    (cherry picked from commit ca32a7918cd0e9a5664e5eb4b44d9b11458037e6)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1493207

@tinaafitz
Copy link
Member Author

@miq-bot add_label euwe/yes

@simaishi
Copy link
Contributor

simaishi commented Oct 9, 2017

Euwe backport (to manageiq repo) details:

$ git log -1
commit fd5829a15f16551a99e01664000e7719f82db842
Author: Madhu Kanoor <[email protected]>
Date:   Thu Sep 14 16:01:47 2017 -0400

    Merge pull request #69 from tinaafitz/add_quota_mixin
    
    Add missing service model change for calculating active quota counts for Service requests.
    (cherry picked from commit ca32a7918cd0e9a5664e5eb4b44d9b11458037e6)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1492158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants