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): How reproducible: Steps to Reproduce: 1. Start LSO operator 2. Apply local volume discovery CR 3. Observe the disk size in the discovery result status. Actual results: Currently the auto discovery in LSO display disk size in integer bytes as resource.Quantity Expected results: This should be updated from resource.Quanity to int64 Additional info:
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 fstype: ext4 model: "" path: /dev/nvme2n1p1 property: NonRotational serial: "" size: 2147483648 status: state: NotAvailable type: part vendor: ""
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. https://access.redhat.com/errata/RHBA-2020:4196
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days