def _get_volume_instance(self, volume):
        try:
            pl = eval(volume.provider_location)
        except (SyntaxError, ValueError, TypeError):
            LOG.warning("Invalid provider location for volume '%s'",
                        volume.id)
            return None

        try:
            return pywbem.CIMInstanceName(
                classname=pl['classname'],
                namespace=EMC_ROOT,
                keybindings=pl['keybindings'])
        except __HOLE__:
            LOG.warning("Unable to get volume instance from EMC ECOM")
            return None
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/storage/plugins/iscsi/emc_vmax.py/EMCConnector._get_volume_instance