Description of problem: After executing on iSCSI storage domain a 'reduceluns' command via REST API, the storage domain's size seems to remain the same, although it should be reduced. Version-Release number of selected component (if applicable): 4.2.0 How reproducible: 100% Steps to Reproduce: 1. create an iSCSI storage domain with some luns. 2. pay attention to the storage doamin's size. 3. Using the REST API, run the following: Method: ------- POST URL: ---- https://xxxx.xxxx.xxxx.com/ovirt-engine/api/storageDomains/<SD_ID>/reduceluns Body: ----- <action> <logical_units> <logical_unit id="<LUN_ID>"/> </logical_units> </action> Actual results: Size doesn't seem to be updated - same as before reducing luns. Expected results: Size should be reduces. Additional info: -
When extending a domain, GetVGInfo is called to update the information in the engine after the domain is manipulated on the storage side. It seems that this isn't done when reducing a domain, and probably should be in order to solve this BZ. While this isn't a very high priority, it seems like a relatively easy win, and if we intend to expose this action in the GUI, we'd better fix all the GUI hickups.
Update Description of problem
Tested both via REST API and 'Remove LUNs' via UI. Both update the size of the SD. Moving to VERIFIED
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.