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

Control Plane installation failed with ")(" characters in Proxy password configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.14, 4.15
    • None
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When using a Proxy configuration with "()" characters in the password during an installation. The control plane nodes can't fill their resolv configuration since the script resolv-prepender.sh is failling due to those characters present in the password Proxy configuration.

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

      4.14 / 4.15    

      How reproducible:

      Launch an installation with those characters in a Proxy configuration :
      
      export HTTP_PROXY=http://ZSJP_OPENSHIFT:XXXXXXX@SRV:port
      export HTTPS_PROXY=http://ZSJP_OPENSHIFT:XXXXXXX@SRV:port

      Steps to Reproduce:

      1. Launch an installation with a Proxy configuration
      2. Change Proxy password with "()" characters
      3. Check the control-plane nodes status 
      4. Check this service status : 
            systemctl status on-prem-resolv-prepender.service      

      Actual results:

      Apr 11 09:29:38 test-79fw2-master-0 systemd[1]: Starting Populates resolv.conf according to on-prem IPI needs...
      Apr 11 09:29:38 test-79fw2-master-0 resolv-prepender.sh[2020]: /usr/local/bin/resolv-prepender.sh: line 4: syntax error near unexpected token `('
      Apr 11 09:29:38 test-79fw2-master-0 systemd[1]: on-prem-resolv-prepender.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
      Apr 11 09:29:38 test-79fw2-master-0 systemd[1]: on-prem-resolv-prepender.service: Failed with result 'exit-code'.
      Apr 11 09:29:38 test-79fw2-master-0 systemd[1]: Failed to start Populates resolv.conf according to on-prem IPI needs.

      Expected results:

      The resolv configuration gets populated properly and the installation of control-planes keep on going.

              ocp-docs-bot OCP DocsBot
              rh-ee-jalcanta Jerome Alcantara
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: