IBM / ubiquity

Ubiquity
Apache License 2.0
90 stars 26 forks source link

Fix/ub 1103 ds8k storwize lun0 rescan #264

Closed yixuan0825 closed 5 years ago

yixuan0825 commented 5 years ago

I have tried to use the below command to scan Lun0 as the design: echo "1" > /sys/class/fc_host/$i/issue_lip echo '- - -' >/sys/class/scsi_host/host*/scan But It doesn't work with exec.command. So I use ioutil.WriteFile to scan the lun0. I have test with the branch, and it works well. The CI with this branch is ongoing.


This change is Reviewable

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-2.0%) to 50.0% when pulling 2a19e60835ebe2471d192d4f6fc5782132710f2f on fix/UB-1103_ds8k_storwize_lun0_rescan into eef6f1dbc6707425a6b4b56a76d3b9029f01c83e on master.