Hide Forgot
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.
*** Bug 1777322 has been marked as a duplicate of this bug. ***
Upstream issue created: https://projects.theforeman.org/issues/30684
Upstream bug assigned to asharvit
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30684 has been resolved.
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