[JBoss JIRA] (JBIDE-26159) Server adapter: debugging is not stopped if you delete the pod
by Dmitrii Bocharov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26159?page=com.atlassian.jira.plugi... ]
Dmitrii Bocharov updated JBIDE-26159:
-------------------------------------
Sprint: devex #154 September 2018 (was: devex #153 August 2018)
> Server adapter: debugging is not stopped if you delete the pod
> --------------------------------------------------------------
>
> Key: JBIDE-26159
> URL: https://issues.jboss.org/browse/JBIDE-26159
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.6.0.AM3
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Priority: Minor
> Labels: port_forwarding, server_adapter
> Fix For: 4.9.x
>
>
> steps:
> Screencast: https://youtu.be/XMA--S9zj6s
> # EXEC: create an application (via ex. nodejs-mongo-persistent template)
> # ASSERT: pod for service is running
> # EXEC: select pod and pick "Port Forwarding..." and start the forwarding
> # ASSERT: forwarding is running
> # EXEC: verify on the cmd-line that the forwarding is running
> {code}
> $ ps ax | grep oc
> 47793 ?? S 0:00.25 /Users/adietish/Downloads/oc_341 port-forward --token=XXXXX --server=https://open.paas.redhat.com --insecure-skip-tls-verify=true -n jbide25000 -p nodejs-mongo-persistent-7-rsmlr 5858:5858 8080:8080
> {code}
> # EXEC: in Explorer: select the pod for your service and pick "Delete"
> # ASSERT: pod gets deleted and recreated
> # EXEC: verify on the cmd-line that the forwarding is running
> {code}
> $ ps ax | grep oc
> 47793 ?? S 0:00.25 /Users/adietish/Downloads/oc_341 port-forward --token=XXXXX --server=https://open.paas.redhat.com --insecure-skip-tls-verify=true -n jbide25000 -p nodejs-mongo-persistent-7-rsmlr 5858:5858 8080:8080
> {code}
> Result:
> The port forwarding is still running.
> In Eclipse there's no way for you to see this since you have to select the new pod and pick "Port Forwarding..." on this new pod. It'll then tell you that the port forwarding is *NOT* running, since we're asking about port-forwarding for the new pod (not the old one that was killed).
> PS. it looks like there's a timeout somewhere, oc stops port-forwarding at some point (many minutes later) and the process disappears.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months
[JBoss JIRA] (JBIDE-26160) Server Adapter: erroneously stays in [Debugging] when you kill the pod
by Dmitrii Bocharov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26160?page=com.atlassian.jira.plugi... ]
Dmitrii Bocharov updated JBIDE-26160:
-------------------------------------
Sprint: devex #154 September 2018 (was: devex #153 August 2018)
> Server Adapter: erroneously stays in [Debugging] when you kill the pod
> ----------------------------------------------------------------------
>
> Key: JBIDE-26160
> URL: https://issues.jboss.org/browse/JBIDE-26160
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.6.0.AM3
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: server_adapter
> Fix For: 4.9.x
>
>
> steps:
> # EXEC: create an application (via ex. nodejs-mongo-persistent template), import the project and create a server adapter for it
> # ASSERT: server adapter is created
> # EXEC: start the server adapter in Debugging
> # ASSERT: sever adapter is in *[Debugging, Synchronized]* state
> # ASSERT: select pod and pick "Port Forwarding..." and it states that the forwarding is started
> # EXEC: in Explorer: select the pod for your service and pick "Delete"
> # ASSERT: pod gets deleted and recreated
> # ASSERT: select pod and pick "Port Forwarding..." and it states that the forwarding is stopped
> Result:
> The server adapter still says that is is *[Debugging, Synchronized]*, but debugging is not working any more. The new pod is not running in debug (dev-) mode any more. To have it running again you need to restart the server adapter into debug, which will re-create a new pod in debug-mode.
> Expected result:
> Server adapter should get out of debugging and back into normal run mode *[Started, Synchronized]*.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 10 months