Bug #24115
closedkatello allows setting invalid repo settings that pulp does not accept
Description
If you create a yum repo and add "upstream_password" to the repo via hammer (hammer -u admin -p changeme repository update --id 1 --upstream-password "foo"), katello will tell pulp to create a task to update the importer and return immediately back to the user.
However, Pulp will give an error, and not update the importer:
"""
PulpDataException: Configuration errors:
The configuration parameter <basic_auth_password> requires the <basic_auth_username> parameter to also be set.
"""
Katello should return this error back to the user instead of assuming the task was successful. Once this happens, subsequent updates to the importer will fail until the original issue is corrected, since the incorrect value is now in katello_repositories.
Updated by The Foreman Bot over 6 years ago
- Assignee set to Christine Fouant
- Pull request https://github.com/Katello/katello/pull/7584 added
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
Updated by John Mitsch over 6 years ago
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/Katello/katello/pull/7673 added
Updated by Chris Duryee over 6 years ago
- Pull request deleted (
https://github.com/Katello/katello/pull/7584)
Updated by Christine Fouant over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|81db0bd58e66e93075f7c6f61824b0f0f8d08257.