Bug 1192145

Summary: When a role is not used in a deployment you get a warning: "Role has no flavor"
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: openstack-tuskar-uiAssignee: Ana Krivokapic <akrivoka>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: akrivoka, mburns, rhel-osp-director-maint, yeylon
Target Milestone: gaKeywords: Triaged
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tuskar-ui-0.3.0-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:50:21 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 Udi Kalifon 2015-02-12 16:59:02 UTC
Description of problem:
When you don't use all the roles in the deployment, warnings near the "Deploy" button appears: 
Role swift-storage has no flavor. ( Associate this role with a flavor. )
Role cinder-storage has no flavor. ( Associate this role with a flavor. ) 


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-0.7.9-10.el7ost.noarch
openstack-tripleo-0.0.5-2c3fb309727671130a32b4c19de48ec22c8530aa1.el7ost.noarch
openstack-tripleo-image-elements-0.8.10-19.el7ost.noarch
openstack-tuskar-ui-extras-0.0.3-1.el7ost.noarch
openstack-tuskar-0.4.15-4.el7ost.noarch
openstack-tuskar-ui-0.2.0-11.el7ost.noarch
python-tuskarclient-0.1.15-3.el7ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. In the "Overview" page, drag some of the roles out of the deployment
2. Look near the "Deploy" button, and also look in the "Deployment Roles" page


Actual results:
The unused roles are are associated with the "Unknown" flavor and that causes a warning to be displayed near the "Deploy" button. We don't need a warning about roles we're not interested in.

Comment 3 Ana Krivokapic 2015-02-16 08:46:29 UTC
Upstream patch on review: https://review.openstack.org/#/c/155803/

Comment 4 Ana Krivokapic 2015-03-03 14:12:05 UTC
Merged upstream.

Comment 9 Udi Kalifon 2015-07-30 14:47:07 UTC
Verified:
openstack-tuskar-ui-extras-0.0.4-1.el7ost.noarch
openstack-tuskar-ui-0.3.0-13.el7ost.noarch

Comment 11 errata-xmlrpc 2015-08-05 13:50:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1549