Description of problem: When extending a storage domain with a lun that has an old pv on it, the information of the old pv is saved in the db instead of the information of the new pv. Version-Release number of selected component (if applicable): a3d282f36d2a1fd9f8295d9d492f43109c7ef9c5 How reproducible: 100% Steps to Reproduce: 1. Have an iSCSI target of at least two luns and create a storage domain from the whole target. 2. Destroy the storage domain. 3. Create a storage domain from one of the luns. 4. Extend the storage domain with the other lun. Actual results: The other lun's information in the db is not the same as the new lun's information but as the old one's. For example, the physical volume id is the old lun's pv id and not the new one. Expected results: The information in the db should be identical to the information in the storage.
What I explained in the "Description of problem" was only partially right. When extending a storage domain with ANY lun, we save the old lun's information in the db. So this bug occurs not only with luns that previously had a pv on them. That is, if a lun had no pv on it before, we will save its pv id as null.
Idan, please add some doctext to this BZ.
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Verified with the following code: --------------------------------------- ovirt-engine-4.1.0-0.2.master.20161212172238.gitea103bd.el7.centos.noarch vdsm-4.18.999-1147.git951e122.el7.centos.x86_64 Verified with the following scenario: --------------------------------------- Steps to Reproduce: 1. Have an iSCSI target of at least two luns and create a storage domain from the whole target. 2. Destroy the storage domain. 3. Create a storage domain from one of the luns. 4. Extend the storage domain with the other lun. Actual results: All information is updated for the new LUN Expected results: Moving to VERIFIED!