Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybind: add ceph_volume_client interface for Manila and similar frameworks #6205

Merged
merged 13 commits into from Jan 20, 2016

Commits on Jan 5, 2016

  1. pybind: allow CephFS constructor to take ID

    For those folks who aren't running as 'admin'.  We
    already allow this at the C layer, it was just left
    out of the python binding.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    e3b9477 View commit details
    Browse the repository at this point in the history
  2. CMake: link libcephfs the same as librados

    Things got weird (tcmalloc exceptions) if one used
    both libraries from the same process, presumably
    because of some of these dependencies.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    c28492a View commit details
    Browse the repository at this point in the history
  3. pybind: add LibCephFS.create_with_rados

    Enable setting up cephfs while borrowing
    the CephContext from an already-set-up
    rados python client.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    fc9a0b1 View commit details
    Browse the repository at this point in the history
  4. libcephfs: add ceph_create_from_rados

    This is for applications that want to use
    librados and libcephfs in the same process,
    without trying to have two CephContexts
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    3fe9d10 View commit details
    Browse the repository at this point in the history
  5. pybind: add ceph_volume_client

    This is for FSaaS interfaces like Manila.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    aebce4b View commit details
    Browse the repository at this point in the history
  6. CMake: add libcephfs to cephfs_testing target

    Tests for VolumeClient will use this.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    b21e43e View commit details
    Browse the repository at this point in the history
  7. pybind: fix mkdir_p in ceph_volume_client

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    4557349 View commit details
    Browse the repository at this point in the history
  8. pybind: volumeclient fixes

    Generalize authorization so that an ID can be authorized
    for multiple shares.
    
    Remove commented blocks.
    
    Separate purge from delete.  Up to the caller to background
    the purge part.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    764be6f View commit details
    Browse the repository at this point in the history
  9. pybind/cephfs: exception on extra init args

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    d72ab0e View commit details
    Browse the repository at this point in the history
  10. pybind: stray comment in volumeclient

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    a2de0db View commit details
    Browse the repository at this point in the history
  11. pybind: minor fixes to volumeclient

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    c665bf3 View commit details
    Browse the repository at this point in the history
  12. mds: fix tell session evict

    Don't try waiting on empty context gatherbuilder.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    1ec0099 View commit details
    Browse the repository at this point in the history
  13. pkg: add ceph_volume_client to python-cephfs

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Jan 5, 2016
    Copy the full SHA
    9d10efb View commit details
    Browse the repository at this point in the history