[jbosstools-issues] [JBoss JIRA] (JBIDE-13522) Cannot create a connection to OpenShift after fresh install of rhc-tooling

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Feb 12 11:23:56 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-13522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753700#comment-12753700 ] 

RH Bugzilla Integration commented on JBIDE-13522:
-------------------------------------------------

Andre Dietisheim <adietish at redhat.com> made a comment on [bug 910442|https://bugzilla.redhat.com/show_bug.cgi?id=910442]

Description of problem:
latest rhc is creating express.conf (for new users) with double quoted values. Especially libra_server is breaking existing (Eclipse) JBoss Tools use, since it cannot handle this change in the configuration format (it can only handle either single quoted or non-quoted values).

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

How reproducible:
always

Steps to Reproduce:
1. ASSERT: have a system without any express.conf files
2. EXEC: eventually install rhc to it, run initial setup and get /etc/openshift/express.conf created 
3. ASSERT: check libra_server= and make sure it contains "openshift.redhat.com" with double quotes
4. install JBoss Developer Studio and launch "File->New->Other->OpenShift Application
5. Fill in your credentials and try to connect to OpenShift

Actual results:
It will always tell you that your credentials are invalid

Expected results:
It should be able to connect to OpenShift using your valid credentials

Additional info:
JBoss Tools (JBDS) is reading express.conf but cannot handle the double quoted host name. It'll therefore try to connect to the double quoted host name which of course fails. JBT will then report invalid credentials whereas it should tell you that it failed to connect to the libra_server.
                
> Cannot create a connection to OpenShift after fresh install of rhc-tooling
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-13522
>                 URL: https://issues.jboss.org/browse/JBIDE-13522
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.0.0.Final
>         Environment: linux fedora
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.1.0.Alpha2
>
>
> The latest rhc tooling is creating an express.conf file with a double quoted *libra_server* entry:
> {code}
> libra_server="openshift.redhat.com"
> {code}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list