Bug 1336925
| Summary: | Automate | Quota error "undefined method `vendor' for #<MiqAeMethodService::MiqAeServiceServiceTemplate:" | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Tina Fitzgerald <tfitzger> |
| Component: | Automate | Assignee: | William Fitzgerald <wfitzger> |
| Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.6.0 | CC: | akarol, cpelland, dajohnso, jhardy, mfeifer, mkanoor, obarenbo, simaishi, tfitzger |
| Target Milestone: | GA | ||
| Target Release: | 5.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | automate:quota | ||
| Fixed In Version: | 5.6.0.9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-29 16:03:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Tina Fitzgerald
2016-05-17 19:57:30 UTC
*** Bug 1340710 has been marked as a duplicate of this bug. *** New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/adb2ba7b73135650868ce0f85cd39bec7f073c64 commit adb2ba7b73135650868ce0f85cd39bec7f073c64 Author: william fitzgerald <wfitzger> AuthorDate: Fri May 20 12:36:08 2016 -0400 Commit: william fitzgerald <wfitzger> CommitDate: Fri May 27 19:58:05 2016 -0400 Automate - Fixed service quota https://bugzilla.redhat.com/show_bug.cgi?id=1336925 Added Service provisioning spec tests for generic and vmware service items. Updated spec helper files. .../QuotaMethods.class/__methods__/requested.rb | 55 +++++++++++------- .../method_validation/calculate_requested_spec.rb | 66 ++++++++++++++-------- spec/support/quota_helper.rb | 43 ++++++++++---- spec/support/service_template_helper.rb | 10 ++-- 4 files changed, 119 insertions(+), 55 deletions(-) Hi Milan, Sorry about the lack of detail in the steps to reproduce... Tenant quota should have at least one value that will cause the quota to fail. The default service entry point should be: /Service/Provisioning/StateMachines/ServiceProvision_Template/default class. Please let me know if it's still not behaving as you'd expect. Thanks, Tina Verified in 5.6.0.9 I have set a tenant quota (and I set them that they were already "broken"). I made a plain Generic service and kicked off its provisioning. No error happened during the provisioning. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=86c546e3c0e79e117a6577cd0238676ff923a8e3 commit 86c546e3c0e79e117a6577cd0238676ff923a8e3 Author: william fitzgerald <wfitzger> AuthorDate: Fri May 20 12:36:08 2016 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Wed Aug 3 14:46:11 2016 -0400 Automate - Fixed service quota https://bugzilla.redhat.com/show_bug.cgi?id=1336925 Added Service provisioning spec tests for generic and vmware service items. Updated spec helper files. Conflicts: db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/QuotaMethods.class/__methods__/requested.rb spec/automation/unit/method_validation/calculate_requested_spec.rb spec/support/quota_helper.rb .../QuotaMethods.class/__methods__/requested.rb | 55 ++++++++++++-------- .../method_validation/calculate_requested_spec.rb | 58 ++++++++++++++++------ spec/support/quota_helper.rb | 57 +++++++++++++++++++-- spec/support/service_template_helper.rb | 10 ++-- 4 files changed, 137 insertions(+), 43 deletions(-) Fixed in version 5.5.z: https://bugzilla.redhat.com/show_bug.cgi?id=1360132 |