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

installation failing if proxy set with % character in the credentials

XMLWordPrintable

    • Critical
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      What: If a cluster is installed using proxy and the proxy information contains escaped characters in the format "%XX" the installation fails.
      Fix: the Installer now handles the escaping of the % character.
      Show
      What: If a cluster is installed using proxy and the proxy information contains escaped characters in the format "%XX" the installation fails. Fix: the Installer now handles the escaping of the % character.
    • Bug Fix
    • In Progress

      This is a clone of issue OCPBUGS-27965. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: