Bug 1601955
Summary: | Error when trying to delete cloud image | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Tasos Papaioannou <tpapaioa> | ||||
Component: | UI - OPS | Assignee: | Hilda Stastna <hstastna> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.10.0 | CC: | cpelland, dmetzger, hkataria, iovadia, lavenel, mpovolny, obarenbo, simaishi | ||||
Target Milestone: | GA | Keywords: | Regression | ||||
Target Release: | 5.10.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.10.0.8 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-02-11 14:18:45 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | CFME Core | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1434762 | ||||||
Attachments: |
|
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/7de8cf2aed5acdd5686db21af35520509b47b8d7 commit 7de8cf2aed5acdd5686db21af35520509b47b8d7 Author: Hilda Stastna <hstastna> AuthorDate: Tue Jul 31 11:40:55 2018 -0400 Commit: Hilda Stastna <hstastna> CommitDate: Tue Jul 31 11:40:55 2018 -0400 Fix Remove Selected Items from Inventory button for Images, Instances Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1601955 Fix the button by adding support for destroy to VmOrTemplate model. app/models/mixins/supports_feature_mixin.rb | 1 + app/models/vm_or_template.rb | 1 + 2 files changed, 2 insertions(+) Verified on 5.10.0.12. |
Created attachment 1459438 [details] production.log traceback Description of problem: Version-Release number of selected component (if applicable): 5.10.0.4 How reproducible: 100% Steps to Reproduce: 1.) Create a cloud compute provider. 2.) Try to remove one of its images the CFME inventory. Actual results: Image is not removed. Expected results: Image is removed. Additional info: NoMethodError is logged in production.log (full traceback attached): [----] F, [2018-07-17T10:05:17.446228 #12073:163f3e8] FATAL -- : Error caught: [NoMethodError] undefined method `validate_destroy' for #<ManageIQ::Providers::Amazon::CloudManager::Template:0x00000000150e22b0> Did you mean? validate_stop I see the same issue with Amazon EC 2, Azure, and Google Compute Engine providers.