On 1 April 2016 at 14:15, Sam Ruby <[email protected]> wrote:
> On Fri, Apr 1, 2016 at 9:06 AM, sebb <[email protected]> wrote:
>> On 1 April 2016 at 14:03, Sam Ruby <[email protected]> wrote:
>>> On Fri, Apr 1, 2016 at 8:48 AM, Sam Ruby <[email protected]> wrote:
>>>> On Fri, Apr 1, 2016 at 8:43 AM, sebb <[email protected]> wrote:
>>>>> How often does the Whimsy code get updated from git?
>>>>
>>>> Every time puppet runs, i.e. every 30 minutes.
>>>>
>>>>> And where is the cronjob defined?
>>>>
>>>> I don't know how puppet works, but here is relevant portion of the
>>>> puppet manifest:
>>>>
>>>> https://github.com/apache/infrastructure-puppet/blob/deployment/modules/whimsy_server/manifests/init.pp#L58
>>>>
>>>>> Or does it use a constantly running daemon, in which case how to check
>>>>> if it is running?
>>>>
>>>> I don't know how to check if puppet is running.
>>>
>>> Daniel Gruno looked into it... the puppet agent died due to lack of
>>> memory.  I have no idea what caused that, there was plenty of
>>> available memory when we checked (long after the fact).
>>>
>>> Daniel doubled the memory (4G=>8G).  And I rebooted the machine.
>>
>> As of yet, the code still has not been updated:
>>
>> Git code info: 40e810b 2016-04-01 01:01:16 +0100
>
> Barring human intervention, the code should be updated the next time
> puppet runs.  As of yesterday, that was roughly 9 and 39 minutes after
> the hour, but that may vary.
>
> In case of emergency, the best thing to do is to jump on hipchat and
> ask the kind folks there to kick puppet:
>
>   sudo service puppet restart
>   sudo puppet agent -td

So the reboot does not run puppet?

> - Sam Ruby
>
>>>>> I have committed a couple of changes recently.
>>>>> The last one was over two hours ago now (Fri Apr 1 10:37:44 2016
>>>>> +0100) but it still has not been applied as far as I can tell.
>>>>>
>>>>> The git code info says:
>>>>>
>>>>> Git code info: 40e810b 2016-04-01 01:01:16 +0100
>>>>>
>>>>> I don't have experience with gitpubsub, but projects.a.o and
>>>>> reporter.a.o SVN code updates are almost instantaneous.
>>>>>
>>>>> It's a bit of a problem if code updates take a long time, especially
>>>>> if a mistake needs to be corrected, tho' that's not the case here.
>>>>
>>>> - Sam Ruby
>>>
>>> - Sam Ruby

Reply via email to