-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
6.17.4
-
None
-
False
-
sat-endeavour
-
None
-
None
-
None
-
None
Description of problem:
Cannot use un-authorized proxy.
Cannot update repository to have un-authorized proxy.
Cannot enable repository if un-authorized proxy is set as global
Cannot sync repository via un-authorized proxy.
(!) Error An error occurred saving the Repository: proxy username and password can only be specified together
How reproducible:
deterministic in 6.17.4
Is this issue a regression from an earlier version:
Yes (from 6.17.3)
Steps to Reproduce:
1. Set un-authorized proxy in Settings under Content tab
2. Try to enable RH repository
or
1. Create a repository
2. Try to update the repository with un-authorized proxy
Actual behavior:
[Describe the issue in detail, including what is happening and where]
Cannot use un-authorized proxy.
Expected behavior:
[Describe what should be happening instead]
Un-authorized proxy can be used.
Business Impact / Additional info:
Traceback:
2025-08-20T08:43:26 [I|app|c10e0aee] Started PUT "/katello/api/v2/repositories/2?organization_id=1" for 10.40.3.90 at 2025-08-20 08:43:26 -0400 2025-08-20T08:43:26 [I|app|c10e0aee] Processing by Katello::Api::V2::RepositoriesController#update as HTML 2025-08-20T08:43:26 [I|app|c10e0aee] Parameters: {"relative_path"=>"Default_Organization/Library/content/dist/rhel9/9/x86_64/baseos/os", "promoted"=>false, "content_view_version_id"=>1, "library_instance_id"=>nil, "last_contents_changed"=>"2025-08-20 14:12:57 +0200", "organization_id"=>"1", "organization"=>{"name"=>"Default Organization", "label"=>"Default_Organization", "id"=>1}, ... 2025-08-20T08:43:26 [I|bac|c10e0aee] Task {label: , execution_plan_id: 5660f08a-97cd-404f-83d2-e89168d95526} state changed: pending 2025-08-20T08:43:26 [I|bac|c10e0aee] Task {label: Actions::Katello::Repository::Update, id: b700822d-7b29-49c8-8689-868c889fe023, execution_plan_id: 5660f08a-97cd-404f-83d2-e89168d95526} state changed: planning 2025-08-20T08:43:26 [I|aud|c10e0aee] Katello::RootRepository (2) update event on ignorable_content , 2025-08-20T08:43:26 [I|aud|c10e0aee] Katello::RootRepository (2) update event on http_proxy_policy global_default_http_proxy, use_selected_http_proxy 2025-08-20T08:43:26 [I|aud|c10e0aee] Katello::RootRepository (2) update event on http_proxy_id , 1 2025-08-20T08:43:26 [I|aud|c10e0aee] Katello::RootRepository (2) update event on os_versions , 2025-08-20T08:43:26 [E|bac|c10e0aee] proxy username and password can only be specified together (Katello::Errors::Pulp3Error) c10e0aee | /usr/share/gems/gems/katello-4.16.0.9/app/services/katello/pulp3/service_common.rb:54:in `rescue in reformat_api_exception' c10e0aee | /usr/share/gems/gems/katello-4.16.0.9/app/services/katello/pulp3/service_common.rb:49:in `reformat_api_exception' c10e0aee | /usr/share/gems/gems/katello-4.16.0.9/app/services/katello/pulp3/service_common.rb:35:in `create_test_remote' c10e0aee | /usr/share/gems/gems/katello-4.16.0.9/app/lib/actions/pulp3/repository/update_remote.rb:7:in `plan' c10e0aee | /usr/share/gems/gems/dynflow-1.9.0/lib/dynflow/action.rb:534:in `block (3 levels) in execute_plan' c10e0aee | /usr/share/gems/gems/dynflow-1.9.0/lib/dynflow/middleware/stack.rb:28:in `pass' c10e0aee | /usr/share/gems/gems/dynflow-1.9.0/lib/dynflow/middleware.rb:20:in `pass' c10e0aee | /usr/share/gems/gems/katello-4.16.0.9/app/lib/actions/middleware/backend_services_check.rb:23:in `plan' c10e0aee | /usr/share/gems/gems/dynflow-1.9.0/lib/dynflow/middleware/stack.rb:24:in `call' c10e0aee | /usr/share/gems/gems/dynflow-1.9.0/lib/dynflow/middleware/stack.rb:28:in `pass' c10e0aee | /usr/share/gems/gems/dynflow-1.9.0/lib/dynflow/middleware.rb:20:in `pass' c10e0aee | /usr/share/gems/gems/katello-4.16.0.9/app/lib/actions/middleware/remote_action.rb:9:in `plan' ...