Actions
Bug #31955
closedNeed a dry run option to see content is importable
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Description
Pulp3 as of https://pulp.plan.io/issues/7549 added functionality to do dry run import-checks.
More documentation here -> https://docs.pulpproject.org/pulpcore/workflows/import-export.html#pre-validating-import-parameters
This will check if
- Paths are in ALLOWED_IMPORT_PATHS
- Containing directory exists
- Containing directory is readable
- Path/toc file(s) exist and are readable
- For TOC, containing directory is writeable
- repo_mapping is valid JSON
The import task needs to call this api and verify its response before starting the actual import.
(We are passing the toc location in params since repo mapping isn't generated yet)
Updated by Jonathon Turel almost 4 years ago
- Target version set to Katello 4.1.0
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/9248 added
Updated by The Foreman Bot almost 4 years ago
- Fixed in Releases Katello 4.2.0 added
Updated by Partha Aji almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|b41dfa2de87641028fcbbaa90409de6bfb4cd4ef.
Actions