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

Cannot create a connection to OpenShift after fresh install of rhc-tooling

    Details

    • Steps to Reproduce:
      Hide

      1. ASSERT: make sure you dont have an existing express.conf (/etc/openshift/express.conf or ~/.openshift/express.conf)
      2. EXEC: do a fresh install of the rhc tools
      3. ASSERT: you get a new /etc/openshift/express.conf with the libra_server value double quoted:

      libra_server="openshift.redhat.com"
      

      4. EXEC: Launch "New OpenShift Applcation" from New wizards (or Central) and create a new connection: Provide username and host, hit "next"

      Result:

      The wizard tells you that your credentials are not valid.

      Looking more closely at the default server that you get suggested, you'll see that host is double quoted.

      Expected result:
      The wizard is either automagically removing the double quotes before using the host or telling you accurately that it could not reach the host.

      Show
      1. ASSERT: make sure you dont have an existing express.conf (/etc/openshift/express.conf or ~/.openshift/express.conf) 2. EXEC: do a fresh install of the rhc tools 3. ASSERT: you get a new /etc/openshift/express.conf with the libra_server value double quoted: libra_server= "openshift.redhat.com" 4. EXEC: Launch "New OpenShift Applcation" from New wizards (or Central) and create a new connection: Provide username and host, hit "next" Result: The wizard tells you that your credentials are not valid. Looking more closely at the default server that you get suggested, you'll see that host is double quoted. Expected result: The wizard is either automagically removing the double quotes before using the host or telling you accurately that it could not reach the host.
    • Workaround Description:
      Hide

      remove the double quotes from the host-name

      Show
      remove the double quotes from the host-name
    • Release Notes Text:
      Hide
      Several users could not connect to OpenShift using JBoss Tools anymore. This happened after they installed the latest rhc client tools (1.4.7) for the command line.
      We identified the issue in the rhc client tools and enhanced our client library to be able to read the new (express.conf) file format. The rhc tools were fixed in the next release (1.4.8) so that noone should get into these troubles any more.
      Show
      Several users could not connect to OpenShift using JBoss Tools anymore. This happened after they installed the latest rhc client tools (1.4.7) for the command line. We identified the issue in the rhc client tools and enhanced our client library to be able to read the new (express.conf) file format. The rhc tools were fixed in the next release (1.4.8) so that noone should get into these troubles any more.

      Description

      The latest rhc tooling is creating an express.conf file with a double quoted libra_server entry:

      libra_server="openshift.redhat.com"
      

      If you're a new user, install rhc tooling, get the above express.conf and then run JBT, JBT will tell you that your credentials are not valid.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  adietish André Dietisheim
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: