Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13589

Openshift: Failed to connect server as the server URL from express.conf which was created with double quotes via rhc

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: None
    • Component/s: openshift
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. Run "rhc setup" with rhc client to generate the express.conf
      2. Try to connect to the openshift server generated in express.conf

      Actual results:
      It's failed to connect as double quotas generated.

      Expect results:
      The openshift plugin should read the server url without double quota added and make sure it could be connected.

      express.conf generated via rhc as below:

      1. The OpenShift server to connect to
        libra_server="ec2-184-72-86-133.compute-1.amazonaws.com"
      1. Your OpenShift login name
        default_rhlogin="jinzhang+3@redhat.com"
      1. The default timeout for network operations
        #timeout=<integer>
      1. If true, certificate errors will be ignored.
      2. WARNING: This may allow others to eavesdrop on your communication with OpenShift.
        insecure=true
      1. The SSL protocol version to use when connecting to this server
        #ssl_version="<string>"
      1. A client certificate file for use with your server
        #ssl_client_cert_file="<path_to_file>"
      1. A file containing CA one or more certificates
        #ssl_ca_file="<path_to_file>"
      Show
      1. Run "rhc setup" with rhc client to generate the express.conf 2. Try to connect to the openshift server generated in express.conf Actual results: It's failed to connect as double quotas generated. Expect results: The openshift plugin should read the server url without double quota added and make sure it could be connected. express.conf generated via rhc as below: The OpenShift server to connect to libra_server="ec2-184-72-86-133.compute-1.amazonaws.com" Your OpenShift login name default_rhlogin="jinzhang+3@redhat.com" The default timeout for network operations #timeout=<integer> If true, certificate errors will be ignored. WARNING: This may allow others to eavesdrop on your communication with OpenShift. insecure=true The SSL protocol version to use when connecting to this server #ssl_version="<string>" A client certificate file for use with your server #ssl_client_cert_file="<path_to_file>" A file containing CA one or more certificates #ssl_ca_file="<path_to_file>"

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adietish André Dietisheim
                Reporter:
                jinzhang jing zh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: