Project

General

Profile

Bug #21183

katello-backup fails with /usr/share/ruby/fileutils.rb:125: warning: conflicting chdir during another chdir block

Added by Christine Fouant over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Backup & Restore
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1497957

Description of problem:

Running katello-backup on Satellite server:

~]# katello-backup y /var/tmp/ --online-backup
Starting backup: 2017-10-03 04:25:40 -0400
Creating backup folder /var/tmp/katello-backup-20171003042541
Generating metadata ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 94 100 94 0 0 479 0 -
:--:-- --:--:-- --:--:-- 482
Done.
Backing up config files...
foreman proxy certs tar file is not present on the system in path please move the file back to that location or generate a new one on the main server.
Cleaning up backup folder and starting any stopped services...
/usr/share/ruby/fileutils.rb:125: warning: conflicting chdir during another chdir block
Done.

Also note the message about the proxy certs, the script incorrectly determines if it is running on capsule or not.

Version-Release number of selected component (if applicable):
satellite-6.3.0-19.0.beta.el7sat.noarch

How reproducible:
always

Expected results:
Backup is successful, script correctly determines if running on proxy.

Associated revisions

Revision 5b7de1e0 (diff)
Added by Christine Fouant over 4 years ago

fixes #21183 - updates check for foreman-proxy-content

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/547 added

#2 Updated by Christine Fouant over 4 years ago

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

#3 Updated by Brad Buckingham over 4 years ago

  • Target version set to 217

#4 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

Also available in: Atom PDF