Last modified: 2014-06-17 23:23:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67569, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65569 - Can't apply Puppet class role::mediawiki::videoscaler in beta
Can't apply Puppet class role::mediawiki::videoscaler in beta
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-21 01:17 UTC by Bryan Davis
Modified: 2014-06-17 23:23 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Davis 2014-05-21 01:17:58 UTC
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.
Comment 1 Bryan Davis 2014-06-17 23:23:19 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links