[jbosstools-issues] [JBoss JIRA] (JBIDE-23782) Server adapter: Should keep trying to start (silently) instead of erroring and giving up

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jan 26 06:18:00 EST 2017


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

Andre Dietisheim updated JBIDE-23782:
-------------------------------------
    Description: 
steps to reproduce:
# EXEC: create a new eap64-basic-s2i application in OpenShift and have the jboss-kitchensink project imported to your workspace (dont use a pre-created one)
# EXEC: create a server adapter for it

Result:
The server adapter immediately tries to start and publish once you finish the server adapter wizard. This leads to the following error which is expected since the pods, that the server adapter wants to publish to, dont exist yet. The build has to finish first. Once it's finished, the pod will be ready and available for the adapter to sync to.
!starting-server-adapter-failed.png!
The adapter then turns to [Stopped] and stays stopped.
I then have to keep watching the OpenShift Explorer or the Properties to catch the moment when the build's finished and the service pod is running. 
Once this is achieved I can go and start the adapter which will then successfully publish.
It would be much nicer if the adapter would do this waiting for me, it would possibly still inform me that the pod doesnt exist yet but would watch the build and start publishing once it exists.
In order for this wait not to occur endlessly we could inform the user after some timeout, that we were waiting for some pods to appear but this didnt happen in the given timeframe.

  was:
steps to reproduce:
# EXEC: create a new eap64-basic-s2i application in OpenShift and have the jboss-kitchensink project imported to your workspace (dont use a pre-created one)
# EXEC: create a server adapter for it

Result:
The server adapter immediately tries to start and publish once you finish the server adapter wizard. This leads to the following error which is expected since the pods, that the server adapter wants to publish to, dont exist yet. The build has to finish first. Once it's finished, the pod will be ready and available for the adapter to sync to.
!!
The adapter then turns to [Stopped] and stays stopped.
I then have to keep watching the OpenShift Explorer or the Properties to catch the moment when the build's finished and the service pod is running. 
Once this is achieved I can go and start the adapter which will then successfully publish.
It would be much nicer if the adapter would do this waiting for me, it would possibly still inform me that the pod doesnt exist yet but would watch the build and start publishing once it exists.
In order for this wait not to occur endlessly we could inform the user after some timeout, that we were waiting for some pods to appear but this didnt happen in the given timeframe.



> Server adapter: Should keep trying to start (silently) instead of erroring and giving up
> ----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-23782
>                 URL: https://issues.jboss.org/browse/JBIDE-23782
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.4.3.AM1
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>             Fix For: 4.4.3.AM2
>
>         Attachments: starting-server-adapter-failed.png
>
>
> steps to reproduce:
> # EXEC: create a new eap64-basic-s2i application in OpenShift and have the jboss-kitchensink project imported to your workspace (dont use a pre-created one)
> # EXEC: create a server adapter for it
> Result:
> The server adapter immediately tries to start and publish once you finish the server adapter wizard. This leads to the following error which is expected since the pods, that the server adapter wants to publish to, dont exist yet. The build has to finish first. Once it's finished, the pod will be ready and available for the adapter to sync to.
> !starting-server-adapter-failed.png!
> The adapter then turns to [Stopped] and stays stopped.
> I then have to keep watching the OpenShift Explorer or the Properties to catch the moment when the build's finished and the service pod is running. 
> Once this is achieved I can go and start the adapter which will then successfully publish.
> It would be much nicer if the adapter would do this waiting for me, it would possibly still inform me that the pod doesnt exist yet but would watch the build and start publishing once it exists.
> In order for this wait not to occur endlessly we could inform the user after some timeout, that we were waiting for some pods to appear but this didnt happen in the given timeframe.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list