[JBoss JIRA] (JBIDE-15834) Server error while deleting application on Openshift Enterprise
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15834?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-15834:
---------------------------------------------
As Andre states, I suggest opening bug against OpenShift Enterprise rather than JBoss Tools.
They can see/track the actual error causing it.
Just because the web site can't caused the exception does not prove much besides that when the one doing it is closer to the server - less chance of things going wrong.
JBoss Tools delete works on other servers and eventually also on openshift enterprise thus so far it looks like openshift enterprise has some misconfiguration or different behavior.
> Server error while deleting application on Openshift Enterprise
> ---------------------------------------------------------------
>
> Key: JBIDE-15834
> URL: https://issues.jboss.org/browse/JBIDE-15834
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.1.Beta1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
>
> Sometimes attempt to delete application in Openshift Enterprise (in Openshift Online I didn't notice such bug) cause internal server error - HTTP error 500.
> Application (after showed dialog) is not deleted in Openshift Enterprise. Second attempt delete application succesfully.
> Unfortunately, I have no idea how to reproduce it (many various attempts done). It occurs sometimes.
> Eclipse log:
> {code}
> com.openshift.client.OpenShiftEndpointException: Could not request https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>500 Internal Server Error</title>
> </head><body>
> <h1>Internal Server Error</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> root@localhost and inform them of the time the error occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>Apache/2.2.15 (Red Hat) Server at console.itos.redhat.com Port 80</address>
> </body></html>
> at com.openshift.internal.client.RestService.request(RestService.java:136)
> at com.openshift.internal.client.RestService.request(RestService.java:109)
> at com.openshift.internal.client.RestService.request(RestService.java:92)
> at com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:142)
> at com.openshift.internal.client.ApplicationResource.destroy(ApplicationResource.java:256)
> at org.jboss.tools.openshift.express.internal.ui.job.DeleteApplicationsJob.doRun(DeleteApplicationsJob.java:47)
> at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: com.openshift.internal.client.httpclient.InternalServerErrorException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>500 Internal Server Error</title>
> </head><body>
> <h1>Internal Server Error</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> root@localhost and inform them of the time the error occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>Apache/2.2.15 (Red Hat) Server at console.itos.redhat.com Port 80</address>
> </body></html>
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:169)
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:150)
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:125)
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.delete(UrlConnectionHttpClient.java:113)
> at com.openshift.internal.client.RestService.request(RestService.java:183)
> at com.openshift.internal.client.RestService.request(RestService.java:123)
> ... 7 more
> Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:146)
> ... 11 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15832) Unable to create SSH session
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15832?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-15832:
---------------------------------------------
Without any steps to reproduce the first error just indicates the ssh key or username/password was not approved and the second error could be a lot of things but if you are changing IP's while running then I guess a lot of things can happen.
My suggestion: Don't change IP's and expect everything to continue to work flawlessly.
If you can reproduce this by getting a new IP then please do let us know and outline the steps to reproduce as otherwise I would suggest we reject this as "cannot reproduce" and assume this is errors caused by out of the ordinary network setup/changes or a misconfiguration of permissions.
> Unable to create SSH session
> ----------------------------
>
> Key: JBIDE-15832
> URL: https://issues.jboss.org/browse/JBIDE-15832
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.1.Beta1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
>
> Sometimes cannot create new / publish existing / import app bcs. of authentication fail.
> Issue probably related to JBIDE-15679, unfortunately I don't know how to reproduce this bug (I have noticed it occurs e.g. when I change location from where I am creating / modyfing app = change of IP or turn on/off JBDS/JBT).
> Eclipse log 1:
> {code}
> Unable to create SSH session for application 'ApplicationResource [uuid=5271107a3b696e75f9000032, name=diy, creationTime=Wed Oct 30 14:58:18 CET 2013, cartridge=StandaloneCartridge[ name=diy-0.1, url=null, displayName = Do-It-Yourself 0.1, description=The Do-It-Yourself (DIY) application type is a blank slate for trying unsupported languages, frameworks, and middleware on OpenShift. See the community site for examples of bringing your favorite framework to OpenShift. ], scale=NO_SCALE, gearProfile=GearProfile [name=int_general_small], domain=Domain [id=domainequo2, suffix=itos.redhat.com], applicationUrl=http://diy-domainequo2.itos.redhat.com/, gitUrl=ssh://5271107a3b696e75f9000032@diy-domainequo2.itos.redhat.com/~/git/diy.git/, initialGitUrl=null, aliases=[], gearGroups=null]'
> !STACK 0
> com.jcraft.jsch.JSchException: Auth fail
> at com.jcraft.jsch.Session.connect(Session.java:482)
> at com.jcraft.jsch.Session.connect(Session.java:160)
> at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:117)
> at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:88)
> at org.jboss.tools.openshift.express.internal.ui.job.VerifySSHSessionJob.run(VerifySSHSessionJob.java:47)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
> Eclipse log 2:
> {code}
> org.eclipse.jgit.errors.TransportException: ssh://527117bd25535d154a000001@gtr-domainequo2.itos.redhat.com/~/git/gtr.git/: channel is not opened.
> at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:154)
> at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:118)
> at org.eclipse.jgit.transport.JschSession.exec(JschSession.java:91)
> at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
> at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
> at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
> at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
> at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1105)
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
> at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
> at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
> at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:155)
> at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
> at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:257)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:171)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.copyOpenshiftConfigurations(MergeIntoGitSharedProject.java:147)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.execute(MergeIntoGitSharedProject.java:101)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.mergeIntoGitSharedProject(OpenShiftApplicationWizardModel.java:187)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:360)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: com.jcraft.jsch.JSchException: channel is not opened.
> at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:670)
> at com.jcraft.jsch.Channel.connect(Channel.java:151)
> at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:150)
> ... 20 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBDS-2738) Support OpenShift 2.0 features
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-2738?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen updated JBDS-2738:
--------------------------------------
Fix Version/s: 7.1.0.Beta1
> Support OpenShift 2.0 features
> ------------------------------
>
> Key: JBDS-2738
> URL: https://issues.jboss.org/browse/JBDS-2738
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: openshift
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 7.1.0.Beta1
>
>
> OpenShift 2.0 is coming, needs to investigate when that happens and what it implies for eclipse (and eventually Forge) tooling.
> This functionallity would need to be added without breaking how we work with current openshift online and openshift enterprise which has 1.x api's.
> Opening this issue to track issues related to this (please create subtasks)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15798) Missing scroolbar in Cordova Feature Dialog
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15798?page=com.atlassian.jira.plugi... ]
Vlado Pakan updated JBIDE-15798:
--------------------------------
Description:
1. Create new Hybrid Mobile project
2. Open project config.xml file in Cordova Configuration Editor
3. Go to Platform Properties tab. and click on Add.... button to add features
4. Type some text to Find text field to specify search condition which cannot be fulfilled to get empty list of plugins
5. Clear Find: text field
ERROR: Opened dialog has no scroll bar
was:
1. Create new Hybrid Mobile project
2. Open project config.xml file in Cordova Configuration Editor
3. Go to Platform Properties tab. and click on Add.... button to add features
ERROR: Opened dialog has no scroll bar
> Missing scroolbar in Cordova Feature Dialog
> -------------------------------------------
>
> Key: JBIDE-15798
> URL: https://issues.jboss.org/browse/JBIDE-15798
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Environment: JBT 4.1.1 Beta1-v20131020-0207-B454
> Reporter: Vlado Pakan
> Priority: Minor
> Fix For: 4.1.1.CR1
>
>
> 1. Create new Hybrid Mobile project
> 2. Open project config.xml file in Cordova Configuration Editor
> 3. Go to Platform Properties tab. and click on Add.... button to add features
> 4. Type some text to Find text field to specify search condition which cannot be fulfilled to get empty list of plugins
> 5. Clear Find: text field
> ERROR: Opened dialog has no scroll bar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15845) Filter also for Cordova Plugin ID in Cordova Plug-in Discovery dialog
by Vlado Pakan (JIRA)
Vlado Pakan created JBIDE-15845:
-----------------------------------
Summary: Filter also for Cordova Plugin ID in Cordova Plug-in Discovery dialog
Key: JBIDE-15845
URL: https://issues.jboss.org/browse/JBIDE-15845
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: aerogear-hybrid
Affects Versions: 4.1.1.Beta1
Environment: JBDS7.1.0.Beta1b Beta1-v20131102-1529-B493
Reporter: Vlado Pakan
Fix For: 4.1.1.CR1
1. Create Hybrid Mobile project
2. Open config.xml in Corodova Configuration editor
3. Click on button Add.. to add Feature
Filter uses value from Find: Text but searches for specified value only in Plugin description. Would be nice to search for specified text also in plug-in ids
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15594) Cannot connect to OpenShift DEVENV with hostname: javax.net.ssl.SSLProtocolException
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15594?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-15594:
---------------------------------------------
I think this works as expected.
In Java 7 SNI (Server Name Indication) is enabled by default and means that if a server says it does not recognize the server name it is being queried on it will let the client know and the client is supposed to not connect.
The thing to fix in this case is the server side. The DEV environment should be configured to either A) accept its given amazon instance name (in this example: ec2-54-226-150-31.compute-1.amazonaws.com) in the SNI handshake or B) not say it wants to do the the SNI handshake.
I would raise it to openshift team if either A or B can be made default for DEV instance and if not, we simply will just have to document that users should use the ip directly instead or disable SNI for the client side jav apps by using -Djsse.enableSNIExtension=false
Note: the system property was in earlier versions of the java client forced to have this property set but this is *absolutely* wrong since 1) it affects the whole JavaVM, i.e. other plugins in eclipse 2) it only works if it is called as the first thing before someone does any SSL network traffic (which is not controllable by the user in eclipse or any app server for that matter).
Thus it should *not* and cannot be fixed in our openshift java client/
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7177232
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7127374
http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecogniz...
Setting this as a CR1 fix version to just raise this issue on openshift side and document the answer and then reject this as a "wont fix"
> Cannot connect to OpenShift DEVENV with hostname: javax.net.ssl.SSLProtocolException
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-15594
> URL: https://issues.jboss.org/browse/JBIDE-15594
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.1.Alpha2, 4.2.0.Alpha1
> Environment: jdk7
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.1.1.CR1
>
> Attachments: unknown-error.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15844) Cordova Configuration Editor is not closed when related project is deleted
by Vlado Pakan (JIRA)
Vlado Pakan created JBIDE-15844:
-----------------------------------
Summary: Cordova Configuration Editor is not closed when related project is deleted
Key: JBIDE-15844
URL: https://issues.jboss.org/browse/JBIDE-15844
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.1.1.Beta1
Environment: JBDS7.1.0.Beta1b Beta1-v20131102-1529-B493
Reporter: Vlado Pakan
Fix For: 4.1.1.CR1
1. Create Hybrid Mobile project
2. Open config.xml file in Cordova Configuration Editor
3. Delete Hybrid Mobile project
ERROR: Cordova Configuration Editor stays open even when config.xml file and related project is already deleted
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15843) Unable to add Cordova Feature
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15843?page=com.atlassian.jira.plugi... ]
Vlado Pakan updated JBIDE-15843:
--------------------------------
Description:
1. Create Hybrid Mobile project
2. Open config.xml in Corodova Configuration editor
3. Click on button Add.. to add Feature
4. Select more features and click Finish
5. Click Yest to All in Overwrite Files dialog (many times)
ASSERT: Plugins are added to project and to config.xml file
6. Remove added plugins from config.xml file and from project/plugins directory
7. Repeat steps 3. and 4. selecting the same plugins as before
ERROR: No plugins added neither to project/plugins dir or config.xml file
8. Refresh project
ERROR: Only first selected plugin is added to project/plugins directory and still no plugins added to config.xml file
was:
1. Create Hybrid Mobile project
2. Open config.xml in Corodova Configuration editor
3. Click on button Add.. to add Feature
4. Select more features and click Finish
5. Click Yest to All in Overwrite Files dialog (many times)
ASSERT: Plugins are added to project and to config.xml file
6. Remove added plugins from config.xml file and from project/plugins directory
7. Repeat steps 3. and 4. selecting the same plugins as before
ERROR: No plugins added neither to project/plugins dir or config.xml file
> Unable to add Cordova Feature
> -----------------------------
>
> Key: JBIDE-15843
> URL: https://issues.jboss.org/browse/JBIDE-15843
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Environment: JBDS7.1.0.Beta1b Beta1-v20131102-1529-B493
> Reporter: Vlado Pakan
> Priority: Critical
> Fix For: 4.1.1.CR1
>
>
> 1. Create Hybrid Mobile project
> 2. Open config.xml in Corodova Configuration editor
> 3. Click on button Add.. to add Feature
> 4. Select more features and click Finish
> 5. Click Yest to All in Overwrite Files dialog (many times)
> ASSERT: Plugins are added to project and to config.xml file
> 6. Remove added plugins from config.xml file and from project/plugins directory
> 7. Repeat steps 3. and 4. selecting the same plugins as before
> ERROR: No plugins added neither to project/plugins dir or config.xml file
> 8. Refresh project
> ERROR: Only first selected plugin is added to project/plugins directory and still no plugins added to config.xml file
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15843) Unable to add Cordova Feature
by Vlado Pakan (JIRA)
Vlado Pakan created JBIDE-15843:
-----------------------------------
Summary: Unable to add Cordova Feature
Key: JBIDE-15843
URL: https://issues.jboss.org/browse/JBIDE-15843
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.1.1.Beta1
Environment: JBDS7.1.0.Beta1b Beta1-v20131102-1529-B493
Reporter: Vlado Pakan
Priority: Critical
Fix For: 4.1.1.CR1
1. Create Hybrid Mobile project
2. Open config.xml in Corodova Configuration editor
3. Click on button Add.. to add Feature
4. Select more features and click Finish
5. Click Yest to All in Overwrite Files dialog (many times)
ASSERT: Plugins are added to project and to config.xml file
6. Remove added plugins from config.xml file and from project/plugins directory
7. Repeat steps 3. and 4. selecting the same plugins as before
ERROR: No plugins added neither to project/plugins dir or config.xml file
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months