Enable the web api waffle feature

RESOLVED FIXED

Status

Infrastructure & Operations Graveyard
WebOps: Socorro
P3
normal
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: peterbe, Assigned: solarce)

Tracking

Details

(Reporter)

Description

5 years ago
Now that the public web api has landed [0] in master we need to enable the feature considering that it's secure and ready.

The command is::

  ./manage.py switch api-all on --create


NOTE: We can only do that once https://github.com/mozilla/socorro-crashstats/commit/cddb33b0d52024d363cb4891a1320bbd712a0ada has made it into stage and prod. 

[0] https://bugzilla.mozilla.org/show_bug.cgi?id=858245
(Reporter)

Comment 1

5 years ago
I'm CCing you rhelmer because you're usually the master of upgrade dev and I would do it but I'm very soon disappearing on 2 1/2 days of PTO. Would you mind enable this on dev please?
(Reporter)

Updated

5 years ago
Blocks: 858245
(Reporter)

Updated

5 years ago
Blocks: 855485
I activated the API on dev and stage. 

https://crash-stats-dev.allizom.org/api/
https://crash-stats.allizom.org/api/

We should not turn it on on production yet. 

(note that sudo is not required to turn a switch on or off, you just need access to the right hosts)
(Assignee)

Comment 3

5 years ago
(In reply to Adrian Gaudebert [:adrian] from comment #2)
> I activated the API on dev and stage. 
> 
> https://crash-stats-dev.allizom.org/api/
> https://crash-stats.allizom.org/api/
> 
> We should not turn it on on production yet. 
> 
> (note that sudo is not required to turn a switch on or off, you just need
> access to the right hosts)

Just to confirm, you ran the manage.py command for dev and stage?
(In reply to Brandon Burton [:solarce] from comment #3)
> Just to confirm, you ran the manage.py command for dev and stage?

Yes! :)
(Reporter)

Comment 5

5 years ago
:solarce please go ahead and enable it on prod too.
(Assignee)

Updated

5 years ago
Assignee: server-ops-webops → bburton
Priority: -- → P3
(Assignee)

Comment 6

5 years ago
(In reply to Peter Bengtsson [:peterbe] from comment #5)
> :solarce please go ahead and enable it on prod too.

turned on on prod

[root@socorroadm.private.phx1 ~]# cd /data/crashstats/src/crash-stats.mozilla.org/
[root@socorroadm.private.phx1 crash-stats.mozilla.org]# cd app
[root@socorroadm.private.phx1 app]# ./manage.py switch api-all on --create
Creating switch: api-all
[root@socorroadm.private.phx1 app]#
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Comment 7

5 years ago
Ran correct command

[root@socorroadm.private.phx1 app]# ./manage.py switch app_api_all on --create
Creating switch: app_api_all
[root@socorroadm.private.phx1 app]#
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.