Actions
Bug #24115
closedkatello allows setting invalid repo settings that pulp does not accept
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
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.
Actions