def volume_update_db(context, volume_id, host):
 now = timeutils.utcnow()
 values = {'host': host, 'scheduled_at': now}
 return db.volume_update(context, volume_id, values)

def volume_update_db ( context , volume_id , host ) : now = timeutils . utcnow ( ) values = { 'host' : host , 'scheduled_at' : now } return db . volume_update ( context , volume_id , values )
set the host .