[jbosstools-issues] [JBoss JIRA] (JBIDE-11810) OpenShift port forwarding exception without ssh key

Stefan Bunciak (JIRA) jira-events at lists.jboss.org
Wed May 9 07:50:17 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bunciak updated JBIDE-11810:
-----------------------------------

           Description: 
Stack trace:
{code}
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:461)
at com.jcraft.jsch.Session.connect(Session.java:154)
at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:105)
at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:82)
at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage.verifyApplicationSSHSession(ApplicationPortForwardingWizardPage.java:364)
at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage.access$1(ApplicationPortForwardingWizardPage.java:360)
at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage$4$1.run(ApplicationPortForwardingWizardPage.java:194)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{code}
    Steps to Reproduce: 
* ASSERT: Have at least one application on OpenShift
* ASSERT: Do *not* have private portion of the OpenShift ssh key added to the ssh preferences
* EXEC: Create a new OpenShift connection via OpenShift Explorer
* EXEC: Collapse the newly created account
* EXEC: Right click on it and open the Port forwarding dialog
* RESULT: 
!machydraerrorportdialog.png|thumbmail!

* EXPECT:
 Create some security guard, like discussed in [JBIDE-11535|https://issues.jboss.org/browse/JBIDE-11535?focusedCommentId=12691267&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12691267] to prevent such auth failures/situations.

  was:
* ASSERT: Have at least one application on OpenShift
* ASSERT: Do *not* have private portion of the OpenShift ssh key added to the ssh preferences
* EXEC: Create a new OpenShift connection via OpenShift Explorer
* EXEC: Collapse the newly created account
* EXEC: Right click on it and open the Port forwarding dialog
* RESULT: 
!machydraerrorportdialog.png|thumbmail!


    
> OpenShift port forwarding exception without ssh key
> ---------------------------------------------------
>
>                 Key: JBIDE-11810
>                 URL: https://issues.jboss.org/browse/JBIDE-11810
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.Beta3
>            Reporter: Stefan Bunciak
>            Assignee: Andre Dietisheim
>            Priority: Critical
>             Fix For: 3.3.0.CR1
>
>         Attachments: machydraerrorportdialog.png
>
>
> Stack trace:
> {code}
> com.jcraft.jsch.JSchException: Auth fail
> at com.jcraft.jsch.Session.connect(Session.java:461)
> at com.jcraft.jsch.Session.connect(Session.java:154)
> at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:105)
> at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:82)
> at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage.verifyApplicationSSHSession(ApplicationPortForwardingWizardPage.java:364)
> at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage.access$1(ApplicationPortForwardingWizardPage.java:360)
> at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage$4$1.run(ApplicationPortForwardingWizardPage.java:194)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list