Project

General

Profile

Refactor #22566

k-backup should not accept exit 2 from tar when backing up configs

Added by Evgeni Golov over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Backup & Restore
Target version:
Branch:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Currently k-backup allows tar to exit with code 2 when backing up config files: https://github.com/theforeman/foreman-packaging/blob/rpm/develop/katello/katello/backup.rb#L335

This is most probably due to the fact that we try to backup folders that might not exist.

Instead we should only try to backup folders that are present.

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/2199 added

#2 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#3 Updated by Justin Sherrill about 3 years ago

  • Triaged set to No
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF