Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
We can easily create an webhook in Satellite UI but whether we enable of disable the "Capsule Authorization" option, It does not matter. Revisiting the webhook will always show "Capsule Authorization" as disabled.
Version-Release number of selected component (if applicable):
Satellite 6.10.7
How reproducible:
Always
Steps to Reproduce:
1. Install a Satellite 6.10
2. Go to Administer --> Webhooks --> Create a Webhook by name "Test" where in the Credentials tab:
Verify SSL --> Should be unchecked
Capsule Authorization --> Should be checked\enabled
3. Save the hook.
4. Reopen the "Test" webhook and check the "Credentials" tab
Actual results:
The "Capsule Authorization" option is unselected\unchecked
Expected results:
It should not show inconsistent data
Additional info:
From foreman-rake console, We can see that at DB level the "proxy_authorization" is enabled but it's the UI only that is showing the glitch
irb(main):008:0> pp Webhook.find(1)
#<Webhook:0x0000000014664b80
id: 1,
name: "Test",
target_url: "https://webhook.site/a2a0cceb-5f72-426d-9e0d-7cad2be1221c",
events: ["actions.katello.repository.sync_succeeded.event.foreman"],
created_at: Thu, 28 Jul 2022 18:57:44 UTC +00:00,
updated_at: Thu, 28 Jul 2022 19:01:05 UTC +00:00,
webhook_template_id: 199,
http_method: "POST",
http_content_type: "application/json",
enabled: true,
verify_ssl: false,
ssl_ca_certs: "",
user: "",
password: "[FILTERED]",
http_headers: "",
proxy_authorization: true>
Verified in 6.12 snap 8
Capsule Authorization stays checked when reading a Webhook in the UI.
Steps to Reproduce:
1. Create a webhook with:
a) Verify SSL unchecked
b) Capsule Auth checked
2. Click on the webhook and go to Credentials
Expected Results:
Capsule Auth is still checked.
Actual Results:
Capsule Auth is still checked.
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.12 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-2022:8506