Bug 1441756 - [regression] no implicit conversion of String into Array (TypeError) when running katello-restore
Summary: [regression] no implicit conversion of String into Array (TypeError) when run...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Backup & Restore
Version: 6.2.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Andrew Kofink
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-12 15:53 UTC by Sachin Ghai
Modified: 2019-06-13 21:25 UTC (History)
3 users (show)

Fixed In Version: katello-3.0.0-19
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1441784 (view as bug list)
Environment:
Last Closed: 2017-05-01 14:28:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 18368 0 Normal Closed no implicit conversion of String into Array (TypeError) when running katello-restore 2020-07-06 21:12:48 UTC

Description Sachin Ghai 2017-04-12 15:53:55 UTC
Description of problem:
./katello-packaging/katello/katello-restore /tmp/katello-backup/katello-backup-2017-02-02T13\:45\:36+00\:00
./katello-packaging/katello/katello-restore:83:in `backup_valid?': no implicit conversion of String into Array (TypeError)
from ./katello-packaging/katello/katello-restore:101:in `<main>'

Version-Release number of selected component (if applicable):
sat6.2.9

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Sachin Ghai 2017-04-12 15:54:49 UTC
In upstream issue is fixed w/

http://projects.theforeman.org/issues/18368

Comment 4 jcallaha 2017-04-18 14:04:14 UTC
Verified in Satellite 6.2.9 Snap 3

katello-restore no longer gets hung up on this error.

-bash-4.2# katello-restore .
WARNING: This script will drop and restore your database.
Your existing installation will be replaced with the backup database.
Once this operation is complete there is no going back.
Are you sure(Y/N)? y
.
.
Setting file security
restorecon:  Warning no default label for /dev/hugepages/libvirt
restorecon:  Warning no default label for /dev/hugepages/libvirt/qemu
restorecon:  Warning no default label for /dev/mqueue
...
restorecon:  Warning no default label for /opt/theforeman/tfm/root/proc
Done.
Resetting Katello
Redirecting to /bin/systemctl stop  httpd.service
...
Redirecting to /bin/systemctl start  httpd.service
Redirecting to /bin/systemctl start  foreman-tasks.service
Done.

Comment 5 Bryan Kearney 2017-05-01 14:28:42 UTC
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/RHBA-2017:1191

Comment 6 Bryan Kearney 2017-05-01 14:28:58 UTC
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/RHBA-2017:1191


Note You need to log in before you can comment on or make changes to this bug.