Bug 1167367

Summary: rubygem-staypuft: unable to assign discovered hosts before all the details were gathered.
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: foreman-discovery-imageAssignee: Lukas Zapletal <lzap>
Status: CLOSED WONTFIX QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mburns, rhos-maint, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: Installer   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-29 14:48:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1177026    

Description Alexander Chuzhoy 2014-11-24 14:49:29 UTC
rubygem-staypuft:  unable to assign discovered hosts before all the details were gathered.


Environment:

openstack-foreman-installer-3.0.1-1.el7ost.noarch
ruby193-rubygem-staypuft-0.5.0-1.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
rhel-osp-installer-client-0.5.0-4.el7ost.noarch
openstack-puppet-modules-2014.2.1-0.5.el7ost.noarch
rhel-osp-installer-0.5.0-4.el7ost.noarch

Steps to reproduce:
1. Install rhel-osp-installer
2. Boot hosts via PXE to make them visible in the "discovered hosts" list.

Result:
Hosts appear in the "discovered hosts" list with data missing in the 'Model' and 'Subnet' columns. It's impossible to add hosts to deployments until the data is filled in the columns.
After a couple of minutes the values appear in the respective columns and it becomes possible to add these hosts to deployments.

Expected result:
The hosts shouldn't become available for assignment until all the required data is collected.

Comment 1 Mike Burns 2014-11-25 18:20:11 UTC
This seems like an issue where the discovery image is sending info to the server before it has all it's info.