Closed Bug 765043 Opened 12 years ago Closed 12 years ago

Set up solitude in -dev

Categories

(Cloud Services :: Operations: Marketplace, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andy+bugzilla, Assigned: oremj)

References

Details

Time to start setting up solitude in -dev.

We'll also need a big red button to push it, which I think means writing a suitable commander script.
Blocks: 765044
Need caching, would like to use memcache, but any cache that doesn't share data with the world works for me.
Assignee: server-ops → oremj
Seeing this:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gunicorn/workers/sync.py", line 100, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/data/www/payments-dev.allizom.org/solitude/vendor/lib/python/django/core/handlers/wsgi.py", line 241, in __call__
    response = self.get_response(request)
  File "/data/www/payments-dev.allizom.org/solitude/vendor/lib/python/django/core/handlers/base.py", line 179, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/data/www/payments-dev.allizom.org/solitude/vendor/lib/python/django/core/handlers/base.py", line 224, in handle_uncaught_exception
    if resolver.urlconf_module is None:
  File "/data/www/payments-dev.allizom.org/solitude/vendor/lib/python/django/core/urlresolvers.py", line 323, in urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/data/www/payments-dev.allizom.org/solitude/vendor/lib/python/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/data/www/payments-dev.allizom.org/solitude/solitude/urls.py", line 4, in <module>
    from tastypie.api import Api
ImportError: No module named tastypie.api
Adding tastypie to vendor is blocking the dev deployment.
I've got it in requirements/prod.txt for pip to pull in. Would you like me to move all those out to vendor?
Yeah, unless it is compiled we should put it in vendor, just like zamboni.
https://github.com/mozilla/solitude/commit/3a2913

I hate submodules in zamboni too :)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
New error:

ImportError: No module named mimeparse
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
https://github.com/mozilla/solitude/commit/cf312e

mimeparse added, sorry, was part of the dependencies that pip used to do for us.
Looks like the last missing dep was statsd. I've added that and I no longer see 500s.

The dev site is up, running, and updates automatically on commits. I'll call this FIXED. Let me know if anything else is needed.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Component: Server Operations: AMO Operations → Operations: Marketplace
Product: mozilla.org → Mozilla Services
You need to log in before you can comment on or make changes to this bug.