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.
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/4318
https://github.com/ManageIQ/manageiq/pull/17780
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.