[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Attachment: error-limit-must-be-equal-or-greater-than-request.png
> Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, error-limit-must-be-equal-or-greater-than-request.png, image-2017-09-22-13-02-35-216.png, memory-limit-limit.png, memory-request-limit.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Description:
When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
!edit-resource-limits.png!
You can have setting the limits error inexplicably in the following way:
# ASSERT: make sure that you have an application with a service, replication controller/deployment config running in OpenShift (ex. create one using the nodejs-mongo-persistent template)
# EXEC: in OpenShift explorer: select the service for your application and pick "Edit resource limit" in the context menu for it
# ASSERT: "Edit resource limit" dialog shows up
# EXEC: set Memory > Request to 128 and pick the 1st MiB entry in the combo
!memory-request-limit.png!
# EXEC: set Memory > Limit to 512 and pick the 2nd MiB entry in the combo
!memory-limit-limit.png!
# EXEC: "Finish" the wizard
Result:
The wizard errors telling you that the limit must be equal or greater than the request:
!error-limit-must-be-equal-or-greater-than-request.png!
In the Eclipse log you find the following:
{code}
com.openshift.restclient.OpenShiftException: Exception trying to PUT https://192.168.64.12:8443/oapi/v1/namespaces/nodejs/deploymentconfigs/no... response code: 422 DeploymentConfig "nodejs-mongo-persistent" is invalid: spec.template.spec.containers[0].resources.limits: Invalid value: "512": must be greater than or equal to memory request
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:114)
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
at okhttp3.RealCall.execute(RealCall.java:57)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:258)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:222)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:210)
at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:316)
at org.jboss.tools.openshift.core.connection.Connection.updateResource(Connection.java:451)
at org.jboss.tools.openshift.internal.ui.wizard.common.EditResourceLimitsHandler$EditResourceLimitsWizard$1.run(EditResourceLimitsHandler.java:117)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
was:
When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
!edit-resource-limits.png!
> Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, error-limit-must-be-equal-or-greater-than-request.png, image-2017-09-22-13-02-35-216.png, memory-limit-limit.png, memory-request-limit.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
> You can have setting the limits error inexplicably in the following way:
> # ASSERT: make sure that you have an application with a service, replication controller/deployment config running in OpenShift (ex. create one using the nodejs-mongo-persistent template)
> # EXEC: in OpenShift explorer: select the service for your application and pick "Edit resource limit" in the context menu for it
> # ASSERT: "Edit resource limit" dialog shows up
> # EXEC: set Memory > Request to 128 and pick the 1st MiB entry in the combo
> !memory-request-limit.png!
> # EXEC: set Memory > Limit to 512 and pick the 2nd MiB entry in the combo
> !memory-limit-limit.png!
> # EXEC: "Finish" the wizard
> Result:
> The wizard errors telling you that the limit must be equal or greater than the request:
> !error-limit-must-be-equal-or-greater-than-request.png!
> In the Eclipse log you find the following:
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to PUT https://192.168.64.12:8443/oapi/v1/namespaces/nodejs/deploymentconfigs/no... response code: 422 DeploymentConfig "nodejs-mongo-persistent" is invalid: spec.template.spec.containers[0].resources.limits: Invalid value: "512": must be greater than or equal to memory request
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:114)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
> at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
> at okhttp3.RealCall.execute(RealCall.java:57)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:258)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:222)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:210)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:316)
> at org.jboss.tools.openshift.core.connection.Connection.updateResource(Connection.java:451)
> at org.jboss.tools.openshift.internal.ui.wizard.common.EditResourceLimitsHandler$EditResourceLimitsWizard$1.run(EditResourceLimitsHandler.java:117)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Attachment: memory-limit-limit.png
> Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.png, memory-limit-limit.png, memory-request-limit.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Attachment: memory-request-limit.png
> Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.png, memory-request-limit.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBTIS-1107) Revision of JBTIS-758, it fails only on fedora24
by Tomáš Sedmík (JIRA)
[ https://issues.jboss.org/browse/JBTIS-1107?page=com.atlassian.jira.plugin... ]
Tomáš Sedmík closed JBTIS-1107.
-------------------------------
Resolution: Out of Date
Fedora 24 is no longer supported => closing as out of date
> Revision of JBTIS-758, it fails only on fedora24
> ------------------------------------------------
>
> Key: JBTIS-1107
> URL: https://issues.jboss.org/browse/JBTIS-1107
> Project: JBoss Tools Integration Stack
> Issue Type: Task
> Components: Fuse IDE, QE
> Affects Versions: 4.4.3.Final
> Reporter: Dominik Jelinek
> Assignee: Andrej Podhradsky
>
> JBTIS-758: Add test for collapse/expand feature in Camel Editor
> * test passed on fedora25, win10 and mac, but only on fedora24 (verification job) it still fails
> the verification job has failed due to
> {code:java}
> Error Message
> expected:<34> but was:<228>
> Stacktrace
> java.lang.AssertionError: expected:<34> but was:<228>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:645)
> at org.junit.Assert.assertEquals(Assert.java:631)
> at org.jboss.tools.fuse.ui.bot.test.CamelEditorTest.testCollapseExpandFeature(CamelEditorTest.java:291)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Summary: Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors (was: Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request)
> Edit resource limits wizard: setting memory resource limits (using duplicate MiB entries) errors
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Priority: Major (was: Minor)
> Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
> ----------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim reassigned JBIDE-25091:
----------------------------------------
Story Points: 4
Sprint: devex #140 November 2017
Assignee: Andre Dietisheim
> Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
> ----------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Assignee: Andre Dietisheim
> Priority: Minor
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25091:
-------------------------------------
Fix Version/s: 4.5.1.Final
(was: 4.5.x)
> Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
> ----------------------------------------------------------------------------
>
> Key: JBIDE-25091
> URL: https://issues.jboss.org/browse/JBIDE-25091
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Josef Kopriva
> Priority: Minor
> Labels: edit_resource_limits_wizard, openshift_v3
> Fix For: 4.5.1.Final
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.png, request-resource-limit-combo.png, resource-limits-web-console.png
>
>
> When editing memory settings in dialog "Edit resource limits", there is a duplicate value MiB in the Combos for Memory > "Request" and Memory > "Limit":
> !edit-resource-limits.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months