[Kimchi-devel] [PATCH V2 5/7] (WIP) Storagepool SCSI/FC: Implement UI when a FC scsi_host will be the pool

Crístian Viana vianac at linux.vnet.ibm.com
Fri Jan 31 12:48:32 UTC 2014


Am 30-01-2014 22:26, schrieb Rodrigo Trujillo:
> On 01/30/2014 11:46 AM, Crístian Viana wrote:
>> Am 23-01-2014 22:29, schrieb Rodrigo Trujillo:
>>> - kimchi.listHostPartitions(function(data) {
>>> +    kimchi.listFCHosts(function(data){
>> You need to pass another function to "listFCHosts" which will handle 
>> the error. Currently, if the fiber channel hosts cannot be listed, 
>> nothing will happen on the UI.
>
> But thats the idea ... if no scsi fc_hosts are found, the UI shows 
> nothing
One case is when there are no SCSI hosts (which is correctly verified by 
"if (data.length > 0)"); another case is when there is an error while 
trying to list those hosts (which it would be useful to show that 
something wrong happened).




More information about the Kimchi-devel mailing list