Description of problem: When create storage from web console, in the size box, input decimal, eg, 1.2, the colour of box will turn red, and create button is disabled. However CLI could create with decimal values. Version-Release number of selected component (if applicable): v3.7.0-0.125.0 How reproducible: always Steps to Reproduce: 1.Login in web console, on create storage page, in put name, input 1.2 in size box, try to create storage. 2.In client ,create pvc with decimal in size. $ oc create -f pvc-one.json persistentvolumeclaim "myclaim-one" created $cat pvc-one.json { "apiVersion": "v1", "kind": "PersistentVolumeClaim", "metadata": { "name": "myclaim-one" }, "spec": { "accessModes": [ "ReadWriteOnce" ], "resources": { "requests": { "storage": "1.2Gi" } } } } 3. Actual results: 1. Create button is disabled, and no error info showing. 2. Storage is created successfully. Expected results: 1.Should keep consistent with client when create storage. If plan to forbid decimal, error info should display. Additional info:
https://github.com/openshift/origin-web-console/pull/2074
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/0eabd02cbee86741c60486e22f9489c9c166c2d8 Bug 1491495 - Allow decimals in some number inputs Change compute resources and storage amount inputs to accept decimals.
Checked on v3.7.0-0.188.0 Now compute-resource and pvc number input supports decimal values on web console Move to VERIFIED