Unfreezing dependencies
STORAGEMODEL-291 LinuxSCSIModel.get_all_scsi_block_devices: not raising exceptions on block devices without sdX device name
STORAGEMODEL-291 examples/inq/naive.py: wrapping evice handling with try/except
HOSTDEV-1740 VMwareInquiryInformationMixin.get_scsi_standard_inquiry: adapting to StandardInquiryDataBuffer
TRIVIAL more logging
HIP-1246 resize now updates the volume size as well
HIP-1251 InfinidatVolumeExists: checking if 0x83 in support inquiry pages dict, due to a weird behaviour in redhat-5
STORAGEMODEL-293
HIP-1251 previous commit did not fix it, trying again
TRIVIAL fixing SyntaxError
STORAGEMODEL-295
STORAGEMODEL-296
STORAGEMODEL-297
STORAGEMODEL-298
STORAGEMODEL-299 refactoring WindowsSCSIModel.get_all_scsi_block_devices and WindowsNativeMultipathModel.get_all_multipath_block_devices

The refactoring is to simplify the logic and make the logging more clear in cases the devices don't have all the properties we're looking for
HIP-1251
STORAGEMODEL-295 refactoring is_scsi_generic_device_online to return True if the device either responds to TUR/STD-INQ, and get_luns_from_report_luns return an empty set if the lun0 device does not exist

================================================================================

StorageModel / STORAGEMODEL-295
get_luns_from_report_luns: some devices does not return 0 in REPORT LUNS even though we sent the command to LUN0

Type:              Bug                               Status:        Resolved                   Assignee: Guy Rozendorn
Priority:          Minor                             Resolution:    Fixed                      Reporter: Guy Rozendorn
Affects Version/s:                                   Fix Version/s: 0.2.30
Components:                                                                                    Created: 2014-09-03 22:04
Labels:                                                                                        Updated: 2014-09-03 22:06

Issue Links:
urelates to           STORAGEMODEL-291 Resolved        inq script sample raises an exception at Fidelity due to bad IBM devices

urelates to           CS-536          Resolved        get output of powertools' scsi_commands script from Fidelity on Windows and Linux and check that we have no other issues with the IBM FlashSystem

Sub-Tasks:

Description:
None

Comments:
TRIVIAL fixing syntax error
STORAGEMODEL-299 fixing AttributeError

Traceback (most recent call last):
  File "C:\Jenkins\workspace\storagemodel\src\infi\storagemodel\examples\tests.py", line 15, in test_devlist_runs
    devlist()
  Local variables:
    'devlist': <function devlist at 0x0000000002CDABA8>
    'self': <infi.storagemodel.examples.tests.ExamplesTestCase testMethod=test_devlist_runs>
  File "C:\Jenkins\workspace\storagemodel\src\infi\storagemodel\examples\__init__.py", line 12, in devlist
    non_mp_devices = model.get_native_multipath().filter_non_multipath_scsi_block_devices(scsi_block_devices)
  Local variables:
    'get_storage_model': <function get_storage_model at 0x0000000002C80358>
    'mp_devices': []
    'scsi_block_devices': [<SCSIBlockDevice: \\?\GLOBALROOT\Device\0000004b for <SCSIDevice \\?\GLOBALROOT\Device\0000004b for PHYSICALDRIVE0 (<unknown-scsi-serial-number>)>>]
    'model': <infi.storagemodel.windows.WindowsStorageModel object at 0x00000000031BA0F0>
    'infinibox_vid_pid': ('NFINIDAT', 'InfiniBox')
  File "C:\Jenkins\workspace\storagemodel\src\infi\storagemodel\windows\native_multipath.py", line 60, in filter_non_multipath_scsi_block_devices
    return filter(lambda device: not is_disk_drive_managed_by_windows_mpio(device), scsi_block_devices)
  Local variables:
    'scsi_block_devices': [<SCSIBlockDevice: \\?\GLOBALROOT\Device\0000004b for <SCSIDevice \\?\GLOBALROOT\Device\0000004b for PHYSICALDRIVE0 (<unknown-scsi-serial-number>)>>]
    'self': <infi.storagemodel.windows.native_multipath.WindowsNativeMultipathModel object at 0x0000000003270F98>
  File "C:\Jenkins\workspace\storagemodel\src\infi\storagemodel\windows\native_multipath.py", line 60, in <lambda>
    return filter(lambda device: not is_disk_drive_managed_by_windows_mpio(device), scsi_block_devices)
  Local variables:
    'device': <SCSIBlockDevice: \\?\GLOBALROOT\Device\0000004b for <SCSIDevice \\?\GLOBALROOT\Device\0000004b for PHYSICALDRIVE0 (<unknown-scsi-serial-number>)>>
  File "C:\Jenkins\workspace\storagemodel\src\infi\storagemodel\windows\device_helpers.py", line 9, in is_disk_drive_managed_by_windows_mpio
    return disk_drive.parent._instance_id.lower() == MPIO_BUS_DRIVER_INSTANCE_ID
  Local variables:
    'disk_drive': <SCSIBlockDevice: \\?\GLOBALROOT\Device\0000004b for <SCSIDevice \\?\GLOBALROOT\Device\0000004b for PHYSICALDRIVE0 (<unknown-scsi-serial-number>)>>
AttributeError: 'WindowsSCSIBlockDevice' object has no attribute 'parent'
HIP-1251 fixing previous commit for this issue