]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rados.py: fix create_pool() 210/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 5 Apr 2013 13:55:34 +0000 (15:55 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 9 Apr 2013 09:47:27 +0000 (11:47 +0200)
commit9fe57e2bea89243a0080e667f90b7d4fb15ed883
tree90d4381519898b9eefc97be36b0e3dac060c74ca
parent1f3b4917cc5c4d796a96637912d2ae5ce2877861
rados.py: fix create_pool()

Call rados_pool_create_with_all() only if auid and crush_rule
are set properly. In case only crush_rule is set call
rados_pool_create_with_crush_rule() on librados, not the other
way around.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 94a1f25e7230a700f06a2699c9c2b99ec1bf7144)
src/pybind/rados.py