Bug 1467864

Summary: Refresh is not triggered after registration of Openstack node
Product: Red Hat CloudForms Management Engine Reporter: Oleksandr Kolisnyk <okolisny>
Component: ProvidersAssignee: Tzu-Mainn Chen <tzumainn>
Status: CLOSED CANTFIX QA Contact: Oleksandr Kolisnyk <okolisny>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: gblomqui, jfrey, jhardy, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-11 14:40:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:

Description Oleksandr Kolisnyk 2017-07-05 11:18:51 UTC
Description of problem:
Refresh of Infra provider isn't performed automatically after new node registration

Version-Release number of selected component (if applicable):
5.8.1.0 and RHOS 11

Steps to Reproduce:
1. Go Compute -> Infrastructure -> Providers
2. Click on your Openstack Infra provider icon
3. Click Configuration -> Register Nodes
4. Upload instackenv.json file
5. Wait for refresh to be completed

Actual results:
step 4 - flash message "Nodes were added successfully. Refresh queued."
step 5 - no refresh is performed for Infra provider

Expected results:
step 5 - refresh is queued and completed successfully   

Additional info:

Comment 2 Tzu-Mainn Chen 2017-07-05 17:03:32 UTC
This is something we can't fix until the OpenStack Ironic service starts emitting events.  As far as I know, it still doesn't do so.

Comment 3 Tzu-Mainn Chen 2017-07-11 14:40:51 UTC
This is actually an OSP issue: Ironic doesn't emit events, so there's no way for CloudForms to know when a node is registered.