Bug 2064793
Summary: | Remotes should have username and password cleared out if a user sets them to be blank | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ian Ballou <iballou> |
Component: | Repositories | Assignee: | Ian Ballou <iballou> |
Status: | CLOSED ERRATA | QA Contact: | Cole Higgins <chiggins> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.10.0 | CC: | ehelms |
Target Milestone: | 6.11.0 | Keywords: | 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: | 2022-07-05 14:34:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ian Ballou
2022-03-16 14:51:53 UTC
Created from redmine issue https://projects.theforeman.org/issues/34619 Upstream bug assigned to iballou Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34619 has been resolved. Testing steps: 1) Update a repo's username and password 2) Check the username and password in from the DB: ``` vagrant@centos8-katello-devel ~/katello $ sudo -i -u postgres postgres@centos8-katello-devel ~ $ psql psql (12.9) Type "help" for help. postgres=# \c pulpcore You are now connected to database "pulpcore" as user "postgres". pulpcore=# select pulp_id, name, url, username, password, length(username) from core_remote; ... ``` Note: the username and password will appear as gibberish. 3) Clear out the username and password on the repo 4) Sync the repo 5) The username and password should now be empty in postgres 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.11 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:5498 |