Project

Profile

Help

Issue #1688

closed

Delete of ISO repo failing due to Permission Denied exception

Added by dkliban@redhat.com about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

pulp_smash.tests.rpm.api_v2.test_iso_crud.AddImporterDistributorTestCase test case experiences failures during tearDown with the following exception:

TaskReportError: Task report /pulp/api/v2/tasks/8ab2c1e3-49fc-4be7-a041-e0a878a44c10/ contains a error: {u'code': u'PLP0000', u'data': {}, u'description': u'Pulp exception occurred: PulpExecutionException', u'sub_errors': [{u'code': u'PLP0000', u'data': {}, u'description': u"[Errno 13] Permission denied: '/etc/pki/pulp/content/pulp-protected-repos'", u'sub_errors': []}]}
Full task report: {u'exception': None, u'task_type': u'pulp.server.tasks.repository.delete', u'_href': u'/pulp/api/v2/tasks/8ab2c1e3-49fc-4be7-a041-e0a878a44c10/', u'task_id': u'8ab2c1e3-49fc-4be7-a041-e0a878a44c10', u'tags': [u'pulp:repository:b7930128-a473-401e-83e0-956345739475', u'pulp:action:delete'], u'finish_time': u'2016-02-18T08:08:48Z', u'_ns': u'task_status', u'start_time': u'2016-02-18T08:08:48Z', u'traceback': u'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 473, 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 547, in delete
    raise pe
PulpExecutionException: Pulp exception occurred: PulpExecutionException
', u'spawned_tasks': [], u'progress_report': {}, u'queue': u'reserved_resource_worker-1@f23-vanilla-np-qeos-73646.slave.openstack.org.novalocal.dq', u'state': u'error', u'worker_name': u'reserved_resource_worker-1@f23-vanilla-np-qeos-73646.slave.openstack.org.novalocal', u'result': None, u'error': {u'code': u'PLP0000', u'data': {}, u'description': u'Pulp exception occurred: PulpExecutionException', u'sub_errors': [{u'code': u'PLP0000', u'data': {}, u'description': u"[Errno 13] Permission denied: '/etc/pki/pulp/content/pulp-protected-repos'", u'sub_errors': []}]}, u'_id': {u'$oid': u'56c57c0f2ed802421bf26c00'}, u'id': u'56c57c0f2ed802421bf26c00'}

Also available in: Atom PDF