Closed
Bug 1436472
Opened 8 years ago
Closed 8 years ago
socorro deploy: 308
Categories
(Socorro :: Infra, task)
Socorro
Infra
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Unassigned)
Details
We want to do a Socorro -prod deploy today tagged 308.
It consists of the following:
(current tag: 307 - ea24ac35)
86d829f2 bug 1422923 - removes symbols upload ui and code
56c346a9 Remove symbols upload related docs and tests
5f12c9c3 fixes bug 1219483 - remove exploitability_reports table
d7f7240d Removes references to graph on the home page, which is no longer in use.
223e7713 Fix bug 1434902: remove references to graph no longer being used on home
(next tag: 308 - 223e7713)
After deploy:
* update -prod admin node
* perform alembic migrations
* perform django migrations
Additional notes:
* we'll need to do Alembic and Django migrations in the new infrastructure environment
| Reporter | ||
Comment 2•8 years ago
|
||
-stage looks good to me.
Ping me on IRC when we do the deploy so I can update admin nodes and run migrations in -prod.
Flags: needinfo?(willkg)
Flags: needinfo?(miles)
Flags: needinfo?(bpitts)
| Reporter | ||
Comment 3•8 years ago
|
||
The deploy failed on -prod. This bug says we should tag 308 with 223e7713, but that's part of weird branching and it should really deploy 36492cafb.
I think that's a bug in scripts/deploy_bug.py. I'll look into fixing that.
Comment 4•8 years ago
|
||
Proper commit tagged as 308 and prod deploy finished.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(miles)
Flags: needinfo?(bpitts)
Resolution: --- → FIXED
| Reporter | ||
Comment 5•8 years ago
|
||
I upgraded the -prod admin node: 1:306.1517849021-1 to 1:307.1518029020-1
Then I ran alembic and django migrations:
[centos@prod ~]$ ./bin/manage_run.sh migrate
DatadogMetrics configured: localhost:8125 None
Operations to perform:
Apply all migrations: auth, contenttypes, eventlog, sessions, status, symbols, tokens, waffle
Running migrations:
Applying symbols.0002_auto_20180202_2324... OK
[centos@prod ~]$ ./bin/alembic_run.sh upgrade heads
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade 0193b4725f32 -> 0f31c225e765, bug 1219483 remove exploitability table
Passing this back to Miles and Brian to run alembic and django migrations in the new infrastructure.
Flags: needinfo?(miles)
Flags: needinfo?(bpitts)
Comment 6•8 years ago
|
||
I ran alembic and django migrations in -new-stage and -new-prod.
Flags: needinfo?(miles)
Flags: needinfo?(bpitts)
You need to log in
before you can comment on or make changes to this bug.
Description
•