Actions
Issue #7521
closedPerforming a filesystem export fails
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 81
Quarter:
Description
Steps to reproduce¶
Run this script: https://github.com/pulp/pulp_file/blob/master/docs/_scripts/export.sh
Result¶
This failure:
rq[9925]: Traceback (most recent call last):
rq[9925]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/worker.py", line 886, in perform_job
rq[9925]: rv = job.perform()
rq[9925]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/job.py", line 664, in perform
rq[9925]: self._result = self._execute()
rq[9925]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute
rq[9925]: return self.func(*self.args, **self.kwargs)
rq[9925]: File "/home/vagrant/devel/pulpcore/pulpcore/app/tasks/export.py", line 49, in fs_publication_export
rq[9925]: exporter.export_publication(publication)
rq[9925]: File "/home/vagrant/devel/pulpcore/pulpcore/app/models/exporter.py", line 130, in export_publication
rq[9925]: self._export_to_file_system(content_artifacts)
rq[9925]: File "/home/vagrant/devel/pulpcore/pulpcore/app/models/exporter.py", line 89, in _export_to_file_system
rq[9925]: ExportSerializer.validate_path(self.path)
rq[9925]: AttributeError: type object 'ExportSerializer' has no attribute 'validate_path'
Updated by bmbouter over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 81
Updated by daviddavis over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Added by daviddavis over 4 years ago
Updated by daviddavis over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|6343df7aa163c62d4c6b12b796e01b46aeaac3c5.
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fixed failing filesystem export due to undefined validate_path method
Just removing the call since we're already validating the path in the serializer. Also, adding some tests so we don't break this functionality again later.
Required PR: https://github.com/pulp/pulp_file/pull/429
fixes #7521