[JBoss JIRA] (JBIDE-19363) Cannot create an OpenShift application with manifest bigger than 20 kB
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19363?page=com.atlassian.jira.plugi... ]
Marián Labuda resolved JBIDE-19363.
-----------------------------------
Assignee: Marián Labuda
Fix Version/s: 4.3.0.Alpha1
Resolution: Won't Fix
This is fully backend issue and there is nothing to do because OpenShift v2 is not developed anymore. Users should always use cartreflect to provide their URL of manifest.
> Cannot create an OpenShift application with manifest bigger than 20 kB
> ----------------------------------------------------------------------
>
> Key: JBIDE-19363
> URL: https://issues.jboss.org/browse/JBIDE-19363
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Alpha1
> Reporter: Marián Labuda
> Assignee: Marián Labuda
> Labels: application_wizard
> Fix For: 4.3.0.Alpha1
>
>
> 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/... . Following error is in error log:
> {code}
> com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBIDE-18866) allow URL in the form "from-code=git@github.com" for custom app source code and downloadable cartridges
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18866?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18866:
-------------------------------------
Description:
We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
The exact form is documented in the github (and general purpose git-) documentation: https://gist.github.com/grawity/4392747
{quote}
SSH, aka git(a)github.com: or ssh://git@github.com/
{quote}
was:We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
> allow URL in the form "from-code=git(a)github.com" for custom app source code and downloadable cartridges
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18866
> URL: https://issues.jboss.org/browse/JBIDE-18866
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Final
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: new_and_noteworthy
> Fix For: 4.3.x
>
>
> We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
> The exact form is documented in the github (and general purpose git-) documentation: https://gist.github.com/grawity/4392747
> {quote}
> SSH, aka git(a)github.com: or ssh://git@github.com/
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBIDE-19363) Cannot create an OpenShift application with manifest bigger than 20 kB
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19363?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-19363:
----------------------------------
Description:
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/... . Following error is in error log:
{code}
com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
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
{code}
was:
Cannot create an application on OpenShift on downloadable cartridge with manifest having size bigger than 20 kB. I used WildFly cartridge . Following error is in error log:
{code}
com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
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
{code}
> Cannot create an OpenShift application with manifest bigger than 20 kB
> ----------------------------------------------------------------------
>
> Key: JBIDE-19363
> URL: https://issues.jboss.org/browse/JBIDE-19363
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Alpha1
> Reporter: Marián Labuda
> Labels: application_wizard
>
> 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/... . Following error is in error log:
> {code}
> com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBIDE-18911) allow URL in the form "from-code=git@github.com" for custom app source code and downloadable cartridges
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18911?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18911:
-------------------------------------
Description:
We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
The exact form is documented in the github (and general purpose git-) documentation:
{quote:title=https://gist.github.com/grawity/4392747}
SSH, aka git(a)github.com: or ssh://git@github.com/
{quote}
was:We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
> allow URL in the form "from-code=git(a)github.com" for custom app source code and downloadable cartridges
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18911
> URL: https://issues.jboss.org/browse/JBIDE-18911
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Final
> Reporter: Andre Dietisheim
> Assignee: Max Rydahl Andersen
> Labels: application_wizard, embed_wizard
> Fix For: 4.2.3.Beta1
>
>
> We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
> The exact form is documented in the github (and general purpose git-) documentation:
> {quote:title=https://gist.github.com/grawity/4392747}
> SSH, aka git(a)github.com: or ssh://git@github.com/
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBIDE-18911) allow URL in the form "from-code=git@github.com" for custom app source code and downloadable cartridges
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18911?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18911:
-------------------------------------
Description:
We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
The exact form is documented in the github (and general purpose git-) documentation: https://gist.github.com/grawity/4392747
{quote}
SSH, aka git(a)github.com: or ssh://git@github.com/
{quote}
was:
We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
The exact form is documented in the github (and general purpose git-) documentation:
{quote:title=https://gist.github.com/grawity/4392747}
SSH, aka git(a)github.com: or ssh://git@github.com/
{quote}
> allow URL in the form "from-code=git(a)github.com" for custom app source code and downloadable cartridges
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18911
> URL: https://issues.jboss.org/browse/JBIDE-18911
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Final
> Reporter: Andre Dietisheim
> Assignee: Max Rydahl Andersen
> Labels: application_wizard, embed_wizard
> Fix For: 4.2.3.Beta1
>
>
> We should be able to use urls that refer to github repositories when using custom application source code and downloadable cartridges
> The exact form is documented in the github (and general purpose git-) documentation: https://gist.github.com/grawity/4392747
> {quote}
> SSH, aka git(a)github.com: or ssh://git@github.com/
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBIDE-19363) Cannot create an OpenShift application with manifest bigger than 20 kB
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19363?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-19363:
----------------------------------
Description:
Cannot create an application on OpenShift on downloadable cartridge with manifest having size bigger than 20 kB. I used WildFly cartridge https://cartreflect-claytondev.rhcloud.com/github/openshift-cartridges/op... . Following error is in error log:
{code}
com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
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
{code}
was:
Cannot create an application on OpenShift on downloadable cartridge with manifest having size bigger than 20 kB. I used WildFly cartridge. Following error is in error log:
{code}
com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
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
{code}
> Cannot create an OpenShift application with manifest bigger than 20 kB
> ----------------------------------------------------------------------
>
> Key: JBIDE-19363
> URL: https://issues.jboss.org/browse/JBIDE-19363
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Alpha1
> Reporter: Marián Labuda
> Labels: application_wizard
>
> Cannot create an application on OpenShift on downloadable cartridge with manifest having size bigger than 20 kB. I used WildFly cartridge https://cartreflect-claytondev.rhcloud.com/github/openshift-cartridges/op... . Following error is in error log:
> {code}
> com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/domain/domainnameone/application...: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/...' could not be downloaded: The cartridge manifest at 'https://github.com/openshift-cartridges/openshift-wildfly-cartridge/blob/...' 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/application...
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month