[Labs-l] Problems when setting up an instance of Wikidata

Ryan Lane rlane32 at gmail.com
Tue Apr 17 19:22:15 UTC 2012


>>> So, is there any "plain" mysql class that we can use?
>> Add in generic::mysql::server using this page -
>> https://labsconsole.wikimedia.org/wiki/Special:NovaPuppetGroup
>
> Hm. Trying that gives me:
>
> "There are problems with some of your input. Bad resource name provided.
> Resource names start with a-z, and can only contain a-z, 0-9, -, and _ characters."
>
> So... what do I put there? I guess it should be a group name, not a class name?
> Where do I find the group names?
>

Ok, that's definitely a bug, added to bugzilla to track:
https://bugzilla.wikimedia.org/show_bug.cgi?id=36044

>>>>> * UNCLEAR: after changing the puppet config for an instance, when are the
>>>>> changes applied? We ended up running puppetd -tv manually from the shell...
>>>>> shouldn't the console just trigger that whenever the config is changes?
>>>>>
>>
>> FYI it also runs once an hour.
>
> I'm not that patient :)
>

That's what puppet force runs are for. It's almost always best to run
it directly on the host, so you can see if there are errors. When I
need to run it on a number of hosts, I use a custom dsh-like python
script that can run things based on instance and project info (like
run this on all instances in the wikidata project). I should probably
put that into the repo and make it available on all instances...

- Ryan



More information about the Labs-l mailing list