@check_instance_cell
    def _attach_volume(self, context, instance, volume_id, device,
                       disk_bus, device_type):
        volume = self.volume_api.get(context, volume_id)
        self.volume_api.check_attach(context, volume, instance=instance)

        return self._call_to_cells(context, instance, 'attach_volume',
                volume_id, device, disk_bus, device_type)
using --sampling with the mask should snap coordinates to the nearest
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/compute/cells_api.py/ComputeCellsAPI._attach_volume--crossover with--dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_features.py/test_shapes_mask_sampling