Project

General

Profile

Bug #13885

verify config setting before repo export

Added by Thomas McKay over 3 years ago. Updated over 1 year ago.

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

Description

In the planning step, confirm that the export dir setting is set, exists, and is writable.


Related issues

Blocks Katello - Tracker #12107: ISS (Inter-Satellite Sync) TrackerNew2015-10-08

Associated revisions

Revision a905ae01 (diff)
Added by Chris Duryee over 3 years ago

Fixes #13885 - verify export destination is a directory before exporting

This patch makes two changes:

  • it alters the pulp_export_destination setting to a setting that must be
    filled in by the user prior to first export
  • it adds a check to the repository export task to ensure the above setting is
    set, and that the dir is writable.

Previously, users would perform an export and inadvertently fill up their tmpfs
space. There is not a good default production value for the export destionation
since an export could be multiple GB.

Revision 5dd91d17
Added by Eric Helms over 3 years ago

Merge pull request #5822 from beav/dir-checks

Fixes #13885 - verify export destination is a directory before exporting

History

#1 Updated by Thomas McKay over 3 years ago

#2 Updated by Thomas McKay over 3 years ago

  • Bugzilla link set to 1311738

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

#4 Updated by Chris Duryee over 3 years ago

  • Status changed from New to Assigned
  • Assignee changed from Mike McCune to Chris Duryee

#5 Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5822 added

#6 Updated by Chris Duryee over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF