Project

Profile

Help

Issue #2826

Repository deletion fails with no such file for a repositories listing file

Added by ehelms@redhat.com over 2 years ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

We see this error a good bit when we try to delete content view versions in Katello land. The Pulp translation is that we concurrently attempt to delete multiple repositories at the same time and 50% of the time hit this race condition in the output below.

- exception: 
  task_type: pulp.server.tasks.repository.delete
  _href: "/pulp/api/v2/tasks/fc50b7b8-093f-4111-8bf1-2b27d306dbe3/" 
  task_id: fc50b7b8-093f-4111-8bf1-2b27d306dbe3
  tags:
  - pulp:repository:Sat6-CI-Tools_RHEL5-206_0-Red_Hat_Satellite_Tools_6_2_Composes-RHEL5_Satellite_Tools_i386_os
  - pulp:action:delete
  finish_time: '2017-06-20T15:55:58Z'
  _ns: task_status
  start_time: '2017-06-20T15:55:55Z'
  traceback: |
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
        R = retval = fun(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 477, in __call__
        return super(Task, self).__call__(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__
        return super(PulpTask, self).__call__(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
        return self.run(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 550, in delete
        raise pe
    PulpExecutionException: Pulp exception occurred: PulpExecutionException
  spawned_tasks: []
  progress_report: {}
  queue: reserved_resource_worker-0@sat-r220-02.lab.eng.rdu2.redhat.com.dq
  state: error
  worker_name: reserved_resource_worker-0@sat-r220-02.lab.eng.rdu2.redhat.com
  result: 
  error:
    code: PLP0000
    data: {}
    description: 'Pulp exception occurred: PulpExecutionException'
    sub_errors:
    - code: PLP0000
      data: {}
      description: "[Errno 2] No such file or directory: '/var/lib/pulp/published/yum/http/repos/Sat6-CI/content_views/Tools_RHEL5/206.0/custom/Red_Hat_Satellite_Tools_6_2_Composes/listing'" 
      sub_errors: []
  _id:
    "$oid": 5949458a643234c3f51e0177
  id: 5949458a643234c3f51e0177
poll_attempts:
  total: 2
  failed: 1

History

#1 Updated by ttereshc over 2 years ago

  • Triaged changed from No to Yes

@dkliban will put a comment how to reproduce it in Pulp.

#2 Updated by pthomas@redhat.com over 2 years ago

  • Smash Test set to 688

#4 Updated by bmbouter 6 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF