Bug 1497957
Summary: | katello-backup fails with /usr/share/ruby/fileutils.rb:125: warning: conflicting chdir during another chdir block | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Peter Ondrejka <pondrejk> |
Component: | Backup & Restore | Assignee: | Christine Fouant <cfouant> |
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | andrew.schofield, bbuckingham, cfouant, jomitsch |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:44:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1456379 |
Description
Peter Ondrejka
2017-10-03 08:39:05 UTC
Hey Peter, We were relying on the presence of the foreman-proxy-content rpm to determine if a Satellite is a foreman-proxy or a Satellite, but there was a recent change and the fpc package is installed on a Satellite. Talking with Eric, he said he is going to try to remove the package from the Satellite, and if this isn't possible we will figure out a different check. For now, you can manually set that check to false in any scripts to do testing. -John Created redmine issue http://projects.theforeman.org/issues/21183 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21183 has been resolved. Seems like the actual backup script didn't arrive: ~]# katello-backup /var/tmp/backup DEPRECATION WARNING: katello-backup is deprecated and will be removed in the next Satellite release. It is being replaced by satellite-backup. Redirecting to satellite-backup now. /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /usr/sbin/backup.rb (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/sbin/satellite-backup:10:in `<main>' ~]# satellite-backup -h /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /usr/sbin/backup.rb (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/sbin/satellite-backup:10:in `<main>' Also, about the DEPRECATION WARNING, are we really going to remove the thing in next release, why? Redirect is in place, I don't see any risk in keeping the legacy option functional. Also, is there a documentation bug about this change? Verified on satellite-6.3.0-21.0.beta.el7sat.noarch and satellite-capsule-6.3.0-21.0.beta.el7sat.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 |