Bug 1135320 - Satellite 6 Capsule server: needs official support & docs for un-installation (via katello-remove?)
Summary: Satellite 6 Capsule server: needs official support & docs for un-installation...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2014-08-29 05:01 UTC by Xixi
Modified: 2019-09-26 18:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-29 19:49:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xixi 2014-08-29 05:01:19 UTC
Description of problem:
Satellite 6 has un-installer katello-remove, needs the same for Capsule server.

Version-Release number of selected component (if applicable):
6.0.3

How reproducible:
always

Steps to Reproduce:
1. (see above)
2.
3.

Actual results:
No supported/documented means to un-install Capsule.

Expected results:
Officially supported/documented means to un-install Capsule.

Additional info:

Comment 1 RHEL Program Management 2014-08-29 05:02:53 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Bryan Kearney 2015-05-18 18:03:20 UTC
Created redmine issue http://projects.theforeman.org/issues/10538 from this bug

Comment 7 Bryan Kearney 2015-06-05 14:03:07 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10538 has been closed
-------------
Anonymous
Applied in changeset commit:katello-installer|51ea9c98b40932c0d4bbbc95ec9015b3a6ba4874.

Comment 10 Tazim Kolhar 2015-06-16 08:17:55 UTC
FAILEDQA:
 rpm -qa | grep foreman
ruby193-rubygem-foreman_discovery-2.0.0.15-1.el7sat.noarch
foreman-vmware-1.7.2.27-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
foreman-debug-1.7.2.27-1.el7sat.noarch
foreman-libvirt-1.7.2.27-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
foreman-compute-1.7.2.27-1.el7sat.noarch
foreman-gce-1.7.2.27-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.2.0-8.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.7-1.el7sat.noarch
puppet-foreman_scap_client-0.3.3-9.el7sat.noarch
foreman-1.7.2.27-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.14-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
foreman-proxy-1.7.2.5-1.el7sat.noarch
foreman-postgresql-1.7.2.27-1.el7sat.noarch
rhsm-qe-2.rhq.lab.eng.bos.redhat.com-foreman-client-1.0-1.noarch
rhsm-qe-2.rhq.lab.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
rhsm-qe-2.rhq.lab.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch
foreman-ovirt-1.7.2.27-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.8-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch

steps:
no module named katello-remove on capsule server
# rpm -qa  | grep katello-remove
#

Comment 11 Bryan Kearney 2015-06-16 13:48:13 UTC
look for capsule-remove.

Comment 12 Tazim Kolhar 2015-07-08 10:22:43 UTC
FAILEDQA:

# rpm -qa | grep foreman
ruby193-rubygem-foreman-tasks-0.6.12.8-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.9-1.el7sat.noarch
foreman-debug-1.7.2.29-1.el7sat.noarch
foreman-postgresql-1.7.2.29-1.el7sat.noarch
foreman-vmware-1.7.2.29-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
foreman-1.7.2.29-1.el7sat.noarch
foreman-ovirt-1.7.2.29-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
foreman-proxy-1.7.2.5-1.el7sat.noarch
ibm-x3655-03.ovirt.rhts.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch
foreman-compute-1.7.2.29-1.el7sat.noarch
foreman-gce-1.7.2.29-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.2.0-8.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
foreman-libvirt-1.7.2.29-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
ibm-x3655-03.ovirt.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
ibm-x3655-03.ovirt.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.18-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.15-1.el7sat.noarch


steps:

No module named capsule-remove
# rpm -qa | grep capsule-remove
#

# yum install -y capsule-remove
Loaded plugins: package_upload, product-id, security, subscription-manager
Setting up Install Process
Default_Organization_capsule_prod_capsule_repo           | 2.1 kB     00:00     
Default_Organization_sat6_tools_sat6_tools_repo          | 2.1 kB     00:00     
rhel-6-server-rpms                                       | 2.1 kB     00:00     
No package capsule-remove available.
Error: Nothing to do

Comment 13 cmilsted 2015-07-29 12:31:41 UTC
You need to look for a script within an RPM, not an RPM in itself, latest beta repo install:

rpm -ql capsule-installer-2.3.12-1.el7sat.noarch
/etc/capsule-installer
/etc/capsule-installer/answers.capsule-installer.yaml
/etc/capsule-installer/capsule-installer.yaml
/etc/capsule-installer/config_header.txt
/usr/sbin/capsule-installer
/usr/sbin/capsule-remove
/usr/share/capsule-installer/bin
/usr/share/capsule-installer/bin/capsule-installer
/usr/share/capsule-installer/bin/capsule-remove
/usr/share/capsule-installer/checks
/usr/share/capsule-installer/checks/disk_size.rb
/usr/share/capsule-installer/checks/hostname.rb
/var/log/capsule-installer

This might pass with a simple re-test looking for the script within the installation package?

I am also going to raise a doc BZ as Chapter 9 of the 6.1 beta guide we still refer to katello-remove not capsule-remove:

The command to uninstall Red Hat Satellite Server or Red Hat Satellite Capsule Server is katello-remove. The uninstall script will issue a warning twice, requiring confirmation before it removes all packages and configuration files in the system. Below is a sample output of the command: 

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html-single/Installation_Guide/index.html

Thanks

Chris


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