Closed Bug 853102 Opened 13 years ago Closed 13 years ago

Socorro stage not updating, syntax error

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lonnen, Assigned: bburton)

Details

At 6:50 AM on 03-19-2013 the update cron on Socorro's staging environment began failing: Syntax: socorro-install.sh <url-to-socorro_tar_gz> It's failed every 5 minutes since then. It appears that this is preventing stage updates. The cron is in `/etc/cron.d/auto-update`. It runs a script inside Socorro to actually auto-update, but that script hasn't been changed in 4 months.
Severity: normal → major
Assignee: server-ops → server-ops-webops
Severity: major → normal
Component: Server Operations → Server Operations: Web Operations
Priority: -- → P3
QA Contact: shyam → nmaul
This has been updated and is running [root@socorroadm.stage.private.phx1 cron.d]# tail -n 20 /var/log/cron | grep update-socorro Mar 20 13:15:01 socorroadm CROND[6144]: (root) CMD (/data/socorro/application/scripts/update-socorro.sh https://ci.mozilla.org/job/socorro-release/lastSuccessfulBuild/artifact/socorro.tar.gz) Mar 20 13:20:01 socorroadm CROND[6862]: (root) CMD (/data/socorro/application/scripts/update-socorro.sh https://ci.mozilla.org/job/socorro-release/lastSuccessfulBuild/artifact/socorro.tar.gz)
Assignee: server-ops-webops → bburton
We're rolling back to the previous script for now, as the new one has no logic for multiple servers.
bburton@ironbars [01:52:51] [~/code/mozilla/sysadmins/puppet/trunk] -> % svn diff Index: modules/webapp/files/socorro-stage/admin/etc-cron.d/auto-update =================================================================== --- modules/webapp/files/socorro-stage/admin/etc-cron.d/auto-update (revision 61716) +++ modules/webapp/files/socorro-stage/admin/etc-cron.d/auto-update (working copy) @@ -1,4 +1,4 @@ # Auto update stage MAILTO="cron-socorro@mozilla.com" # bug 826449 -*/5 * * * * root /data/socorro/application/scripts/update-socorro.sh +*/5 * * * * root /root/bin/auto-update.sh bburton@ironbars [01:52:53] [~/code/mozilla/sysadmins/puppet/trunk] -> % svn ci -m "rolling back to previous script on stage for now, bug 853102" Sending trunk/modules/webapp/files/socorro-stage/admin/etc-cron.d/auto-update Transmitting file data . Committed revision 61718.
Pushed with puppet Info: Applying configuration version '61718' Notice: /File[/etc/cron.d/auto-update]/content: --- /etc/cron.d/auto-update 2013-03-20 13:34:15.000000000 -0700 +++ /tmp/puppet-file20130320-18893-1e4i8r-0 2013-03-20 14:05:27.000000000 -0700 @@ -1,4 +1,4 @@ # Auto update stage MAILTO="cron-socorro@mozilla.com" # bug 826449 -#*/5 * * * * root /data/socorro/application/scripts/update-socorro.sh https://ci.mozilla.org/job/socorro-release/lastSuccessfulBuild/artifact/socorro.tar.gz +*/5 * * * * root /root/bin/auto-update.sh
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.