Bug 1700182 - PVC expansion for WebUI reports cannot expand with message "Can't be greater than ."
Summary: PVC expansion for WebUI reports cannot expand with message "Can't be greater ...
Keywords:
Status: CLOSED DUPLICATE of bug 1688318
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.11.0
Hardware: x86_64
OS: All
unspecified
medium
Target Milestone: ---
: 3.11.z
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-16 05:29 UTC by Jatan Malde
Modified: 2019-04-18 13:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-18 13:18:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jatan Malde 2019-04-16 05:29:43 UTC
Description of problem:

IHAC using PVC expansion feature for `glusterfs-storage` which is working fine and they are able to expand volumes from CLI and WebUI. 

The problem occurs when they have limitranges and resourcequota (see attachments) in the project. The expansion works fine here with only CLI and reportes error from webUI when attempted with the message "Can't be greater than ."

See attachment for the error message (webconsole screenshot),

The storage aligned for the cluster is enough and there are no resource constraints. 

Similar to, 
https://github.com/openshift/origin-web-console/issues/3096

Version-Release number of selected component (if applicable):

[root@master-0 master]# oc version
oc v3.11.88
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://openshift.internal.sharedocp311cns.lab.rdu2.cee.redhat.com:443
openshift v3.11.98
kubernetes v1.11.0+d4cacc0


How reproducible:


Steps to Reproduce:
1. Configure a 3.11 cluster with dynamic storage class enabled with volumeexpansion feature.
2. Create a pvc with some small capacity.
3. Configure limitranges and resourcequota for the project 
4. Attempt expanding volume from the webUI for the created pvc.

Actual results:

Reports error when expanding pvc from the webUI

Expected results:

Expected to work proper with webUI as well when resource quota are in picture

Additional info:

Comment 5 Jan Safranek 2019-04-18 13:16:59 UTC
"storage" BZ component does not maintain GUI for volume expansion. The message comes from origin-web-console/, probably this web page: https://github.com/openshift/origin-web-console/blob/64c2a7cbf4f1bf56fe78b62abc11d8eb24ba8dec/app/views/modals/edit-pvc-resource.html#L88

Comment 6 Samuel Padgett 2019-04-18 13:18:43 UTC

*** This bug has been marked as a duplicate of bug 1688318 ***


Note You need to log in before you can comment on or make changes to this bug.