[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:42 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.
> 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
[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: resource-limits-web-console.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, 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:
------------------------------------------
the web console has an empty entry in the combo where you choose the (binary or decimal) units for your value:
!resource-limits-web-console.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, 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-25050) Prepare windows image with hyperv
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25050?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-25050:
---------------------------------------
I tried to create a snapshot from base windows image, to see if this was not caused with our script we use to create images with scripts, but did not work either. After allowing hyperv, snapshot could not boot, it always ended up in restore console.
> Prepare windows image with hyperv
> ---------------------------------
>
> Key: JBIDE-25050
> URL: https://issues.jboss.org/browse/JBIDE-25050
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: integration-tests, qa
> Affects Versions: 4.5.1.AM2
> Reporter: Ondrej Dockal
> Assignee: Ondrej Dockal
> Labels: jenkins
> Fix For: 4.5.1.Final
>
> Attachments: error.log
>
>
> Prepare windows-based images with hyperv allowed and capable of running cdk in Central-ci and add new jenkins label.
> * Provision win10-x64-jbds (as some changes were made to jbds script)
> * Install manually HyperV in fresh windows image
> * Add new virtual switch
> * Set env. variable HYPERV_VIRTUAL_SWITCH
> * Add user into Hyper-V Administrators group
> * Test whether cdk can be run on the slave
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months