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:
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.
Created redmine issue http://projects.theforeman.org/issues/10538 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/10538 has been closed ------------- Anonymous Applied in changeset commit:katello-installer|51ea9c98b40932c0d4bbbc95ec9015b3a6ba4874.
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 #
look for capsule-remove.
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
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