Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 951283

Summary: role env vars have duplicate FQDNs if recipe role and task role are the same
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.12CC: asaha, dcallagh, llim, ltoscano, qwan, rglasz, rmancy
Target Milestone: HOTFIXKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Misc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-23 05:05:11 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:
Attachments:
Description Flags
job XML to reproduce none

Description Dan Callaghan 2013-04-12 00:28:05 UTC
Created attachment 734481 [details]
job XML to reproduce

Description of problem:
Role environment variables can contain the same FQDN more than once, if the same role name is set at the recipe level and the task level.

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

How reproducible:
always

Steps to Reproduce:
1. Queue attached job XML
  
Actual results:
TESTOUT.log shows:
guest2.example.com guest2.example.com
guest3.example.com guest3.example.com

Expected results:
TESTOUT.log should show:
guest2.example.com
guest3.example.com

Comment 1 Dan Callaghan 2013-04-12 00:28:37 UTC
Workaround is to set the role at either the recipe level or the task level, but not both.

Comment 2 Dan Callaghan 2013-04-12 06:32:53 UTC
On Gerrit: http://gerrit.beaker-project.org/1878

Comment 5 Dan Callaghan 2013-04-23 05:05:11 UTC
Beaker 0.12.1 has been released.