Bug 2167779

Summary: RHUI Alternate Content Source do not show any error while refreshing even when SSL credentials are not provided.
Product: Red Hat Satellite Reporter: Akshay Kapse <akapse>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.13.0CC: ahumbe, dalley, iballou, sajha
Target Milestone: 6.14.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-07 15:29:09 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:
Embargoed:

Description Akshay Kapse 2023-02-07 14:31:43 UTC
Description of problem:
RHUI Alternate Content Source form have steps to generate SSL Client Certificate and SSL Client Key to configure, but it can be refreshed even if these SSL credentials are not provided and it gets successfully refreshed.
 


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

How reproducible:
Always

Steps to Reproduce:
1. Install a Satellite 6.13.
2. Create RHUI Alternate Content Source.
3. Create 1 RHUI ACS with SSL Credentials (SSL Client Certificate and SSL Client Key) and 1 RHUI ACS without it, but both can be refreshed successfully.

Actual results:
- For both RHUI ACS with or withour SSL Credentials (SSL Client Certificate and SSL Client Key):
1) Successfully refreshed.
2) Dynflow output:
~~~
 Output:
---
response:
  pulp_href: "/pulp/api/v3/acs/rpm/rpm/475fbd9d-79cb-435e-8014-48a89575b7db/"
  pulp_created: !ruby/object:DateTime 2023-02-07 07:09:00.673583000 Z
  name: RHUI4-https://<capsule-hostname>:9090-8621
  paths:
  - content/eus/rhel9/rhui/9.0/x86_64/appstream/os/
  - content/dist/rhel8/rhui/8.7/x86_64/baseos/os/
  remote: "/pulp/api/v3/remotes/rpm/rpm/1645df20-9b71-4bfa-a109-964f977c3827/"

~~~


Expected results:
- Should show some error while refreshing when no SSL Credentials (SSL Client Certificate and SSL Client Key) provided.

Additional info:

Comment 10 Daniel Alley 2023-06-07 15:29:09 UTC
I would like to close this on the basis of #4, because the issue reported is demonstrated to not be a Pulp issue, but rather that the URL used in testing doesn't require the SSL credentials.

There may be a desire to finish the testing and I don't see a problem continuing that discussion here, but if there is any other issue found it ought to be filed separately.