Description of problem:
Currently, LocalVolumeDiscovery result in LSO display disk size in integer bytes as resource.Quantity. We need to change the type from resource.Quanity to int64
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start LSO operator
2. Apply local volume discovery CR
3. Observe the disk size in the discovery result status.
Currently the auto discovery in LSO display disk size in integer bytes as resource.Quantity
This should be updated from resource.Quanity to int64
Hemant, can you review and merge PR? We have some UI work blocked on this.
Verify is passed with local-storage-operator.4.6.0-202008311758.p0
nvme2n1 259:6 0 3G 0 disk
`-nvme2n1p1 259:9 0 2G 0 part
oc get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
local-pv-7f35646 2Gi RWO Delete Available lvs-part 2s
- deviceID: /dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol0b71cc5533914c3b3-part1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.