rbd image creation command hangs. 1. Configured ceph cluster on AWS environment, CEPH Jewel Ver.10.2.2 on CentOS Linux release 7.2.1511 (Core).2. Created 6 OSDs (SSDs Drives) on each OSD Node (3 OSD Nodes). Total 24 OSDs across cluster.3. Edited crush map by picking each SSD disk from each OSD Node. and written a rule.4. Created a pool with specific crush rule.5. while creating rbd image on created pool with specific crush rule. rbd image command hangs and no further operations happening. Note: Able to create an rbd image with default rule set. Crush Map Details:===============# begin crush maptunable choose_local_tries 0tunable choose_local_fallback_tries 0tunable choose_total_tries 50tunable chooseleaf_descend_once 1tunable chooseleaf_vary_r 1tunable straw_calc_version 1 # devicesdevice 0 osd.0device 1 osd.1device 2 osd.2:::device 22 osd.22device 23 osd.23# typestype 0 osdtype 1 hosttype 2 chassistype 3 racktype 4 rowtype 5 pdutype 6 podtype 7 roomtype 8 datacentertype 9 regiontype 10 root # bucketshost siteAosd { id -2 # do not change unnecessarily # weight 3.793 alg straw hash 0 # rjenkins1 item osd.0 weight 0.632 item osd.1 weight 0.632 item osd.2 weight 0.632 item osd.3 weight 0.632 item osd.4 weight 0.632 item osd.5 weight 0.632}host siteBosd { id -3 # do not change unnecessarily # weight 3.793 alg straw hash 0 # rjenkins1 item osd.6 weight 0.632 item osd.7 weight 0.632 item osd.8 weight 0.632 item osd.9 weight 0.632 item osd.14 weight 0.632 item osd.15 weight 0.632}host siteCosd1 { id -4 # do not change unnecessarily # weight 3.793 alg straw hash 0 # rjenkins1 item osd.10 weight 0.632 item osd.11 weight 0.632 item osd.12 weight 0.632 item osd.13 weight 0.632 item osd.16 weight 0.632 item osd.17 weight 0.632}host siteCosd2 { id -5 # do not change unnecessarily # weight 3.793 alg straw hash 0 # rjenkins1 item osd.18 weight 0.632 item osd.19 weight 0.632 item osd.20 weight 0.632 item osd.21 weight 0.632 item osd.22 weight 0.632 item osd.23 weight 0.632}root default { id -1 # do not change unnecessarily # weight 15.170 alg straw hash 0 # rjenkins1 item siteAosd weight 3.793 item siteBosd weight 3.793 item siteCosd1 weight 3.793 item siteCosd2 weight 3.793}root test { id -11 # do not change unnecessarily # weight 0.000 alg straw hash 0 # rjenkins1 item osd.5 weight 0.632 item osd.15 weight 0.632 item osd.17 weight 0.632 item osd.23 weight 0.632}rule test1 { ruleset 5 type replicated min_size 1 max_size 10 step take sds4 step chooseleaf firstn 1 type host step emit} A. Creating a rbd image with default ruleset: [sdsuser@admin cluster]$ ceph osd pool create pool-a 256 256pool 'pool-a' created[sdsuser@admin cluster]$ ceph osd dump | grep pool-apool 30 'pool-a' replicated size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 256 pgp_num 256 last_change 923 flags hashpspool stripe_width 0[sdsuser@admin cluster]$ rbd create --image pool-a/image-a --size 5G --image-feature layering[sdsuser@admin cluster]$ rbd -p pool-a lsimage-a B. Creating a rbd image with specific crush ruleset. [sdsuser@admin cluster]$ ceph osd pool set pool-a crush_ruleset 5set pool 30 crush_ruleset to 5[sdsuser@admin cluster]$ ceph osd dump | grep pool-apool 30 'pool-a' replicated size 2 min_size 1 crush_ruleset 5 object_hash rjenkins pg_num 256 pgp_num 256 last_change 927 flags hashpspool stripe_width 0[sdsuser@admin cluster]$ rbd create --image pool-a/image-b --size 5G --image-feature layering Here the command hangs at this stage. No further operations happening either with error/success message not seen."The above issue was observed in CentOS 7.2 with specific crush rule set not with default crush rule on AWS environment." Whereas the same procedure above at my local setup. with same CEPH Jewel Ver.10.2.2 on RHEL 7.2 (maipo)able to create rbd image without any issues on specific crush rule set. What could be the issues? please any reasons behind this issue? --Rakesh Parkiti
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com