[
https://issues.jboss.org/browse/JBIDE-19851?page=com.atlassian.jira.plugi...
]
Marián Labuda commented on JBIDE-19851:
---------------------------------------
Reopening OpenShift Explorer view does not help. I tried several things. The least you can
do is to perform refresh on the connection. Refreshing only on domain does not help
neither.
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, openshift_v2
Fix For: 4.3.0.Beta2
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 message was sent by Atlassian JIRA
(v6.3.15#6346)