Bug 1264969 - [RFE] add option for capsule-remove to delete capsule/host such as --unsubscribe-host
Summary: [RFE] add option for capsule-remove to delete capsule/host such as --unsubscr...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Capsule - Content
Version: Nightly
Hardware: x86_64
OS: Linux
low
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1293628 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-21 18:45 UTC by Chris Roberts
Modified: 2019-12-16 04:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 19:14:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 12856 0 Low New [RFE] add option to unregister capsule as content host with capsule-remove 2020-07-13 12:27:03 UTC

Description Chris Roberts 2015-09-21 18:45:12 UTC
1. Proposed title of this feature request  
Delete capsule from Satellite as capsule and host when capsule-remove script is run
  
2. Who is the customer behind the request?  
Account: IBM Watson 5312146
  
TAM customer: no  
SRM customer: yes  
Strategic: yes  
  
3. What is the nature and description of the request? 

Have capsule-remove script remove everything from system and then with api delete capsule under infrastructure and host as well. 
  
4. Why does the customer need this? (List the business requirements here) 

When running the script the customer tried to delete the capsule in the webui and then it failed saying the host needed to be deleted, it would be quicker to just run capsule-remove on the capsule and have it take care of everything.
  
5. How would the customer like to achieve this? (List the functional requirements here)  

API
Bash
  
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.  

---------------------------------------------------------------------------------

1. Spin up a rhel 6/7 machine and register to satellite as capsule

2. Run capsule-remove and have it remove everything and use api to delete capsule/host

3. Verify in webui/hammer that host/capsule is gone

----------------------------------------------------------------------------------
  
7. Is there already an existing RFE upstream or in Red Hat Bugzilla?  NO
  
8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?  6.2/6.3/6.4
  
9. Is the sales team involved in this request and do they have any additional input?  No
  
10. List any affected packages or components.  

Installed Packages

candlepin-0.9.49.6-1.el6.noarch
candlepin-common-1.0.22-1.el6.noarch
candlepin-scl-1-5.el6_4.noarch
candlepin-scl-quartz-2.1.5-5.el6_4.noarch
candlepin-scl-rhino-1.7R3-1.el6_4.noarch
candlepin-scl-runtime-1-5.el6_4.noarch
candlepin-selinux-0.9.49.6-1.el6.noarch
candlepin-tomcat6-0.9.49.6-1.el6.noarch
elasticsearch-0.90.10-7.el6.noarch
foreman.croberts.org-qpid-broker-1.0-1.noarch
foreman.croberts.org-qpid-client-cert-1.0-1.noarch
foreman.croberts.org-qpid-router-client-1.0-1.noarch
foreman.croberts.org-qpid-router-server-1.0-1.noarch
katello-2.2.0.16-1.el6_6sat.noarch
katello-agent-2.2.5-1.el6_6sat.noarch
katello-ca-consumer-foreman.croberts.org-1.0-1.noarch
katello-certs-tools-2.2.1-1.el6_6sat.noarch
katello-common-2.2.0.16-1.el6_6sat.noarch
katello-debug-2.2.0.16-1.el6_6sat.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.3.18-1.el6_6sat.noarch
katello-installer-base-2.3.18-1.el6_6sat.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.2.0.16-1.el6_6sat.noarch
libqpid-dispatch-0.4-7.el6.x86_64
mod_wsgi-3.4-1.pulp.el6sat.x86_64
pulp-admin-client-2.6.0.15-1.el6_6sat.noarch
pulp-docker-plugins-0.2.5-1.el6_6sat.noarch
pulp-katello-0.5-1.el6_6sat.noarch
pulp-nodes-common-2.6.0.15-1.el6_6sat.noarch
pulp-nodes-parent-2.6.0.15-1.el6_6sat.noarch
pulp-puppet-plugins-2.6.0.15-1.el6_6sat.noarch
pulp-puppet-tools-2.6.0.15-1.el6_6sat.noarch
pulp-rpm-admin-extensions-2.6.0.15-1.el6_6sat.noarch
pulp-rpm-handlers-2.6.0.15-1.el6_6sat.noarch
pulp-rpm-plugins-2.6.0.15-1.el6_6sat.noarch
pulp-selinux-2.6.0.15-1.el6_6sat.noarch
pulp-server-2.6.0.15-1.el6_6sat.noarch
python-gofer-qpid-2.6.2-2.el6_6sat.noarch
python-isodate-0.5.0-4.pulp.el6_6sat.noarch
python-kombu-3.0.24-10.pulp.el6_6sat.noarch
python-pulp-agent-lib-2.6.0.15-1.el6_6sat.noarch
python-pulp-bindings-2.6.0.15-1.el6_6sat.noarch
python-pulp-client-lib-2.6.0.15-1.el6_6sat.noarch
python-pulp-common-2.6.0.15-1.el6_6sat.noarch
python-pulp-docker-common-0.2.5-1.el6_6sat.noarch
python-pulp-puppet-common-2.6.0.15-1.el6_6sat.noarch
python-pulp-rpm-common-2.6.0.15-1.el6_6sat.noarch
python-qpid-0.30-6.el6.noarch
python-qpid-proton-0.9-4.el6.x86_64
python-qpid-qmf-0.30-5.el6.x86_64
qpid-cpp-client-0.30-9.el6.x86_64
qpid-cpp-client-devel-0.30-9.el6.x86_64
qpid-cpp-server-0.30-9.el6.x86_64
qpid-cpp-server-linearstore-0.30-9.el6.x86_64
qpid-dispatch-router-0.4-7.el6.x86_64
qpid-java-client-0.30-3.el6.noarch
qpid-java-common-0.30-3.el6.noarch
qpid-proton-c-0.9-4.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
ruby193-rubygem-katello-2.2.0.67-1.el6_6sat.noarch
ruby193-rubygem-qpid_messaging-0.30.0-1.el6_6sat.x86_64
rubygem-hammer_cli_katello-0.0.7.17-1.el6_6sat.noarch
rubygem-smart_proxy_pulp-1.0.1.2-1.el6_6sat.noarch
  
11. Would the customer be able to assist in testing this functionality if implemented? Yes

Comment 5 Chris Roberts 2016-04-22 14:27:10 UTC
*** Bug 1293628 has been marked as a duplicate of this bug. ***

Comment 7 Bryan Kearney 2016-11-21 17:21:29 UTC
Upstream bug component is Content Management

Comment 8 Bryan Kearney 2016-11-21 19:21:41 UTC
Upstream bug component is Capsule

Comment 9 Bryan Kearney 2016-12-15 16:06:29 UTC
Upstream bug component is Capsule - Content

Comment 10 Satellite Program 2017-01-23 17:01:47 UTC
Upstream bug assigned to chrobert

Comment 11 Satellite Program 2017-01-23 17:01:50 UTC
Upstream bug assigned to chrobert

Comment 12 Bryan Kearney 2018-09-04 19:01:41 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 13 Bryan Kearney 2018-09-04 19:14:12 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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