[jbosstools-issues] [JBoss JIRA] (JBIDE-19851) Cannot refresh environment variable(s) for an OpenShift application

Marián Labuda (JIRA) issues at jboss.org
Tue May 26 06:40:19 EDT 2015


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

Marián Labuda updated JBIDE-19851:
----------------------------------
    Description: 
In Manage Application Environment Variable shell opened either via servers adapter or OpenShift Explorer view are listed environment variables for a specific application. Refresh button should refresh state of variables according to state on a server, but click on Refresh button shows following error dialog with following stack in log:

{code}
com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eapapp"
	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:892)
	at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:860)
	at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:634)
	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.jcraft.jsch.JSchException: session is down
	at com.jcraft.jsch.Session.openChannel(Session.java:844)
	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:885)
	... 6 more
{code}

Otherwise adding, editing and removing environment variables work OK.

This is happening only some times. I have created EAP application where this is happening. Looking for a way to reproduce it with 100 % chance.

  was:
In Manage Application Environment Variable shell opened either via servers adapter or OpenShift Explorer view are listed environment variables for a specific application. Refresh button should refresh state of variables according to state on a server, but click on Refresh button shows following error dialog with following stack in log:

{code}
com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eapapp"
	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:892)
	at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:860)
	at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:634)
	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.jcraft.jsch.JSchException: session is down
	at com.jcraft.jsch.Session.openChannel(Session.java:844)
	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:885)
	... 6 more
{code}

Otherwise adding, editing and removing environment variables work OK.

This is happening only some times. I have created EAP application where this is happening.



> Cannot refresh environment variable(s) for an OpenShift application
> -------------------------------------------------------------------
>
>                 Key: JBIDE-19851
>                 URL: https://issues.jboss.org/browse/JBIDE-19851
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Marián Labuda
>            Priority: Minor
>              Labels: environment_variables
>
> In Manage Application Environment Variable shell opened either via servers adapter or OpenShift Explorer view are listed environment variables for a specific application. Refresh button should refresh state of variables according to state on a server, but click on Refresh button shows following error dialog with following stack in log:
> {code}
> com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eapapp"
> 	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:892)
> 	at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:860)
> 	at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:634)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
> 	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.jcraft.jsch.JSchException: session is down
> 	at com.jcraft.jsch.Session.openChannel(Session.java:844)
> 	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:885)
> 	... 6 more
> {code}
> Otherwise adding, editing and removing environment variables work OK.
> This is happening only some times. I have created EAP application where this is happening. Looking for a way to reproduce it with 100 % chance.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jbosstools-issues mailing list