Project

General

Profile

Actions

Bug #28151

closed

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

Added by Vijay Singh over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
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 2 (1 open1 closed)

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

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

Updated by Vijay Singh over 4 years ago

  • Found in Releases Katello 3.14.0 added
Actions #2

Updated by Ian Ballou over 4 years ago

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

Updated by Vijay Singh over 4 years ago

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

Updated by Brad Buckingham over 4 years ago

  • Bugzilla link set to 1774130
Actions #5

Updated by The Foreman Bot over 4 years ago

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

Updated by James Jeffers over 4 years ago

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

Updated by The Foreman Bot over 4 years ago

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

Updated by James Jeffers over 4 years ago

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

Updated by James Jeffers over 4 years ago

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

Also available in: Atom PDF