[
https://issues.jboss.org/browse/JBIDE-10669?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-10669:
------------------------------------------
I tried this on stg and could not even create an app. The behavior is very odd: The
creation process fails telling me that the application already exists:
{code}
com.openshift.express.client.OpenShiftEndpointException: Could not configure application
"as33" at "https://stg.openshift.redhat.com/broker/cartridge"
at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:366)
at
com.openshift.express.client.OpenShiftService.requestApplicationAction(OpenShiftService.java:289)
at
com.openshift.express.client.OpenShiftService.createApplication(OpenShiftService.java:170)
at
com.openshift.express.internal.client.InternalUser.createApplication(InternalUser.java:183)
at
org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.createApplication(ApplicationWizardModel.java:82)
at
org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.createApplication(ApplicationWizardModel.java:68)
at
org.jboss.tools.openshift.express.internal.ui.wizard.NewApplicationWizardPage$6.run(NewApplicationWizardPage.java:178)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.openshift.express.internal.client.httpclient.BadRequestException:
{"result":"An application named 'as33' in namespace
'namespace' already
exists","messages":"","data":"","exit_code":1,"broker":"1.1.1","api":"1.1.2","debug":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"api_c":["placeholder"]}
at
com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:104)
at
com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:71)
at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:357)
... 7 more
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL:
https://stg.openshift.redhat.com/broker/cartridge
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at
com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:66)
... 8 more
{code}
The application was created though. If I get back in the wizard (which will load the list
of apps again), it'll show up in the list of applications.
The very same workflow works perfectly on prod. I could create and embed jenkins to the
freshly created app. What was changed on the backend? I'll have to ask on #libra.
OpenShift Express: Unable to embed Jenkins client
-------------------------------------------------
Key: JBIDE-10669
URL:
https://issues.jboss.org/browse/JBIDE-10669
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 3.3.0.M5
Reporter: Attila Nagy
Assignee: Andre Dietisheim
Fix For: 3.3.0.Beta1
Unable to embed Jenkins client into an OpenShift Express application.
Tested both on stagin and development environment
1) Create a JBoss application
2) Try to embed Jenkins client.
Result: The Jenkins app is created, access credentials are display in a pop-up. Clicking
on OK I can see another pop-up with the following error-message.
Could not embed cartridges to application myFancyJBossA
Could not configure application "myFancyJBossA" at
"https://stg.openshift.redhat.com/broker/embed_cartridge"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira