Bug 1044796

Summary: Installing Origin on RHEL 6 fails with Duplicate declaration: Service[cgconfig] is already declared
Product: OKD Reporter: Jan Pazdziora <jpazdziora>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-31 18:22: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:

Description Jan Pazdziora 2013-12-19 03:09:16 UTC
Description of problem:

When the instructions from http://openshift.github.io/documentation/oo_deployment_guide_puppet.html#configuring-an-all-in-one-host are used to install Origin on RHEL 6, the installation fails.

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

# rpm -q puppet
puppet-3.3.2-1.el6.noarch
The puppet content as of today.

How reproducible:

Seen once, assume deterministic.

Steps to Reproduce:
1. Follow the steps on http://openshift.github.io/documentation/oo_deployment_guide_puppet.html.
2. Run puppet apply --verbose configure_origin.pp

Actual results:

[0;32mInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb[0m
[0;32mInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb[0m
[0;32mInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb[0m
[0;32mInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb[0m
[1;31mWarning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults[0m
[mNotice: Scope(Class[Ntp]): autoupdate parameter has been deprecated and replaced with package_ensure.  Set this to latest for the same behavior as autoupdate => true.[0m
[1;31mError: Duplicate declaration: Service[cgconfig] is already declared in file /etc/puppet/modules/openshift_origin/manifests/plugins/container/selinux.pp:222; cannot redeclare at /etc/puppet/modules/openshift_origin/manifests/node.pp:142 on node broker.example.com[0m
[1;31mError: Duplicate declaration: Service[cgconfig] is already declared in file /etc/puppet/modules/openshift_origin/manifests/plugins/container/selinux.pp:222; cannot redeclare at /etc/puppet/modules/openshift_origin/manifests/node.pp:142 on node broker.example.com[0m

Expected results:

No error.

Additional info:

Comment 2 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.