Bug 1290003 - When invoking a start or stop action on a instance via API, it does not reflected in CloudForms 4 UI however it performed desired action on cloud side.
Summary: When invoking a start or stop action on a instance via API, it does not refle...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Tim Wade
QA Contact: Martin Kourim
URL:
Whiteboard: rest:power
Depends On:
Blocks: 1290480 1428508
TreeView+ depends on / blocked
 
Reported: 2015-12-09 13:35 UTC by Nikhil Gupta
Modified: 2019-11-14 07:13 UTC (History)
8 users (show)

Fixed In Version: 5.8.0.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1290480 1428508 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:15:39 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
tlehinev: needinfo-


Attachments (Terms of Use)
Issue description with screenshots (208.18 KB, application/zip)
2015-12-09 13:35 UTC, Nikhil Gupta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2093181 0 None None None 2015-12-17 06:50:10 UTC

Description Nikhil Gupta 2015-12-09 13:35:07 UTC
Created attachment 1103901 [details]
Issue description with screenshots

Description of problem:
When invoking a start or stop action on a instance via API, it does not reflect in CloudForms 4 UI however desired action is performed on cloud side.

Version-Release number of selected component (if applicable):
CFME 4

How reproducible:
Always

Steps to Reproduce:
- ‘start’ the instance via API which is there in the OpenStack/AWS ec2 provider.

Actual results:
1. On Openstack UI: showing Power state as Running
2. On CFME UI: Showing power state as ‘off’

Expected results:
It should show the Power state as 'On' on CFME UI as well.

Additional info:
1. After doing 'Refresh Relationships and Power States', instance is showing as 'On' on CFME 4 UI.
2. A single VM refresh action is not there in the API atm
3. I think for openstack provider, the event monitoring and detection is very limited.

Comment 2 Tim Wade 2016-01-08 18:30:05 UTC
Nikhil,

Is this issue specific to the API, and not the UI as well?

Thanks,
Tim

Comment 3 Nikhil Gupta 2016-02-05 08:49:57 UTC
Hi Tim,

I see this issue from UI as well:

1. I started the instance from Openstack UI and it is in running state but on CFME UI Power State is OFF.

2. After doing a manual refresh, it is showing as ON.

Regards,
Nikhil Gupta

Comment 9 Tim Wade 2017-03-01 18:47:29 UTC
PR: https://github.com/ManageIQ/manageiq/pull/14122

Comment 11 Martin Kourim 2017-03-23 15:57:33 UTC
Verified that the power state is reflected in the UI without the need to do 'Refresh Relationships and Power States' when the action was invoked via REST API.


Note You need to log in before you can comment on or make changes to this bug.