Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 221
    • Issues 221
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-labnomad-lab
  • nomad-FAIRnomad-FAIR
  • Merge requests
  • !884

Resolve "Upload is stuck in status "Pending: process_upload""

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Sikter requested to merge 1122-upload-is-stuck-in-status-pending-process_upload into develop Oct 14, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 2

Closes #1122 (closed). Uploads will get stuck in status PENDING if adding the celery task to the queue fails (for example if rabbitmq is down). This MR adds proper error handling (setting the Proc to status FAILED if the @process-task could not be added to the queue), and also updates the celery version to get more consistent behavior of the celery framework (the currently used version did not always raise an exception as expected).

Edited Oct 19, 2022 by David Sikter
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1122-upload-is-stuck-in-status-pending-process_upload