Bug 1389189

Summary: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Host
Product: Red Hat OpenStack Reporter: Attila Fazekas <afazekas>
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED ERRATA QA Contact: Sergii Nozhka <snozhka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: dnavale, johfulto, jomurphy, jschluet, jslagle, mburns, mcornea, mpryc, rhel-osp-director-maint, sclewis, snozhka
Target Milestone: rcKeywords: AutomationBlocker, Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.0.0-0.9.0rc3.el7ost Doc Type: Bug Fix
Doc Text:
Previously, due to a race condition between Hiera data getting written and Puppet execution on nodes, Puppet on the Overcloud nodes failed occasionally due to the missing Hiera data. With this update, ordering is introduced, first writing of the Hiera data is completed on all nodes and then Puppet execution takes place. As a result, Puppet no longer fails during execution as all the necessary Hiera data is present.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:26:02 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 Attila Fazekas 2016-10-27 07:02:55 UTC
Multiple setup failed with 

Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Host[external] to [""]; resource ["Host", ""] already declared at /etc/puppet/modules/tripleo/manifests/vip_hosts.pp:37


openstack-tripleo-heat-templates.noarch                                     5.0.0-0.8.0rc3.el7ost


The issue already known at upstream:
https://bugs.launchpad.net/tripleo/+bug/1633565

Comment 1 Jon Schlueter 2016-10-28 19:32:01 UTC
*** Bug 1389748 has been marked as a duplicate of this bug. ***

Comment 5 Sergii Nozhka 2016-11-07 16:43:37 UTC
The issue not reproduced with openstack-tripleo-heat-templates-5.0.0-1.2.el7ost.noarch.

Comment 8 errata-xmlrpc 2016-12-14 16:26:02 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://rhn.redhat.com/errata/RHEA-2016-2948.html