Project

General

Profile

Bug #28151

Proxy user/password/port does not remove after select the 'Http Proxy = No Http Proxy'

Added by Vijay Singh over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Proxy user/password/port does not remove after select the 'Http Proxy = No Http Proxy'

Steps:
1. Create a Repo with 'Http Proxy' Global Default/Specific Repo
2. Now edit repo and set 'Http Proxy = No Http Proxy'

Actual result:

Proxy user/password/port does not remove from that repo:


>> /var/log/messages

Oct 30 08:05:34 centos7-luna-devel pulp: celery.app.trace:INFO: [499a55a7] Task pulp.server.managers.repo.importer.update_importer_config[499a55a7-7a45-43a4-881b-a8061d2f8bc3] succeeded in 0.0252606829999s: {'repo_id': '451c3e93-4432-4e67-bd7f-2ac47b1c8201', 'last_updated': datetime.datetime(2019, 10, 30, 8, 5, 34, 871429, tzinfo=<isodate.tzinfo.Utc object at 0x7f8572c7f090>), '_href': '/v2/repositories/451c3e93-4432-4e67-bd7f-2ac47b1c8201/importers/yum_importer/', '_ns': 'repo_importers', 'importer_type_id': 'yum_importer', 'last_override_config': {}, 'last_sync': None, 'scratchpad': None, '_id': ObjectId('5db944073d64f625e1958dec'), 'config': {'proxy_port': 8080, 'download_policy': 'immediate', 'remove_missing': True, 'proxy_username': 'admin', 'proxy_host': '', 'ssl_validation': True, 'proxy_password': '*****'}, 'id': 'yum_importer'}

>> Check repos details using pulp-admin

[root@centos7-luna-devel log]# pulp-admin -u admin -p $pulpAdminPassword repo list --details --repo-id 451c3e93-4432-4e67-bd7f-2ac47b1c8201
+----------------------------------------------------------------------+
                              Repositories
+----------------------------------------------------------------------+

Id:                   451c3e93-4432-4e67-bd7f-2ac47b1c8201
Display Name:         Repo_test_hhtp
Description:          None
Content Unit Counts:  
Notes:                
Scratchpad:           
Importers:            
  Config:               
    Download Policy: immediate
    Proxy Host:                                      <======================
    Proxy Password:  *****                           <======================
    Proxy Port:      8080                            <======================
    Proxy Username:  admin                           <======================
    Remove Missing:  True
    SSL Validation:  True

Expected result

Proxy user/password/port should remove from that repo.


Related issues

Related to Katello - Tracker #28179: [Tracker] Content Mgmt: http_proxy issuesNew

Copied to Katello - Bug #28349: Pulp2 returns masked string after proxy_password value is set, including set as an empty string/blankClosed

History

#1 Updated by Vijay Singh over 1 year ago

  • Found in Releases Katello 3.14.0 added

#2 Updated by Ian Ballou over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.14.0

#3 Updated by Vijay Singh over 1 year ago

  • Related to Tracker #28179: [Tracker] Content Mgmt: http_proxy issues added

#4 Updated by Brad Buckingham over 1 year ago

  • Bugzilla link set to 1774130

#5 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8454 added

#6 Updated by James Jeffers over 1 year ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8454)

#7 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/8454 added

#8 Updated by James Jeffers over 1 year ago

  • Copied to Bug #28349: Pulp2 returns masked string after proxy_password value is set, including set as an empty string/blank added

#9 Updated by James Jeffers over 1 year ago

  • Status changed from Ready For Testing to Resolved
  • Pull request deleted (https://github.com/Katello/katello/pull/8454)

Also available in: Atom PDF