Closed
Bug 679177
Opened 14 years ago
Closed 14 years ago
[traceback] OSError: [Errno 13] Permission denied: '/data/amo_python/www/preview/zamboni/tmp'
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task, P4)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: krupa.mozbugs, Assigned: oremj)
References
()
Details
(Whiteboard: [persona])
steps to reproduce:
1. Load https://addons.allizom.org/z/en-US/firefox/i/personas/submit
2. Submit a persona
Traceback (most recent call last):
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/amo_python/www/preview/zamboni/apps/amo/decorators.py", line 28, in wrapper
return func(request, *args, **kw)
File "/data/amo_python/www/preview/zamboni/apps/addons/views.py", line 840, in submit_persona
addon = form.save()
File "/data/amo_python/www/preview/zamboni/apps/addons/forms.py", line 488, in save
save_persona_image(src=header, dst=dst, img_basename='header.jpg')
File "/data/amo_python/www/preview/zamboni/vendor/lib/python/celery/task/base.py", line 241, in __call__
return self.run(*args, **kwargs)
File "/data/amo_python/www/preview/zamboni/vendor/lib/python/celery/app/__init__.py", line 141, in run
return fun(*args, **kwargs)
File "/data/amo_python/www/preview/zamboni/vendor/src/nuggets/celeryutils.py", line 35, in wrapped
return fun(*args, **kw)
File "/data/amo_python/www/preview/zamboni/apps/amo/decorators.py", line 113, in wrapper
result = f(*args, **kw)
File "/data/amo_python/www/preview/zamboni/apps/addons/tasks.py", line 206, in save_persona_image
os.makedirs(dst)
File "/usr/lib/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/data/amo_python/www/preview/zamboni/tmp'
Updated•14 years ago
|
Assignee: nobody → cwiemeersch
Updated•14 years ago
|
Priority: -- → P4
Target Milestone: 6.2.1 → 6.2.2
Comment 1•14 years ago
|
||
This just needs an IT bug to fix the path in settings_local.
Comment 2•14 years ago
|
||
Looks like the directory needs to be created on the NFS mount. From https://addons-dev.allizom.org/services/monitor :
/data/www/addons-dev.allizom.org/zamboni/tmp/uploads/personas
Does not exist and does not have the permissions we expect. (We want read + write)
Assignee: cwiemeersch → server-ops
Component: Developer Pages → Server Operations: Web Content Push
Product: addons.mozilla.org → mozilla.org
QA Contact: developers → mrz
Target Milestone: 6.2.2 → ---
Version: unspecified → other
Assignee | ||
Comment 3•14 years ago
|
||
This is a settings_local problem. PERSONAS_PATH needs to be defined.
Assignee: server-ops → jeremy.orem+bugs
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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
•