Bug 2159963
Summary: | ForeignKeyViolation on ACS create when invalid --ssl-* argument is provided | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Vladimír Sedmík <vsedmik> |
Component: | Alternate Content Sources | Assignee: | Quinn James <qjames> |
Status: | CLOSED ERRATA | QA Contact: | Chris Roberts <chrobert> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.13.0 | CC: | chrobert, iballou, pcreech |
Target Milestone: | 6.13.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-4.7.0.17-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-03 13:24:04 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
Vladimír Sedmík
2023-01-11 08:28:43 UTC
Created redmine issue https://projects.theforeman.org/issues/36051 from this bug This is in progress. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36051 has been resolved. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36051 has been resolved. Tested with latest snap and there is now an error message instead of a SQL error for content credential that does not exist. # hammer alternate-content-source create --alternate-content-source-type simplified --name "Test SACS" --smart-proxy-ids 1 --product-ids 1 --content-type yum --ssl-ca-cert-id 2 Could not create the Alternate Content Source.: Validation failed: Ssl ca cert must be blank hammer alternate-content-source create --alternate-content-source-type simplified --name "Test SACS" --smart-proxy-ids 1 --product-ids 1 --content-type yum --ssl-client-cert-id 2 Could not create the Alternate Content Source.: Validation failed: Ssl client cert must be blank hammer alternate-content-source create --alternate-content-source-type simplified --name "Test SACS" --smart-proxy-ids 1 --product-ids 1 --content-type yum --ssl-client-key-id 2 Could not create the Alternate Content Source.: Validation failed: Ssl client key must be blank Marking as VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:2097 |