Project

General

Profile

Actions

Bug #31955

closed

Need a dry run option to see content is importable

Added by Partha Aji about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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)

Actions #1

Updated by Jonathon Turel about 3 years ago

  • Target version set to Katello 4.1.0
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 3 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
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #4

Updated by Partha Aji about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF