Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1180637 - katello-installer use character "\" in proxy-username option
Summary: katello-installer use character "\" in proxy-username option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.0.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-09 15:42 UTC by Chris Roberts
Modified: 2022-07-09 07:29 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-15 09:18:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 1229 0 High CLOSED - CURRENTRELEASE Json config file values must be url encoded 2016-02-11 20:00:40 UTC
Red Hat Knowledge Base (Solution) 1449483 0 None None None Never
Red Hat Product Errata RHSA-2015:2622 0 normal SHIPPED_LIVE Moderate: Satellite 6.1.5 bug fix update 2015-12-15 14:17:45 UTC

Description Chris Roberts 2015-01-09 15:42:26 UTC
Description of problem:

When I attempt to use a "\" character in the option --proxy-username for katello-installer, it is not recognizing the "\" correctly.

I am required to to use a proxy server to access the internet.  The username resides in Active Directory.  I have confirmed that the username and password allow me to access the internet via YUM and successfully accesses the Redhat repos.  The username follows the windows convention of "domain\username".  

My katello-installer command is as follows.

katello-installer --katello-proxy-url=http://proxy.url/ --katello-proxy-port="port" --katello-proxy-username="domain\username" --katello-proxy-password="password"

The above command completes successfully but I see "407, authentication required" errors in the log files.

When I execute a katello-installer --help, the value for the proxy-username option shows this:
   --katello-proxy-username      Proxy username for authentication (default: "domain\\username")

Version-Release number of selected component (if applicable):


Additional info:

When trying to use the @ it gives a 407 error. RHSM proxy works with the \ symbol

Customer is using this proxy info:

-----------------------------------------------------------------------
The authentication is via Active Directory through the Cisco Context Directory Agent.
The following may or may not be of interest:

Model:             S370
Version:            7.7.0-753 for Web

Configuration Summary
Security Services
    Web Proxy
    Web Proxy:               Enabled
    Web Proxy Mode:     Transparent
    IP Spoofing:             Not Enabled
    HTTPS Proxy:           Enabled
    Native FTP Proxy:     Enabled
    SOCKS Proxy:          Disabled

    L4 Traffic Monitor
    L4 Traffic Monitor                Enabled
    L4 Traffic Monitor Action:     Block

    Services
    Acceptable Use Controls:       Enabled
    Reputation Filtering:               Web Reputation: Enabled
Adaptive Scanning: Enabled
    Cisco IronPort Engine:          Webroot: Enabled
McAfee: Disabled
Sophos: Enabled

    Cisco IronPort Data Security Filters:    Enabled
    SensorBase Network Participation:      Disabled
----------------------------------------------------------------------

http://www.cisco.com/c/en/us/support/security/web-security-appliance-s370/model.html

Comment 1 RHEL Program Management 2015-01-09 15:54:26 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dustin Tsang 2015-05-08 17:35:14 UTC
would using single quotes get around the issue?

Comment 16 pulp-infra@redhat.com 2015-09-04 15:00:20 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 17 pulp-infra@redhat.com 2015-09-04 15:00:23 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 18 pulp-infra@redhat.com 2015-10-02 15:30:26 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 19 pulp-infra@redhat.com 2015-10-02 15:30:30 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 20 pulp-infra@redhat.com 2015-10-12 11:30:22 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 21 pulp-infra@redhat.com 2015-10-21 18:11:33 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 22 Bryan Kearney 2015-11-19 15:44:37 UTC
Upstream is FIXED, ready to be merged.

Comment 24 Tazim Kolhar 2015-11-30 09:56:59 UTC
VERIFIED:
-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.10-1.el7sat.noarch
foreman-gce-1.7.2.47-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
hp-bl490cg6-01.rhts.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch
foreman-debug-1.7.2.47-1.el7sat.noarch
foreman-compute-1.7.2.47-1.el7sat.noarch
foreman-vmware-1.7.2.47-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.2.4-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.5-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch
hp-bl490cg6-01.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
hp-bl490cg6-01.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-ovirt-1.7.2.47-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.22-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
foreman-selinux-1.7.2.17-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
foreman-postgresql-1.7.2.47-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.24-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
foreman-libvirt-1.7.2.47-1.el7sat.noarch
foreman-1.7.2.47-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.15.7-1.el7sat.noarch
foreman-proxy-1.7.2.6-1.el7sat.noarch

steps:
# katello-installer --katello-proxy-url=http://go-proxy.fpl.com --katello-proxy-port=8080 --katello-proxy-username=fplnt\admin --katello-proxy-password=changeme -v
[ INFO 2015-11-30 04:52:46 verbose] Executing hooks in group post
  Success!
  * Katello is running at https://hp-bl490cg6-01.rhts.eng.bos.redhat.com
      Initial credentials are admin / changeme
  * Capsule is running at https://hp-bl490cg6-01.rhts.eng.bos.redhat.com:9090
  * To install additional capsule on separate machine continue by running:

      capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar"

  The full log is at /var/log/katello-installer/katello-installer.log
[ INFO 2015-11-30 04:52:46 verbose] All hooks in group post finished


We are able to login using webUI
also no errors in log file

Comment 26 errata-xmlrpc 2015-12-15 09:18:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2622

Comment 27 pulp-infra@redhat.com 2016-02-11 20:00:41 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.


Note You need to log in before you can comment on or make changes to this bug.