Closed
Bug 728215
Opened 14 years ago
Closed 14 years ago
[sumo-stage] Add ES_WRITE_INDEXES to settings_local.py
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rrosario, Assigned: bburton)
Details
In settings_local.py, please add the following in a line after the ES_INDEXES setting:
`ES_WRITE_INDEXES = ES_INDEXES`
| Assignee | ||
Updated•14 years ago
|
Assignee: server-ops → bburton
| Assignee | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•14 years ago
|
||
This has been added and deployed, I noticed both settings are missing on dev, do you want them added there?
[root@supportadm.private.phx1 support-stage]# ./deploy support.allizom.org
[2012-02-17 12:12:35] Running rsync_project
[2012-02-17 12:12:35] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support-stage/src/support.allizom.org/ /data/support-stage/www/support.allizom.org/
[2012-02-17 12:12:45] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support-stage/src/support.allizom.org/ /data/support-stage/www/support.allizom.org/ (10.221s)
[2012-02-17 12:12:45] Running push_www
[2012-02-17 12:12:45] [support1.stage.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh support.allizom.org
[2012-02-17 12:12:47] [support1.stage.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh support.allizom.org (1.387s)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 2•14 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #1)
> This has been added and deployed, I noticed both settings are missing on
> dev, do you want them added there?
Yes please. Can you set it the same way on -dev but replace "_stage" with "_dev"?
Thanks!
| Assignee | ||
Comment 3•14 years ago
|
||
This has been added.
[root@supportadm.private.phx1 src]# grep ES_INDEX support-dev.allizom.org/kitsune/settings_local.py
ES_INDEXES = {'default': 'sumo_stage'}
ES_WRITE_INDEXES = ES_INDEXES
And it has been pushed out
[root@supportadm.private.phx1 src]# /data/support-dev/deploy support-dev.allizom.org
[2012-02-17 16:35:21] Running rsync_project
[2012-02-17 16:35:21] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support-dev/src/support-dev.allizom.org/ /data/support-dev/www/support-dev.allizom.org/
[2012-02-17 16:36:05] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support-dev/src/support-dev.allizom.org/ /data/support-dev/www/support-dev.allizom.org/ (44.124s)
[2012-02-17 16:36:05] Running push_www
[2012-02-17 16:36:05] [support1.dev.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh support-dev.allizom.org
[2012-02-17 16:36:07] [support1.dev.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh support-dev.allizom.org (1.550s)
Comment 4•14 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #3)
> This has been added.
>
> [root@supportadm.private.phx1 src]# grep ES_INDEX
> support-dev.allizom.org/kitsune/settings_local.py
> ES_INDEXES = {'default': 'sumo_stage'}
> ES_WRITE_INDEXES = ES_INDEXES
We actually need it set to 'sumo_dev' on -dev. So the two lines in settings_local.py on -dev should be:
ES_INDEXES = {'default': 'sumo_dev'}
ES_WRITE_INDEXES = ES_INDEXES
Otherwise -dev and -stage are stomping on eachother's index.
| Assignee | ||
Comment 5•14 years ago
|
||
Sorry, I herped a derp on that one.
I've fixed it and pushed it
[root@supportadm.private.phx1 src]# grep ES_INDEX support-dev.allizom.org/kitsune/settings_local.py
ES_INDEXES = {'default': 'sumo_dev'}
ES_WRITE_INDEXES = ES_INDEXES
[root@supportadm.private.phx1 src]# /data/support-dev/deploy support-dev.allizom.org
[2012-02-17 17:06:14] Running rsync_project
[2012-02-17 17:06:14] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support-dev/src/support-dev.allizom.org/ /data/support-dev/www/support-dev.allizom.org/
[2012-02-17 17:06:22] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support-dev/src/support-dev.allizom.org/ /data/support-dev/www/support-dev.allizom.org/ (8.452s)
[2012-02-17 17:06:22] Running push_www
[2012-02-17 17:06:22] [support1.dev.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh support-dev.allizom.org
[2012-02-17 17:06:24] [support1.dev.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh support-dev.allizom.org (1.360s)
Comment 6•14 years ago
|
||
Wow--that was really fast turnaround. You rock! Thank you!
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•