]
Andre Dietisheim resolved JBIDE-26204.
--------------------------------------
Resolution: Done
fixed with the PR for JBIDE-25700
Pod Log, Port Forwarding: when using bogus oc, log console shows up
empty & port forwarding isn't functioning
-------------------------------------------------------------------------------------------------------------
Key: JBIDE-26204
URL:
https://issues.jboss.org/browse/JBIDE-26204
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.6.0.Final
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.9.0.AM1
Attachments: pod-log-console-empty.png, port-forwarding-stopped.png
* Setup:
*# ASSERT: use the code that in the
[
PR|https://github.com/jbosstools/jbosstools-openshift/pull/1772] for JBIDE-25700
*# ASSERT: make sure you have an app with a pod running in OpenShift
*# EXEC: open OpenShift preferences and point it to an oc that is a bogus executable file
(that you created ex. by doing "touch oc && chmod +x oc")
* Port Log:
*# EXEC: in OpenShift Explorer: select the pod and pick "Pod Log..."
*# Result:
The "Console" view shows up but nothing happens, there's no output.
!pod-log-console-empty.png!
* Port Forwarding:
*# EXEC: in OpenShift Explorer: select the pod and pick "Port Forwarding..."
*# ASSERT: Port Forwarding wizard shows up listing the forwardable ports, the
"Status" column shows them "Stopped"
*# EXEC: hit "Start All" button
*# Result:
Port forwarding is not started, the "Status" column for the ports stays
"Stopped"
!port-forwarding-stopped.png!