Push SUMO 2.4.2 on Thursday, 20 January at 4pm PST

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: rrosario, Assigned: oremj)

Tracking

other
Bug Flags:
needs-downtime +

Details

(Whiteboard: [01/20/2011 @ 4pm][no-announce])

(Reporter)

Description

7 years ago
Per the webdev releases calendar, we have a fairly small release, SUMO 2.4.2,
ready for Tuesday.

The git tag will be 2.4.2. The steps are:

git checkout 2.4.2
git submodule update --init
pushd locale && ./compile-mo.sh . && popd
manage.py compress_assets
schematic migrations/

Additional steps:
* Set WEBTRENDS_WIKI_REPORT_URL, WEBTRENDS_USER, and WEBTRENDS_PASSWORD in
settings_local.py.
* Set a cron task to run "./manage.py cron reload_wiki_traffic_stats" a little
after midnight UTC.


We'll add anything else if we forgot it.

Updated

7 years ago
OS: Other → All

Comment 1

7 years ago
User impacting downtime?
Flags: needs-downtime+
Whiteboard: [01/18/2011 @ 4pm]
(Reporter)

Comment 2

7 years ago
(In reply to comment #1)
> User impacting downtime?

Nope. There are two migrations for adding a column to an existing table and creating a new table, but nothing that should affect normal users.
We are adding a /services/monitor page, like AMO has. It returns 500 if it finds any issues, so we can set up nagios to watch it. (Doesn't have to be during the push, just throwing it out there.)

Updated

7 years ago
Whiteboard: [01/18/2011 @ 4pm] → [01/18/2011 @ 4pm][no-announce]
We need to move this to Thursday. We forgot about the holiday when planning it for Tuesday. We've already talked to Jeremy and AMO and they're both OK with doing SUMO and then AMO on Thursday afternoon. (And thanks to them both.)
Summary: Push SUMO 2.4.2 on Tuesday, 18 January at 4pm PST → Push SUMO 2.4.2 on Thursday, 20 January at 4pm PST

Updated

7 years ago
Whiteboard: [01/18/2011 @ 4pm][no-announce] → [01/20/2011 @ 4pm][no-announce]
(Assignee)

Updated

7 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 5

7 years ago
remote: Counting objects: 845, done.
remote: Compressing objects: 100% (417/417), done.
remote: Total 668 (delta 484), reused 361 (delta 212)
Receiving objects: 100% (668/668), 139.83 KiB, done.
Resolving deltas: 100% (484/484), completed with 139 local objects.
From http://github.com/jsocol/kitsune
 * [new branch]      docs       -> origin/docs
 * [new branch]      inproduct-models -> origin/inproduct-models
 * [new branch]      localize-english-625893 -> origin/localize-english-625893
   fff462f..d17dae7  master     -> origin/master
 + 2d0a4d1...7b235bc next       -> origin/next  (forced update)
 * [new branch]      sphinx-external -> origin/sphinx-external
 * [new tag]         2.4.2      -> 2.4.2
[root@mradm02 prod]# git checkout 2.4.2
Previous HEAD position was 2d0a4d1... Get chat queue status from the right place. [bug 625138]
HEAD is now at 7b235bc... Fix for attachments on reply forms. The form no longer stays disabled. [bug 627447]
[root@mradm02 prod]# git submodule update --init
[root@mradm02 prod]# cd locale
[root@mradm02 locale]# sh compile-mo.sh .
[root@mradm02 locale]# cd ..
[root@mradm02 prod]# python26 manage.py compress_assets
[root@mradm02 prod]# python26 manage.py
manage.py   manage.pyc  
[root@mradm02 prod]# python26 
apps/               docs/               __init__.py         log_settings.py     media/              scripts/            settings.pyc        vendor/
build/              .git/               __init__.pyc        log_settings.pyc    migrations/         settings_local.py   src/                wsgi/
build.py            .gitignore          lib/                manage.py           pip-log.txt         settings_local.pyc  templates/          
configs/            .gitmodules         locale/             manage.pyc          requirements/       settings.py         urls.py             
[root@mradm02 prod]# python26 vendor/
addsubmodules.sh  .git/             .gitignore        .gitmodules       kitsune.pth       packages/         src/              
[root@mradm02 prod]# python26 vendor/src/
bleach/                         django-authority/               django-extensions/              jingo/                          tower/
cache-panel/                    django-cache-machine/           django-mozilla-product-details/ jingo-minify/                   tweepy/
check/                          django-cronjobs/                django-multidb-router/          py-wikimarkup/                  
commonware/                     django-csp/                     django-nose/                    schematic/                      
django/                         django-debug-toolbar/           django-timezones/               test-utils/                     
[root@mradm02 prod]# python26 vendor/src/schematic/
CONTRIBUTORS    .git/           .gitignore      LICENSE         make_readme.sh  README.md       schematic       setup.py        
[root@mradm02 prod]# python26 vendor/src/schematic/schematic migrations
Running migration 72:
ALTER TABLE `gallery_video`
    ADD `poster` varchar(250) DEFAULT NULL;

That took 0.14 seconds
################################################## 

Running migration 73:
CREATE TABLE `dashboards_wikidocumentvisits` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `document_id` integer NOT NULL,
    `visits` integer NOT NULL,
    `period` integer NOT NULL,
    UNIQUE (`period`, `document_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `dashboards_wikidocumentvisits` ADD CONSTRAINT `document_id_refs_id_814b8dd0` FOREIGN KEY (`document_id`) REFERENCES `wiki_document` (`id`);
CREATE INDEX `dashboards_wikidocumentvisits_f4226d13` ON `dashboards_wikidocumentvisits` (`document_id`);
CREATE INDEX `dashboards_wikidocumentvisits_5bfc8463` ON `dashboards_wikidocumentvisits` (`visits`);

That took 0.19 seconds
##################################################
(Assignee)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.