Bug 1851087
Summary: | [RFE] Scheduled Retirement - Check for Existing "active" Requests before creating new Request. | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Tina Fitzgerald <tfitzger> |
Component: | Automate | Assignee: | Yuri Rudman <yrudman> |
Status: | CLOSED ERRATA | QA Contact: | Tasos Papaioannou <tpapaioa> |
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | medium | ||
Version: | 5.11.5 | CC: | dmetzger, mshriver, obarenbo, simaishi |
Target Milestone: | GA | Keywords: | FutureFeature, ZStream |
Target Release: | 5.11.8 | Flags: | simaishi:
cfme-5.11.z+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.11.8.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-09-30 14:01:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | Feature | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | CFME Core | Target Upstream Version: | |
Embargoed: |
Description
Tina Fitzgerald
2020-06-25 15:14:37 UTC
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/2fe223e178308176f6a38028aa01a5841b4d86ab commit 2fe223e178308176f6a38028aa01a5841b4d86ab Author: Yuri Rudman <yrudman> AuthorDate: Wed Jul 22 19:28:58 2020 +0000 Commit: Yuri Rudman <yrudman> CommitDate: Wed Aug 5 17:10:41 2020 +0000 Changes preventing creation of duplicate retirement request if there is already not approved or not finished retirement request exists. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1851087 app/models/mixins/retirement_mixin.rb | 12 +- app/models/service.rb | 11 + app/models/vm.rb | 17 + 3 files changed, 39 insertions(+), 1 deletion(-) New commit detected on ManageIQ/manageiq/ivanchuk: https://github.com/ManageIQ/manageiq/commit/c4d9df6c81df405c7937e7986453bdeec98ae172 commit c4d9df6c81df405c7937e7986453bdeec98ae172 Author: Gregg Tanzillo <gtanzill> AuthorDate: Mon Aug 10 17:49:24 2020 +0000 Commit: Satoe Imaishi <simaishi> CommitDate: Wed Aug 12 21:06:06 2020 +0000 Merge pull request #20355 from yrudman/use_sql_to_find_active_retirement_requests Block attempt to create duplicate retire request (cherry picked from commit a2634bc7604568ad19bd1adaa2d42e4354587a2f) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1851087 app/models/mixins/retirement_mixin.rb | 12 +- app/models/orchestration_stack.rb | 13 + app/models/service.rb | 13 + app/models/vm.rb | 14 + spec/factories/miq_request.rb | 1 + spec/models/orchestration_stack/retirement_management_spec.rb | 26 + spec/models/service/retirement_management_spec.rb | 26 + spec/models/vm/retirement_management_spec.rb | 32 + 8 files changed, 136 insertions(+), 1 deletion(-) Verified on 5.11.8.0. 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 (Moderate: CloudForms 5.0.8 security, bug fix and enhancement update), 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/RHSA-2020:4134 |