You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def get_vslm_id(self, volume_id, datastore, storage):
"""
Gets the VSLM ID
Args:
volume_id (str): Volume ID
datastore (vim.Datastore): Datastore instance
storage (vim.vslm.vcenter.VStorageObjectManager): vStorageObjectManager
Returns:
vim.vslm.ID
Raises:
VSLMNotFoundException: In case VSLM not found
"""
vslms = storage.ListVStorageObject(datastore)
for vslm in vslms:
if vslm.id == volume_id:
return vslm
else:
logger.error(f"vslm not found for volume {volume_id}")
raise VSLMNotFoundException
E ocs_ci.ocs.exceptions.VSLMNotFoundException
I did a basic analysis and found out that below expectation in the code is not meeting.
if vslm.id == volume_id:
The text was updated successfully, but these errors were encountered:
When you run the device replacement tests on LSO cluster, I got the below error:
I did a basic analysis and found out that below expectation in the code is not meeting.
The text was updated successfully, but these errors were encountered: