{"push_id":605286795,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"5f40a1b2d3f0d6473842d87b71235c5ca63dd0a2","before":"0a6a035d5956b2e74e40109b7150cacd5de77262","commits":[{"sha":"5f40a1b2d3f0d6473842d87b71235c5ca63dd0a2","author":{"email":"d4c56c5ef84f261e3e5fe926ed922b55e0290a0e@intel.com","name":"Chendi.Xue"},"message":"Provide osd devices in yaml\n\nadd a check in setup_fs, if user specify the osd devices in yaml,\nwill deploy osd on those device instead of /dev/disk/by-partlabel/osd-device-%s-data\n\nExample:\n=== runtest.xfs.yaml ===\ncluster:\n  osds: [cceph01, cceph02]\n  cceph01: [/dev/sda1, /dev/sdb1, /dev/sdc1, /dev/sdd1, /dev/sde1, /dev/sdf1, /dev/sdg1,/dev/sdh1]\n  cceph02: [/dev/sda1, /dev/sdb1, /dev/sdc1, /dev/sdd1, /dev/sde1, /dev/sdf1, /dev/sdg1,/dev/sdh1]\n\n=== deploy log ===\n['/dev/sda1', '/dev/sdb1', '/dev/sdc1', '/dev/sdd1', '/dev/sde1', '/dev/sdf1', '/dev/sdg1', '/dev/sdh1']\npdsh: ['pdsh', '-R', 'ssh', '-w', 'root@cceph01', 'sudo umount /dev/sda1']\npdsh: ['pdsh', '-R', 'ssh', '-w', 'root@cceph01', 'sudo rm -rf /tmp/cbt/mnt/osd-device-0-data']\npdsh: ['pdsh', '-R', 'ssh', '-w', 'root@cceph01', 'sudo mkdir -p -m0755 -- /tmp/cbt/mnt/osd-device-0-data']\npdsh: ['pdsh', '-R', 'ssh', '-w', 'root@cceph01', 'sudo mkfs.xfs -f -i size=2048 -n size=64k /dev/sda1']\npdsh: ['pdsh', '-R', 'ssh', '-w', 'root@cceph01', 'sudo mount -o inode64,noatime,logbsize=256k -t xfs /dev/sda1 /tmp/cbt/mnt/osd-device-0-data']\n...\n\nIf not specify the osd device, will follow the original way using device /dev/disk/by-partlabel/osd-device-%s-data\n\nSigned-off-by: Chendi.Xue <chendi.xue@intel.com>","distinct":true,"url":"https://api.github.com/repos/xuechendi/cbt/commits/5f40a1b2d3f0d6473842d87b71235c5ca63dd0a2"}]}