-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
6.16.5
-
3
-
False
-
sat-artemis
-
Bug Fix
-
-
Proposed
-
To Do
It is not possible to sync a custom repository using only the upstream username.
A custom repository requires only the upstream username to access the content, and it works without any issues when configuring it locally in /etc/yum.repos.d. However, when attempting to sync the same repository in the Satellite WebUI, the sync fails with the error:
"An error occurred saving the repository: Validation failed: Upstream username requires upstream password to be set."
If we keep both the username and password fields blank, it fails because it requires a user ID.
There is no password for the user so the only way to force that is by using the hammer command.Since it is not possible to save the repository in the Satellite WebUI using only the username, used the following hammer command. It succeeded updating the repository, but the sync failed with a different error.
- hammer repository update --id ID --upstream-username 'username' --upstream-passsword ''
Repository updated.
But the sync fails with the below error.
401,messagee='unauthoried', url=upstream_url