)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"f9a602586cd49e40fca6e13b9bf7839811216634","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Initialize OSDs with a crush weight of 0."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When ceph-client chart runs this will automatically weight the OSDs appropriately based on reported disk size."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I9f4080a9843f1a63564cf71154841b351382bfe2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"3f79a3b5_7628daec","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":110},"updated":"2018-10-16 17:50:26.000000000","message":"can we trim this to be \u003e80 chars.","commit_id":"1f917658cda0d2ee48a3ca7db87a37803144a755"}],"ceph-client/templates/bin/pool/_init.sh.tpl":[{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"2bc57ce63e436dc3ceb4d23f6bd66b46cf7d3ec9","unresolved":false,"context_lines":[{"line_number":38,"context_line":"fi"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"function reweight_osds () {"},{"line_number":41,"context_line":"  for OSD_ID in $(ceph --cluster \"${CLUSTER}\" osd df | awk \u0027$3 \u003d\u003d \"0\" {print $1}\u0027); do "},{"line_number":42,"context_line":"    OSD_WEIGHT\u003d$(ceph --cluster \"${CLUSTER}\" osd df | awk -v OSD\u003d\"$OSD_ID\" \u0027$1 \u003d\u003d OSD { gsub(\"M\",\"\"); d\u003d $5/1048576 ; r \u003d sprintf(\"%.2f\", d); print r }\u0027);"},{"line_number":43,"context_line":"    ceph --cluster ${CLUSTER}\" osd crush reweight osd.${OSD_ID} ${OSD_WEIGHT};"},{"line_number":44,"context_line":"  done"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"3f79a3b5_4423ccbb","line":41,"range":{"start_line":41,"start_character":86,"end_line":41,"end_character":87},"updated":"2018-10-15 14:31:02.000000000","message":"please remove whitespaces","commit_id":"ef9476e0562447693130d3fd0d2cb386aaba0741"},{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"dad9c6d81b4ca25688611c0c6a6c0c3c469032e1","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  TOTAL_DATA_PERCENT\u003d$5"},{"line_number":77,"context_line":"  TARGET_PG_PER_OSD\u003d$6"},{"line_number":78,"context_line":"  POOL_CRUSH_RULE\u003d$7"},{"line_number":79,"context_line":"  POOL_PLACEMENT_GROUPS\u003d$(/tmp/pool-calc.py ${POOL_REPLICATION} ${TOTAL_OSDS} ${TOTAL_DATA_PERCENT} ${TARGET_PG_PER_OSD})"},{"line_number":80,"context_line":"  reweight_osds"},{"line_number":81,"context_line":"  create_pool \"${POOL_APPLICATION}\" \"${POOL_NAME}\" \"${POOL_REPLICATION}\" \"${POOL_PLACEMENT_GROUPS}\" \"${POOL_CRUSH_RULE}\""},{"line_number":82,"context_line":"}"}],"source_content_type":"text/x-smarty","patch_set":5,"id":"3f79a3b5_d0bea862","line":79,"range":{"start_line":79,"start_character":2,"end_line":79,"end_character":23},"updated":"2018-10-16 02:03:41.000000000","message":"this  is one time activity so lets call it below  below # L88","commit_id":"62f5ef32b98e12c04b41ccf71ceb1e8326d274a6"}],"ceph-osd/templates/bin/osd/_directory.sh.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"f9a602586cd49e40fca6e13b9bf7839811216634","unresolved":false,"context_lines":[{"line_number":71,"context_line":"  # init data directory"},{"line_number":72,"context_line":"  ceph-osd -i ${OSD_ID} --mkfs --osd-uuid ${UUID} --mkjournal --osd-journal ${OSD_J} --setuser ceph --setgroup ceph"},{"line_number":73,"context_line":"  # add the osd to the crush map"},{"line_number":74,"context_line":"  # set the initial crush weight of the OSD to 0 to prevent automatic rebalancing (supamatt)"},{"line_number":75,"context_line":"  OSD_WEIGHT\u003d0"},{"line_number":76,"context_line":"  ceph --name\u003dosd.${OSD_ID} --keyring\u003d${OSD_KEYRING} osd crush create-or-move -- ${OSD_ID} ${OSD_WEIGHT} ${CRUSH_LOCATION}"},{"line_number":77,"context_line":"fi"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":8,"id":"3f79a3b5_9606d684","line":75,"range":{"start_line":74,"start_character":0,"end_line":75,"end_character":14},"updated":"2018-10-16 17:50:26.000000000","message":"nit: Can we use the format:\n`NOTE(supamatt): foo`\nfor these.","commit_id":"1f917658cda0d2ee48a3ca7db87a37803144a755"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"8a3306dd850b23bb6ef624d5352de29bc35366cc","unresolved":false,"context_lines":[{"line_number":71,"context_line":"  # init data directory"},{"line_number":72,"context_line":"  ceph-osd -i ${OSD_ID} --mkfs --osd-uuid ${UUID} --mkjournal --osd-journal ${OSD_J} --setuser ceph --setgroup ceph"},{"line_number":73,"context_line":"  # add the osd to the crush map"},{"line_number":74,"context_line":"  # NOTE(supamatt): set the initial crush weight of the OSD to 0 to prevent automatic rebalancing"},{"line_number":75,"context_line":"  OSD_WEIGHT\u003d0"},{"line_number":76,"context_line":"  ceph --name\u003dosd.${OSD_ID} --keyring\u003d${OSD_KEYRING} osd crush create-or-move -- ${OSD_ID} ${OSD_WEIGHT} ${CRUSH_LOCATION}"},{"line_number":77,"context_line":"fi"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":9,"id":"3f79a3b5_fc3b6b35","line":75,"range":{"start_line":74,"start_character":0,"end_line":75,"end_character":1},"updated":"2018-10-16 19:13:50.000000000","message":"that comment would be useful in the commitmsg","commit_id":"43ab515bb2f9983a45028ce48ba2e646ece4f8a3"}]}
