Comment 2 for bug 1213275

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/42443
Committed: http://github.com/openstack/cinder/commit/8fa1fa806b36bd9a06c13b0d1255e87c6307b179
Submitter: Jenkins
Branch: master

commit 8fa1fa806b36bd9a06c13b0d1255e87c6307b179
Author: John Griffith <email address hidden>
Date: Fri Aug 16 17:12:11 2013 -0600

    Added need info to accept_transfer

    Drivers that implement accept_transfer will need
    things like the new user_id and project_id. We were
    not including this in the original add, in order for
    drivers that are tenant aware this information will be
    necessary.

    Also the get_volume call in the transfer was using
    the new user context, so the volume would never be
    found. We fix this here by providing an elevated
    context to the get_volume call when accepting the
    transfer.

    Change-Id: I7b60c19950f85c4309a97bb842ff238bcf8e746a
    Fixes: bug 1213275