668
668
def create_volume(self, context, **kwargs):
670
670
if kwargs.get('snapshot_id') != None:
671
671
snapshot_id = ec2utils.ec2_id_to_id(kwargs['snapshot_id'])
675
676
LOG.audit(_("Create volume of %s GB"), size, context=context)
677
678
volume = self.volume_api.create(