Closed Bug 730169 Opened 13 years ago Closed 12 years ago

[traceback] IOError: [Errno 2] No such file or directory: u'/mnt/netapp_amo_dev/addons-dev.allizom.org/files/temp/630d445f7a4049e98e5c3fcf67cb3754.webapp'

Categories

(Cloud Services :: Operations: Marketplace, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: jason)

References

Details

steps to reproduce:
1. Try to upload your webapp- https://people.mozilla.org/~kraj/test-files/webapps/webapp-with-de-as-default-locale.webapp to marketplace-dev
2. Click 'Continue' after validation

traceback details:
Traceback (most recent call last):

  File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/amo/decorators.py", line 112, in wrapper
    return f(*args, **kw)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/amo/decorators.py", line 104, in wrapper
    return f(*args, **kw)

  File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/amo/models.py", line 40, in skip_cache
    yield

  File "/data/www/addons-dev.allizom.org/zamboni/apps/amo/decorators.py", line 104, in wrapper
    return f(*args, **kw)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/amo/decorators.py", line 29, in wrapper
    return func(request, *args, **kw)

  File "/data/www/addons-dev.allizom.org/zamboni/mkt/submit/decorators.py", line 19, in wrapper
    return f(request, *args, **kw)

  File "/data/www/addons-dev.allizom.org/zamboni/mkt/submit/views.py", line 74, in manifest
    addon = Addon.from_upload(data['upload'], plats)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/addons/models.py", line 407, in from_upload
    data = parse_addon(upload)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/files/utils.py", line 438, in parse_addon
    parsed = WebAppParser().parse(pkg, addon)

  File "/data/www/addons-dev.allizom.org/zamboni/apps/files/utils.py", line 192, in parse
    with open(filename, 'rb') as f:

IOError: [Errno 2] No such file or directory: u'/mnt/netapp_amo_dev/addons-dev.allizom.org/files/temp/630d445f7a4049e98e5c3fcf67cb3754.webapp'
Blocks: 710074
working for me today
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
happened again. See http://sentry.dmz.phx1.mozilla.com/marketplace-dev/group/460/
Status: RESOLVED → REOPENED
Product: addons.mozilla.org → Marketplace
QA Contact: developers → developer-pages
Resolution: WORKSFORME → ---
Version: unspecified → 1.0
http://sentry.dmz.phx1.mozilla.com/addons/group/500/

This happens a lot now and Sentry tells me this traceback was first seen on June 15 (http://cl.ly/1p2i3M3S1F2N14452O32). Is that around when we switched to nginx?
Assignee: nobody → server-ops
Component: Developer Pages → Server Operations: AMO Operations
Product: Marketplace → mozilla.org
QA Contact: oremj
Version: 1.0 → other
Assignee: server-ops → jthomas
We switched dev over to nginx on May 14th and prod on June 5th. Let me take a further look if I can find anything interesting in the logs.
If anything, nginx would break the initial upload, but if that were the case zamboni should fail. We'll probably need more logging around the upload process to figure out why that file is not making it to the disk.
This seems okay now. Was anything changed?
Status: REOPENED → RESOLVED
Closed: 13 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.