[8161] in athena10
Re: [Debathena] #1020: auto-update sits at "Writing extended state
daemon@ATHENA.MIT.EDU (Debathena Trac)
Sun Aug 7 22:31:41 2011
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
From: "Debathena Trac" <debathena@MIT.EDU>
Cc: debathena@mit.edu
To: jdreed@mit.edu
Date: Mon, 08 Aug 2011 02:31:32 -0000
Reply-To:
Message-ID: <052.f6626b69f8fa8b15b7644e955b9e66b0@mit.edu>
In-Reply-To: <043.501d0edf8596d2dbbc90cea8d9b32c99@mit.edu>
Content-Transfer-Encoding: 8bit
#1020: auto-update sits at "Writing extended state info"---------------------+------------------------------------------------------
Reporter: jdreed | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: Natty Release
Component: -- | Keywords:
See_also: |
---------------------+------------------------------------------------------Changes (by jdreed):
* priority: high => blocker
* milestone: Fall 2011 => Natty Release
Comment:
This is actually a release blocker, since the machines can't be fixed
without intervention, and neither I nor hotline will be visiting every
single cluster machine again. If we don't have a solution tomorrow, I
propose we push out the release anyway, with the following addition to
auto-update that gets dropped into cron.hourly:
{{{
#!/bin/bash
UPD_START=$(stat -c "%Y" /var/run/athena-nologin 2>/dev/null)
[ -z "$UPD_START" ] && exit 0
NOW=$(date +"%s")
ELAPSED=$(expr $NOW - $UPD_START)
if [ $ELAPSED -gt 3600 ]; then
pkill -f athena-auto-update
# (or maybe just reboot?)
fi
exit 0
}}}
-- Ticket URL: <http://debathena.mit.edu/trac/ticket/1020#comment:5>Debathena <http://debathena.mit.edu/>MIT Debathena Project