Description of problem: It is not possible to create pool in imported cluster. Error message: Error getting the ruleset for cluster: ceph_ansible Version-Release number of selected component (if applicable): calamari node: ceph-base-10.2.2-16.el7cp.x86_64 ceph-common-10.2.2-16.el7cp.x86_64 ceph-mon-10.2.2-16.el7cp.x86_64 ceph-release-1-1.el7.noarch ceph-selinux-10.2.2-16.el7cp.x86_64 libcephfs1-10.2.2-16.el7cp.x86_64 python-cephfs-10.2.2-16.el7cp.x86_64 rhscon-agent-0.0.13-1.el7scon.noarch console node: ceph-ansible-1.0.5-25.el7scon.noarch ceph-installer-1.0.12-4.el7scon.noarch rhscon-ceph-0.0.31-1.el7scon.x86_64 rhscon-core-0.0.32-1.el7scon.x86_64 rhscon-core-selinux-0.0.32-1.el7scon.noarch rhscon-ui-0.0.46-1.el7scon.noarch How reproducible: 100% Steps to Reproduce: 1. create cluster by ceph-ansible 2. import cluster 3. try to create pool Actual results: Expected results: Additional info:
Created attachment 1179102 [details] monitor log and etc
Crushmap: # begin crush map tunable choose_local_tries 0 tunable choose_local_fallback_tries 0 tunable choose_total_tries 50 tunable chooseleaf_descend_once 1 tunable chooseleaf_vary_r 1 tunable straw_calc_version 1 # devices device 0 osd.0 device 1 osd.1 device 2 osd.2 device 3 osd.3 # types type 0 osd type 1 host type 2 chassis type 3 rack type 4 row type 5 pdu type 6 pod type 7 room type 8 datacenter type 9 region type 10 root # buckets host dhcp46-20 { id -2 # do not change unnecessarily # weight 0.098 alg straw hash 0 # rjenkins1 item osd.0 weight 0.098 } host dhcp46-16 { id -3 # do not change unnecessarily # weight 0.098 alg straw hash 0 # rjenkins1 item osd.3 weight 0.098 } host dhcp46-18 { id -4 # do not change unnecessarily # weight 0.098 alg straw hash 0 # rjenkins1 item osd.2 weight 0.098 } host dhcp46-14 { id -5 # do not change unnecessarily # weight 0.098 alg straw hash 0 # rjenkins1 item osd.1 weight 0.098 } root default { id -1 # do not change unnecessarily # weight 0.390 alg straw hash 0 # rjenkins1 item dhcp46-20 weight 0.098 item dhcp46-16 weight 0.098 item dhcp46-18 weight 0.098 item dhcp46-14 weight 0.098 } # rules rule replicated_ruleset { ruleset 0 type replicated min_size 1 max_size 10 step take default step chooseleaf firstn 0 type host step emit } # end crush map
Tested with ceph-ansible-1.0.5-32.el7scon.noarch ceph-installer-1.0.14-1.el7scon.noarch rhscon-ceph-0.0.40-1.el7scon.x86_64 rhscon-core-0.0.41-1.el7scon.x86_64 rhscon-core-selinux-0.0.41-1.el7scon.noarch rhscon-ui-0.0.52-1.el7scon.noarch and it works.