-
Bug
-
Resolution: Won't Do
-
Major
-
4.3.0.Alpha1
-
Workaround Exists
-
Cannot create an application on OpenShift on downloadable cartridge with manifest having size bigger than 20 kB. I used WildFly cartridge https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/master/metadata/manifest.yml . Following error is in error log:
com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/applications?include=cartridges: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/master/metadata/manifest.yml' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/master/metadata/manifest.yml' must be smaller than 20480 bytes. at com.openshift.internal.client.RestService.request(RestService.java:121) at com.openshift.internal.client.RestService.request(RestService.java:92) at com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:169) at com.openshift.internal.client.DomainResource$CreateApplicationRequest.execute(DomainResource.java:478) at com.openshift.internal.client.DomainResource.createApplication(DomainResource.java:186) at com.openshift.internal.client.DomainResource.createApplication(DomainResource.java:168) at com.openshift.client.ApplicationBuilder$NamedUnTypedCartridgeBuilder.build(ApplicationBuilder.java:138) at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.doRun(CreateApplicationJob.java:92) at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: com.openshift.internal.client.httpclient.HttpClientException: {"api_version":1.2,"data":null,"messages":[{"exit_code":109,"field":"cartridge","index":null,"severity":"error","text":"The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/master/metadata/manifest.yml' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/master/metadata/manifest.yml' must be smaller than 20480 bytes."}],"status":"unprocessable_entity","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7],"type":null,"version":"1.2"} at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:200) at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:165) at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:144) at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:120) at com.openshift.internal.client.RestService.request(RestService.java:164) at com.openshift.internal.client.RestService.request(RestService.java:107) ... 9 more Caused by: java.io.IOException: Server returned HTTP response code: 422 for URL: https://openshift.redhat.com/broker/rest/domain/domainnameone/applications?include=cartridges at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1838) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:161) ... 13 more
- relates to
-
JBIDE-18866 Application wizard: allow URL in the form "from-code=git@github.com" for custom app source code and downloadable cartridges
- Closed