Merge "Move common Ceph function to Ceph class"