Bug #36604
closedReasons for not deleting the manifest don't apply with SCA enabled
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2171180
Description of problem:
When deleting a manifest on a Satellite, the user is prompted with a warning before deleting the manifest and all the reasons its a bad idea. With SCA enabled, a lot of these reasons are invalid.
Version-Release number of selected component (if applicable):
satellite 6.12
How reproducible:
Every time
Steps to Reproduce:
1. Delete the manifest from a Satellite on the WebUI
2.
3.
Actual results:
The user is prompted by a warning about all the bad things that will happen if they delete the manifest. See screenshot attached
Expected results:
When SCA is enabled, these warnings should be changed or reworded.
Additional info:
Below are the actions in order from the screenshot addressed:
"Delete all subscriptions that are attached to running hosts"
This is not true and not applicable. Any custom subscriptions wouldn't be deleted, only Red Hat subscriptions. But with SCA enabled, you don't have subscriptions on hosts. In fact, you can't even change your subscription on the Host > Content Host page of a client if you wanted to. The tab for subscriptions is removed from the host once SCA is enabled.
"Delete all subscriptions attached to activation keys"
That tab is also removed with SCA enabled.
"Disable Red Hat Insights"
If you have a subscription providing smart management and you are using insights on your clients, then yes while the subscription is removed from the Satellite, Insights uploads will not be sent until the new subscription containing smart management is added back. But it won't disable it forcing a user to have to re-enable something afterward.
"Require you to upload the subscription manifest and re-attach subscriptions to hosts and activation keys"
Yes, you will have to upload a new manifest, which is typically why one would delete the manifest unless they are just testing buttons to see what they do.