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:
HTTP proxy password will reset to empty string after editing the existing HTTP proxy in the Web UI.
Before:
#<ActiveRecord::Relation [#<HttpProxy id: 5, name: "test_proxy", url: "http://xx.xx.xx.xx:xxxx", username: "myname", password: "encrypted-blah blah blah">]>
After:
#<ActiveRecord::Relation [#<HttpProxy id: 5, name: "test_proxy", url: "http://xx.xx.xx.xx:xxxx", username: "myname", password: "">]>
Version-Release number of selected component (if applicable):
6.7
Steps to Reproduce:
1. Create a http proxy with username and password
2. Add it as the global content proxy.
3. Ensure it is working by enabling a repository or doing cdn scans.
4. Edit the http proxy you just created, don't do anything just click save button.
5. Try to enable a repository again using hammer
Actual results:
hammer repository-set enable --name "Red Hat Satellite Tools 6.7 for RHEL 8 x86_64 (RPMs)" --organization redhat
Could not enable repository:
407 "Proxy Authentication Required"
Cdn scan in Web UI -> Red Hat Repositories gets the following error:
No repositories available error.
Expected results:
Able list available repositories
Able enable repository successfully
Hello
issue still exists in 6.8 snap 11
Its confusing because there are some grey stars in that field so you do not realise you have lost your password.
Tested on Satellite 6.9.0 Snap 12 using the reproducer from the original report. Creating a HTTP proxy, and resubmitting it later without any changes doesn't reset the password anymore, Satellite is still able to authenticate with the proxy correctly.
There is still a minor issue submitted as BZ1928194, but that one is minor.
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 (Moderate: Satellite 6.9 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-2021:1313