The CloudByte driver is reading the parent's volume id from the
new volume's source_volid. There are some cases when this isn't set.
The source volume object/dict is passed in, so just access the id
from there.
Change-Id: If6d3f50d11e36434e194a355e874d44f9d79f553
Closes-Bug:
1491206
"""
# Extract necessary information from input params
- parent_volume_id = cloned_volume.get('source_volid')
+ parent_volume_id = src_volume.get('id')
# Generating id for snapshot
# as this is not user entered in this particular usecase