Bug 1264471

Summary: rdomanager_oscplugins throws misleading 'WARNING: There are X ironic nodes with no profile that will not be used.'
Product: Red Hat OpenStack Reporter: Omri Hochman <ohochman>
Component: rhosp-directorAssignee: chris alfonso <calfonso>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: hbrock, mburns, rhel-osp-director-maint, rybrown, srevivo
Target Milestone: ---   
Target Release: 7.0 (Kilo)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-18 14:27:45 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:

Description Omri Hochman 2015-09-18 14:20:38 UTC
Description:
Start deployment without setting profiles first causes misleading 'WARNING: There are X ironic nodes with no profile that will not be used.' 

Environment: 
------------
python-rdomanager-oscplugin-0.0.10-4.el7ost.noarch
instack-0.0.7-1.el7ost.noarch
instack-undercloud-2.1.2-26.el7ost.noarch
openstack-tripleo-heat-templates-0.8.6-62.el7ost.noarch
openstack-heat-templates-0-0.6.20150605git.el7ost.noarch

Steps: 
-------
Attempt to start deployment without setting profiles first 

Results: 
---------
Unconditioned misleading warning message that indicate that the nodes won't be in use in the deployment.    

Code: 
------
 https://github.com/rdo-management/python-rdomanager-oscplugin/blob/master/rdomanager_oscplugin/v1/overcloud_deploy.py#L799-L805

Example of Warning : 
--------------------
[stack@undercloud ~]$ openstack overcloud deploy --templates --control-scale 3 --compute-scale 1 --ceph-storage-scale 1 -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml -e /home/stack/network-environment.yaml --ntp-server 10.5.26.10 --neutron-network-type vxlan --neutron-tunnel-types vxlan --timeout 90 
WARNING: rdomanager_oscplugin.v1.overcloud_deploy.DeployOvercloud There are 7 ironic nodes with no profile that will not be used: 17320026-e999-4635-9777-e14095812689, b4065c0d-f15b-470f-9fd2-535b4eddc5d3, 41bd0a53-faa4-4e4e-a350-8149d502eeec, 8d7fe914-b1a5-49e6-aa06-73fbf92cef67, a228d51c-d020-4c23-ab8d-3fd85d2d5933, bc4c69cd-a7b8-4acd-9ed9-6c6d535c1138, f4833c04-fd11-4650-87ad-a5521cd28861

Comment 1 Ryan Brown 2015-09-18 14:27:45 UTC

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