Project

Profile

Help

Issue #1820

closed

Fix checking for config.proxy_username

Added by rbarlow about 8 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Nectar:
Platform Release:
2.8.5
Target Release - Nectar:
master
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

We received a GitHub pull request with a fix for this issue before the issue was filed, and the pull request is already merged. I am filing it here as well so we can track that we have an unreleased bug fix.

https://github.com/pulp/nectar/pull/47

The rest of this description is quoted from the pull request.

When using basic authentication for the url to fetch and using a proxy without authentication, all the authentication gets stripped away when the proxy_username exists in the config file /etc/pulp/server/plugins.conf/yum_importer.json but is empty. This is because in threaded.py the code checks if proxy_username == None, which is untrue (it is an empty string). Since

variable = ''
if variable:
do_something
evaluates works as well, this is the better option in my opinion.

Actions #1

Updated by amacdona@redhat.com about 8 years ago

  • Triaged changed from No to Yes
  • Tags Documentation added
Actions #2

Updated by semyers about 8 years ago

  • Platform Release changed from 2.8.2 to 2.8.3
Actions #3

Updated by amacdona@redhat.com about 8 years ago

  • Tags deleted (Documentation)
Actions #4

Updated by amacdona@redhat.com about 8 years ago

  • Assignee set to rbarlow
Actions #6

Updated by semyers almost 8 years ago

  • Status changed from MODIFIED to 5
Actions #7

Updated by semyers almost 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #8

Updated by semyers almost 8 years ago

  • Status changed from CLOSED - CURRENTRELEASE to MODIFIED
  • Platform Release deleted (2.8.3)

This got caught up in my 2.8.3 release workflow even though it's a nectar change. It looks like 1.5.1 is the latest nectar release, and does not contain this change, so it really is not in 2.8.3. It won't be in any version of pulp until a new version of nectar is built and pulp's dependencies are updated to use it.

Actions #9

Updated by semyers almost 8 years ago

  • Platform Release set to 2.8.4
Actions #10

Updated by semyers almost 8 years ago

  • Status changed from MODIFIED to 5
Actions #11

Updated by semyers almost 8 years ago

  • Platform Release changed from 2.8.4 to 2.8.5
Actions #12

Updated by semyers almost 8 years ago

  • Status changed from 5 to MODIFIED
Actions #13

Updated by semyers almost 8 years ago

  • Status changed from MODIFIED to 5
Actions #14

Updated by semyers almost 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #15

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF