Bug 1516221

Summary: [Regression] "No items were selected for <state>" when trying to perform a power operation in UI
Product: Red Hat CloudForms Management Engine Reporter: Antonin Pagac <apagac>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo
Target Milestone: Beta 2Keywords: Regression
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-23 12:32:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
evm.log
none
production.log none

Description Antonin Pagac 2017-11-22 10:07:06 UTC
Description of problem:
When I select an infrastructure VM from a list of all infra VMs using the checkbox and then try to perform a power operation on it via the Power button, an error appears in the UI:

"No items were selected for Stop" - when trying Power Off

The operation is not successful, the VM remains in running state. Similarly when trying other power options listed when clicked the Power button.
From evm.log:

"[----] E, [2017-11-22T04:50:42.790107 #13218:f79324] ERROR -- : MIQ(vm_infra_controller-x_button): No items were selected for Stop"

Does not occur when the power action is initiated from the VM summary screen. In that case, power operation is successfully completed with no errors.

Version-Release number of selected component (if applicable):
5.9.0.9.20171115202245_7429f75 

How reproducible:
Always

Steps to Reproduce:
1. Have an infrastructure provider added and a VM created
2. Navigate to Compute -> Infrastructure -> Virtual Machines
3. Select the VM using the checkbox
4. Click on the Power button and select any one of the options
5. Click OK on the popup

Actual results:
Power operation not completed, error displayed in the UI and in evm.log

Expected results:
Power operation completed successfully

Additional info:
I can't find anything useful in the logs or in the browser console. Including whole evm.log and production.log.
Occurs also in automation.

Comment 2 Antonin Pagac 2017-11-22 10:08:10 UTC
Created attachment 1357338 [details]
evm.log

Comment 3 Antonin Pagac 2017-11-22 10:08:46 UTC
Created attachment 1357340 [details]
production.log

Comment 5 Hilda Stastna 2017-11-23 12:32:50 UTC

*** This bug has been marked as a duplicate of bug 1514334 ***