]
Andre Dietisheim edited comment on JBIDE-11314 at 5/25/12 12:33 PM:
--------------------------------------------------------------------
I completely overhauled the timeout related code in the plugins and in the client
library.
I also added 2 dialogs that would allow you to continue or to close the wizard if timeouts
occurr:
* when creating the app:
!keep-creating.png!
* when waiting for the app to become reachable:
!keep-waiting.png!
no special precautions when embedding are implemented so far, since we ran out of time.
This should not be too critical since timeouts occurred when creating/waiting so far.
was (Author: adietish):
I now added 2 dialogs that would allow you to continue or to close the wizard if
timeouts occurr:
* when creating the app:
!keep-creating.png!
* when waiting for the app to become reachable:
!keep-waiting.png!
OpenShift: delayed application creation
---------------------------------------
Key: JBIDE-11314
URL:
https://issues.jboss.org/browse/JBIDE-11314
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 3.3.0.Beta1
Reporter: Stefan Bunciak
Assignee: Andre Dietisheim
Priority: Blocker
Fix For: 3.3.0.CR1
Attachments: keep-creating.png, keep-waiting.png
We should discuss how should the wizard behave when the application is not created in
time-out, but e.g. few seconds later, this exception is thrown:
{quote}
com.openshift.express.client.OpenShiftApplicationNotAvailableException: We werent able to
lookup your hostname (
https://as11-adomain.rhcloud.com/) in a reasonable amount of time.
This can happen periodically and will just take an extra minute or two to propagate
depending on where you are in the world.
Once you are able to access your application in a browser, you can then clone your git
repository.
If you cant get your application running in the browser, you can also try destroying and
recreating the application as well using this Wizard.
If this doesnt work for you, let us know in the forums or in IRC and well make sure to
get you up and running.
Forums:
https://www.redhat.com/openshift/forums/express
IRC: #openshift (on Freenode)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizardModel.waitForAccessible(OpenShiftExpressApplicationWizardModel.java:341)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizardModel.createApplication(OpenShiftExpressApplicationWizardModel.java:353)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizardModel.createApplication(OpenShiftExpressApplicationWizardModel.java:359)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizard$3.run(OpenShiftExpressApplicationWizard.java:195)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{quote}
So the user needs to close the wizard and import the application via console or import
wizard. Otherwise, when he tries to click Finish button again he gets another exception
that the application already exists on OpenShift.
Should the wizard rely on the fix time-out?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: