Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Host

Bug #1633565 reported by Emilien Macchi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Dan Prince

Bug Description

It seems like since we merged https://review.openstack.org/#/c/384756/ - our HA jobs are randomly failing with this trace:

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

See more details here:
http://logs.openstack.org/18/386118/2/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha/bae11ba/logs/postci.txt.gz#_2016-10-14_14_25_04_000

Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
milestone: none → ocata-1
assignee: nobody → Dan Prince (dan-prince)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/386716

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/386716
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ccc3a569833ce13c472d48815eaeb153ec650b54
Submitter: Jenkins
Branch: master

commit ccc3a569833ce13c472d48815eaeb153ec650b54
Author: Dan Prince <email address hidden>
Date: Fri Oct 14 13:39:01 2016 -0400

    Ensure all HostsDeployments finish before puppet

    This makes sure that the Host settings for all deployments are finished
    before starting the AllNodesDeployments which execute puppet.

    Change-Id: Ibe604472255ce905ca2c1dca2a9b07a6f8f40e47
    Related-bug: #1633565

Revision history for this message
Jiří Stránský (jistr) wrote :

Sounds like this could affect Newton too, right?

tags: added: newton-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/newton)

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/387982

Revision history for this message
Martin Mágr (mmagr) wrote :

I can confirm this is affecting Newton.

Revision history for this message
Attila Fazekas (afazekas) wrote :

I have the same puppet error message from newton.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/387982
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a909a656c9070aa02bc3a15dc3fd49870d94981a
Submitter: Jenkins
Branch: stable/newton

commit a909a656c9070aa02bc3a15dc3fd49870d94981a
Author: Dan Prince <email address hidden>
Date: Fri Oct 14 13:39:01 2016 -0400

    Ensure all HostsDeployments finish before puppet

    This makes sure that the Host settings for all deployments are finished
    before starting the AllNodesDeployments which execute puppet.

    Change-Id: Ibe604472255ce905ca2c1dca2a9b07a6f8f40e47
    Related-bug: #1633565
    (cherry picked from commit ccc3a569833ce13c472d48815eaeb153ec650b54)

tags: added: in-stable-newton
Steven Hardy (shardy)
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.