Closed Bug 892029 Opened 11 years ago Closed 11 years ago

Enable the web api waffle feature

Categories

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

x86
macOS

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: bburton)

References

Details

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
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?
Blocks: 858245
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)
(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! :)
:solarce please go ahead and enable it on prod too.
Assignee: server-ops-webops → bburton
Priority: -- → P3
(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
Closed: 11 years ago
Resolution: --- → FIXED
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.