Bug 1373785

Summary: PuppetCA Certificates can't be deleted unless they are signed first.
Product: Red Hat Satellite Reporter: Vishwanath <vmeghana>
Component: PuppetAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: ahumbe, bkearney, jcallaha, mverma, oprazak, slutade
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:57:23 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:

Description Vishwanath 2016-09-07 07:06:17 UTC
Description of problem:

List of PuppetCA certificates on one of capsules in Red Hat Satellite. If those certificates are signed then they can be deleted, however, if we use the drop-down arrow and try to delete them without signing them first then we get a message that says the certificate was successfully deleted but nothing actually changes.

Version-Release number of selected component (if applicable):
Satellite 6.x

How reproducible:


Steps to Reproduce:
1. Host is already registered to puppet.
2. In WebUI, Infrastructure--> Capsule--> Puppet CA--> Certificates--> list of certificates.
3. Delete the certificate without signing.
4. Message shows successfully deleted but the certificate still persists.

Actual results:
If we delete PuppetCA Certificates from the drop-down list without signing them first, message says that the certificate was successfully deleted but nothing actually changes.


Expected results:
PuppetCA Certificates should be allowed to delete on click of a delete button, even if they are not signed or if there is any programming logic for not to delete the certificate before signing then either hide the delete button or disable the delete button.

Comment 1 Brad Buckingham 2016-09-09 15:13:41 UTC
Was this issue really found on 6.0.0 or a later release (e.g. 6.1.z, 6.2.z)?

Comment 4 Ondřej Pražák 2017-10-09 10:38:38 UTC
I managed to reproduce with a 6.3. Trying to delete an unsigned cert from UI results in success and when the page refreshes, it still shows the cert as 'pending'.

Comment 5 Ondřej Pražák 2017-10-09 11:14:59 UTC
Created redmine issue http://projects.theforeman.org/issues/21245 from this bug

Comment 6 Ondřej Pražák 2017-10-12 07:13:40 UTC
*** Bug 1463572 has been marked as a duplicate of this bug. ***

Comment 7 Bryan Kearney 2018-09-04 17:57:23 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.