Bug 1481845

Summary: Delete a Template in RHEV that a Catalog uses, no indication in logs or UI when Catalog Ordered
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: dberger, dbomhof, gblomqui, istein, jfrey, jhardy, obarenbo, oourfali
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.8.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1471124 Environment:
Last Closed: 2017-10-24 00:39:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Bug Depends On: 1471124    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-15 21:11:06 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/172f4eb59262d84195a4dbe7f4910f41d029973a

commit 172f4eb59262d84195a4dbe7f4910f41d029973a
Author:     Greg McCullough <gmccullo@redhat.com>
AuthorDate: Tue Aug 15 08:00:35 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Tue Aug 15 17:05:09 2017 -0400

    Merge pull request #15807 from masayag/fail_when_vm_or_template_has_no_ems
    
    Fail with descriptive message when no EMS
    (cherry picked from commit fa24dfff1fec419b88fb47c531c808aca3f35d89)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1481845

 app/models/miq_provision_request.rb       | 15 +++++++++--
 spec/models/miq_provision_request_spec.rb | 45 +++++++++++++++++++------------
 2 files changed, 41 insertions(+), 19 deletions(-)

Comment 3 Ilanit Stein 2017-09-03 12:44:48 UTC
Verified on CFME-5.8.2/RHV-4.1.3

VM provision service request, in case template was removed from RHV, fail on:

"Error: Source Template/Vm with id [73] has no EMS, unable to provision"

Comment 5 errata-xmlrpc 2017-10-24 00:39:41 UTC
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/RHSA-2017:3005