[JBoss JIRA] (JBIDE-25091) Edit resource limits wizard: Duplicate value "MiB" in Memory Limit & Request
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25091?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-25091:
------------------------------------
+1
> 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.x
>
> 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:
-------------------------------------
Attachment: request-resource-limit-combo.png
> 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.x
>
> 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 commented on JBIDE-25091:
------------------------------------------
I suggest that we use "bytes" (like we use cores for CPU limits) instead of the current, erroneous value MiB. Furthermore we should - I believe - explain better what MB and MiB stand for. I therefore suggest that we do the following labelling:
!request-resource-limit-combo.png!
> 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.x
>
> 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 edited comment on JBIDE-25091 at 10/19/17 5:12 PM:
--------------------------------------------------------------------
I suggest that we use "bytes" (like we use cores for CPU limits) instead of the current, erroneous value MiB. Furthermore we should - I believe - explain better what MB and MiB stand for. I therefore suggest that we do the following labelling:
!request-resource-limit-combo.png!
[~jeffmaury] Agree?
was (Author: adietish):
I suggest that we use "bytes" (like we use cores for CPU limits) instead of the current, erroneous value MiB. Furthermore we should - I believe - explain better what MB and MiB stand for. I therefore suggest that we do the following labelling:
!request-resource-limit-combo.png!
> 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.x
>
> 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 edited comment on JBIDE-25091 at 10/19/17 4:43 PM:
--------------------------------------------------------------------
according to https://kubernetes.io/docs/concepts/configuration/manage-compute-resource... memory settings are in bytes basically. So it looks like absence of units would mean that the value is in bytes.
This is confirmed by the following 2 resource limit requests:
{code}
"resources":{
"limits":{
"memory":"512Mi"
},
"requests":{
"memory":"5"
}
},
{code}
Is accepted while the following one is refused:
{code}
"resources":{
"limits":{
"memory":"512"
},
"requests":{
"memory":"5Mi"
}
}
{code}
The error message states that the request has to be smaller or equal to the limit, which confirms that *no unit* (512) is smaller than *MiB* unit (5):
{code}
Unable to update resource limits for nodejs-mongo-persistent
Exception trying to PUT https://192.168.64.12:8443/oapi/v1/namespaces/node/deploymentconfigs/node... 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
{code}
was (Author: adietish):
according to https://kubernetes.io/docs/concepts/configuration/manage-compute-resource... memory settings are in bytes basically. So it looks like absence of units would mean that the value is in bytes.
This is confirmed by the following 2 resource limit requests:
{code}
"resources":{
"limits":{
"memory":"512Mi"
},
"requests":{
"memory":"5"
}
},
{code}
Is accepted while the following one is refused:
{code}
"resources":{
"limits":{
"memory":"512"
},
"requests":{
"memory":"5Mi"
}
}
{code}
The error message states that the request has to be smaller or equal to the limit, which confirms that *no unit* (512) is smaller than *MiB* unit (5):
{code}
Unable to update resource limits for nodejs-mongo-persistent
Exception trying to PUT https://192.168.64.12:8443/oapi/v1/namespaces/node/deploymentconfigs/node... 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
{code}
> 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.x
>
> Attachments: edit-resource-limits.png, image-2017-09-22-13-02-35-216.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