swift storage fails under puppet5 with a duplicate class definition of xinetd

Bug #1803577 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

This is likely due to our our attempts at overriding the xinetd class in THT.

https://logs.rdoproject.org/41/17341/2/check/legacy-rdoinfo-tripleo-master-testing-centos-7-multinode-1ctlr-featureset016/f109bb1/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-11-15_14_20_04

2018-11-15 14:20:06 | "Error: Class 'xinetd' is already defined (file: /etc/config.pp, line: 6); cannot redefine (file: /etc/puppet/modules/xinetd/manifests/init.pp, line: 12) on node undercloud.localdomain",

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/618202

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/618202
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6ae59906d1ae5a370b56c4c7028241547055cf1a
Submitter: Zuul
Branch: master

commit 6ae59906d1ae5a370b56c4c7028241547055cf1a
Author: Alex Schultz <email address hidden>
Date: Thu Nov 15 08:52:53 2018 -0700

    Change the ordering for the xinetd class override

    Because we do not want to run the xinetd class, we override the
    definition in our puppet config. Unfortunately with puppet5, the load
    ordering appears to have been changed so the class definition needs to
    be before the other invocations of it.

    Change-Id: I7d8c340e8af4a4e10cb99ccd41cf47884206b2e1
    Closes-Bug: #1803577

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.2.0

This issue was fixed in the openstack/tripleo-heat-templates 10.2.0 release.

Revision history for this message
Nawar (nawarix) wrote :

Hi
I'm getting the same error
Error: Class 'xinetd' is already defined (file: /etc/config.pp, line: 4); cannot redefine (file: /etc/puppet/modules/xinetd/manifests/init.pp, line: 12)

when trying to deploy overcloud with ceph

I tried the fix but no use.

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.