Bug 1305591

Summary: Remove katello-disconnected tooling and replace with error message
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: Inter Satellite SyncAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: aheslin, bkearney, ehelms, jcallaha, ktordeur, sthirugn, zhunting
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13603
Whiteboard:
Fixed In Version: katello-utils-3.0.0-1 Doc Type: Known Issue
Doc Text:
The command katello-disconnected has been removed. You should perform a complete satellite installation and use Inter Satellite Sync to move content across air-gapped networks.
Story Points: ---
Clone Of:
: 1394368 (view as bug list) Environment:
Last Closed: 2016-12-12 17:10:30 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: 1394368    

Description Mike McCune 2016-02-08 16:20:00 UTC
With the addition of the Content View export/import functionality to Katello we no longer need the katello-disconnected tooling.

Lets remove the script's contents and replace it with a removal warning:

# katello-disconnected
ERROR: katello-disconnected has been replaced with Content View export functions found in the UI or 'hammer content-view export'

This will ensure people upgrading will at least have a pointer to the new replacement.

Comment 2 Mike McCune 2016-02-08 17:04:12 UTC
Created redmine issue http://projects.theforeman.org/issues/13603 from this bug

Comment 3 Bryan Kearney 2016-02-08 19:08:33 UTC
Upstream bug component is Content Management

Comment 4 Bryan Kearney 2016-05-09 14:13:50 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13603 has been closed

Comment 5 jcallaha 2016-07-01 19:51:48 UTC
Failed QA in Satellite 6.2 Beta Snap 18.1.

It does not seem that the modified script is included in the current install.

# katello-disconnected
-bash: katello-disconnected: command not found

# ll bin/ | grep katello
-rwxr-xr-x.   1 root root       3176 Jun 21 14:24 katello-backup
-rwxr-xr-x.   1 root root      10782 Jul  7  2015 katello-certs-gen-rpm
-rwxr-xr-x.   1 root root       8709 Jul  7  2015 katello-certs-sign
-rwxr-xr-x.   1 root root       4319 Jun  8 17:18 katello-remove
-rwxr-xr-x.   1 root root       1987 Jun  8 17:18 katello-restore
-rwxr-xr-x.   1 root root       2597 Jun  8 17:18 katello-service
-rwxr-xr-x.   1 root root       1982 Feb 20 16:22 katello-ssl-tool
-rwxr-xr-x.   1 root root         58 Jul  7  2015 katello-sudo-ssl-tool

Comment 6 Bryan Kearney 2016-08-10 19:13:46 UTC
Upstream bug component is Inter Satellite Sync

Comment 7 Bryan Kearney 2016-08-10 20:14:46 UTC
Upstream bug component is Content Management

Comment 8 Bryan Kearney 2016-08-10 22:14:24 UTC
Upstream bug component is Inter Satellite Sync

Comment 9 Chris Duryee 2016-09-21 23:36:03 UTC
Can you confirm that katello-utils is installed? The script is in that rpm.

Comment 13 jcallaha 2016-11-30 22:02:57 UTC
Verified in Satellite 6.2.5

-bash-4.2# yum -y install katello-utils

==============================================================================================================================================================================================
 Package                                          Arch                                      Version                                             Repository                               Size
==============================================================================================================================================================================================
Installing:
 katello-utils                                    noarch                                    3.0.0-1.el7sat                                      sat6                                     22 k

Transaction Summary
==============================================================================================================================================================================================
Install  1 Package

Total download size: 22 k
Installed size: 38 k

Installed:
  katello-utils.noarch 0:3.0.0-1.el7sat                                                                                                                                                       

-bash-4.2# katello-disconnected 
ERROR: /usr/bin/katello-disconnected has been replaced by repository and content view export functions.
Please see the 'hammer repository export' and 'hammer content-view version export' commands for additional detail.

Comment 15 errata-xmlrpc 2016-12-12 17:10:30 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-2016:2940

Comment 16 Ivan Necas 2017-01-09 14:38:52 UTC
*** Bug 1361125 has been marked as a duplicate of this bug. ***