winterhazel commented on PR #14192:
URL: https://github.com/apache/cloudstack/pull/14192#issuecomment-7099896423

   > > > Overall it looks good. A single remark before approving: could you 
check whether live ONTAP LUNs are undesirably classified as stale and detached 
when the agent property `iscsi.session.cleanup.enabled` is true? We may need to 
adapt `IscsiStorageCleanupMonitor.java` to consider the ONTAP LUNs as well.
   > > 
   > > 
   > > @winterhazel That a great catch and I have already drafted a mail for 
the same which I will send it in now to dev community. Current implementation 
IscsiStorageCleanupMonitor will actually mark the active Ontap luns to be 
marked for cleanup as it matched with "by-path" regex. We need to write code if 
user has configured scsi.session.cleanup.enabled as true. Could you please 
reply to the mail about your thought ? I feel current logic in 
IscsiStorageCleanupMonitor matching "by-path" with libvirt source dev should be 
changed and OUI of vendor should checked for cleanup.
   > 
   > @winterhazel I was able to reproduce this issue where active ONTAP luns 
iscsi session were logged out once I set the iscsi.session.cleanup.enabled flag 
as true. I have started on fixing that code. A subsequent PR will be raised in 
somedays. Do you have any more feedback on this PR apart from this ?
   
   > @winterhazel do you have any further feedback/recommendations or we can 
merge this? Thank you!
   
   @RosiKyu @piyush5netapp we can merge this one. It looks good. The iSCSI 
cleanup issue will be addressed in a separate PR, as it is not specific to 
ONTAP.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to