Page MenuHomePhabricator

Can't apply Puppet class role::mediawiki::videoscaler in beta
Closed, ResolvedPublic

Description

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: Class[Mediawiki::Jobrunner] is already defined in file /etc/puppet/manifests/role/mediawiki.pp at line 225; cannot redefine at /etc/puppet/manifests/role/mediawiki.pp:259 on node i-00000237.eqiad.wmflabs

Commenting out the class {"::mediawiki::jobrunner": define in role::mediawiki::videoscaler fixes this problem, but leaves deployment-videoscaler01.eqiad.wmflabs without a Puppet managed job runner.

The role::mediawiki::videoscaler class is not modified for use in beta, so I would imagine that the same error occurs in production for the tmh100[1-2].eqiad.wmnet hosts.


Version: unspecified
Severity: major

Details

Reference
bz65569

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:10 AM
bzimport set Reference to bz65569.

deployment-videoscaler01:~
bd808$ sudo puppet agent --test --verbose
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_config_dir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/default_gateway.rb
Info: Loading facts in /var/lib/puppet/lib/facter/physicalcorecount.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ec2id.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/meminbytes.rb
Info: Loading facts in /var/lib/puppet/lib/facter/projectgid.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/apt.rb
Info: Caching catalog for i-00000237.eqiad.wmflabs
Info: Applying configuration version '1403044285'
Notice: /Stage[first]/Apt::Update/Exec[/usr/bin/apt-get update]/returns: executed successfully
Notice: hostname: deployment-videoscaler01
Notice: /Stage[main]/Base::Puppet/Notify[hostname: deployment-videoscaler01]/message: defined 'message' as 'hostname: deployment-videoscaler01'
Notice: /Stage[main]/Base::Puppet/Exec[puppet snmp trap]/returns: executed successfully
Notice: instanceproject: deployment-prep
Notice: /Stage[main]/Base::Puppet/Notify[instanceproject: deployment-prep]/message: defined 'message' as 'instanceproject: deployment-prep'
Notice: Finished catalog run in 25.01 seconds