https://bugzilla.wikimedia.org/show_bug.cgi?id=57475

       Web browser: ---
            Bug ID: 57475
           Summary: puppet failure Duplicate definition:
                    File[/srv/mediawiki]
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Infrastructure
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I followed https://wikitech.wikimedia.org/wiki/Help:InstanceConfigMediawiki to
set up new instance i-0000099e (ee-flow-big)

https://wikitech.wikimedia.org/w/index.php?title=Special:NovaInstance&action=configure&instanceid=045327fb-a24f-4942-905d-d54293c47e87&project=editor-engagement&region=pmtpa

I simply added role::mediawiki-install::labs and memcached, and gave it
labs_mediawiki_hostname    = ee-flow-big.pmtpa.wmflabs

It seems stuck. No Apache running, no memcached, nothing in /srv.
There have been several puppet runs, they all fail with:

spage@ee-flow-big:~$ cat /var/log/puppet.log
...
err: Failed to apply catalog: Cannot alias File[git_clone_mediawiki_directory]
to ["/srv/mediawiki"] at /etc/puppet/modules/git/manifests/clone.pp:98;
resource ["File", "/srv/mediawiki"] already defined at
/etc/puppet/modules/apache/manifests/vhost.pp:93
info: Sleeping for 0 seconds (splay is enabled)
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/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/projectgid.rb
info: Loading facts in /var/lib/puppet/lib/facter/apt.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/default_gateway.rb
info: Caching catalog for i-0000099e.pmtpa.wmflabs
err: Failed to apply catalog: Duplicate definition: File[/srv/mediawiki] is
already defined in file /etc/puppet/modules/git/manifests/clone.pp at line 98;
cannot redefine

All the failures are one or the other of those "err:" lines.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to