Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-27965

installation failing if proxy set with % character in the credentials

XMLWordPrintable

    • Critical
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when installing a cluster using a proxy with a character string using "%" in the configuration string, the cluster installation fails. With this update, the installation program correctly validates proxy configuration strings containing "%". (link:https://issues.redhat.com/browse/OCPBUGS-27965[*OCPBUGS-27965*])
      Show
      * Previously, when installing a cluster using a proxy with a character string using "%" in the configuration string, the cluster installation fails. With this update, the installation program correctly validates proxy configuration strings containing "%". (link: https://issues.redhat.com/browse/OCPBUGS-27965 [* OCPBUGS-27965 *])
    • Bug Fix
    • Done

      Description of problem:

          If a cluster is installed using proxy and the username used for connecting to the proxy contains the characters "%40" for encoding a "@" in case of providing a doamin, the instalation fails. The failure is because the proxy variables implemented in the file "/etc/systemd/system.conf.d/10-default-env.conf" in the bootstrap node are ignored by systemd. This issue seems was already fixed in MCO (BZ 1882674 - fixed in RHOCP 4.7), but looks like is affecting the bootstrap process in 4.13 and 4.14, causing the installation to not start at all.

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

          4.14, 4.13

      How reproducible:

          100% always

      Steps to Reproduce:

          1. create a install-config.yaml file with "%40" in the middle of the username used for proxy.
          2. start cluster installation.
          3. bootstrap will fail for not using proxy variables.
          

      Actual results:

      Installation fails because systemd fails to load the proxy varaibles if "%" is present in the username.

      Expected results:

          Installation to succeed using a username with "%40" for the proxy. 

      Additional info:

      File "/etc/systemd/system.conf.d/10-default-env.conf" for the bootstrap should be generated in a way accepted by systemd.    

            rdossant Rafael Fonseca dos Santos
            rhn-support-cpassare Christian Passarelli
            Gaoyun Pei Gaoyun Pei
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: