'Updates volume with new volume type.'

def retype_volume(self, volume_id, **kwargs):

    post_body = json.dumps({'os-retype': kwargs})
    (resp, body) = self.post(('volumes/%s/action' % volume_id), post_body)
    self.expected_success(202, resp.status)
