)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"185a326e11f1d6c726f0f23e85a49303867be7a7","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-10-29 17:00:07 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ensure single ceph osd is weighted correctly"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ied44ed81d890d25c43e563e844479924ac5f4a04"},{"line_number":10,"context_line":"Closes-Bug: #1475333"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a26ad4f_8349ae62","line":8,"updated":"2015-10-30 21:22:21.000000000","message":"Some details of the bug and how it\u0027s fixed here would be useful.","commit_id":"c1a9b7695241e1cccc3c7071281d038144f4aa22"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"132211e0552bd61de9fccdc3f63fd9946bf51155","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-10-29 17:00:07 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ensure single ceph osd is weighted correctly"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ied44ed81d890d25c43e563e844479924ac5f4a04"},{"line_number":10,"context_line":"Closes-Bug: #1475333"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a26ad4f_3e3f7b25","line":8,"in_reply_to":"1a26ad4f_8349ae62","updated":"2015-11-02 07:48:19.000000000","message":"+1\n\nWe cannot review since I\u0027m not sure why the issue happens.","commit_id":"c1a9b7695241e1cccc3c7071281d038144f4aa22"}],"lib/ceph":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"4de2621fa0ca7d866ff358991f5d5b6f7e52e90b","unresolved":false,"context_lines":[{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    # for a single replica, ensure that the osd is weighted such that it will be used."},{"line_number":366,"context_line":"    if [[ $CEPH_REPLICAS -eq 1 ]]; then"},{"line_number":367,"context_line":"       sudo ceph osd crush reweight osd.0 1"},{"line_number":368,"context_line":"    fi"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"}"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"ba8a016a_22827301","line":367,"updated":"2015-11-17 00:03:58.000000000","message":"it\u0027s complaining about your indent here","commit_id":"c1a9b7695241e1cccc3c7071281d038144f4aa22"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"d440f3e115c857ae2b99a8b5dc1edd0824f19fcf","unresolved":false,"context_lines":[{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    # for a single replica, ensure that the osd is weighted such that it will be used."},{"line_number":366,"context_line":"    if [[ $CEPH_REPLICAS -eq 1 ]]; then"},{"line_number":367,"context_line":"        sudo ceph osd crush reweight osd.0 1"},{"line_number":368,"context_line":"    fi"},{"line_number":369,"context_line":"}"},{"line_number":370,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba8a016a_64429612","line":367,"updated":"2015-11-17 19:05:56.000000000","message":"According to the docs:\n\nhttp://docs.ceph.com/docs/master/rados/operations/crush-map/\n\nThe weight should be a double, so 1.0 I guess.\n\nAre we guaranteed that osd.0 is the ID or should we look this up?","commit_id":"696069ec12e900874ef316763859bbee423e39ae"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"7177938e84c55dd505d3c427247f2e1e8b057101","unresolved":false,"context_lines":[{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    # for a single replica, ensure that the osd is weighted such that it will be used."},{"line_number":366,"context_line":"    if [[ $CEPH_REPLICAS -eq 1 ]]; then"},{"line_number":367,"context_line":"        sudo ceph osd crush reweight osd.0 1"},{"line_number":368,"context_line":"    fi"},{"line_number":369,"context_line":"}"},{"line_number":370,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba8a016a_869c3e10","line":367,"in_reply_to":"ba8a016a_3cd253d3","updated":"2015-11-18 10:59:51.000000000","message":"if we have $CEPH_REPLICAS gt 1 we will get 3 OSDs, so supposedly osd 0,1,2.","commit_id":"696069ec12e900874ef316763859bbee423e39ae"},{"author":{"_account_id":9236,"name":"Jon Bernard","email":"jobernar@redhat.com","username":"jbernard"},"change_message_id":"19641d5ac6b1dcdaa14eb8a55a108aa6c6d0cf52","unresolved":false,"context_lines":[{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    # for a single replica, ensure that the osd is weighted such that it will be used."},{"line_number":366,"context_line":"    if [[ $CEPH_REPLICAS -eq 1 ]]; then"},{"line_number":367,"context_line":"        sudo ceph osd crush reweight osd.0 1"},{"line_number":368,"context_line":"    fi"},{"line_number":369,"context_line":"}"},{"line_number":370,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba8a016a_a7eac00d","line":367,"in_reply_to":"ba8a016a_64429612","updated":"2015-11-17 19:25:38.000000000","message":"The client will convert the integer to a float, but you are technically correct.  I\u0027ll make that change.\n\nThe OSDs are numbered with a monotonically increasing index starting with 0.  So for $CEPH_REPLICAS equal to 1, the ID will be 0 given this is a clean and controlled local installation.\n\nWhen CEPH_REPLICAS is larger than 1, I\u0027m not sure what we\u0027ll get; I need to test that.","commit_id":"696069ec12e900874ef316763859bbee423e39ae"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"0437b8f35b693c0aceac33813c3796e8af48858f","unresolved":false,"context_lines":[{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    # for a single replica, ensure that the osd is weighted such that it will be used."},{"line_number":366,"context_line":"    if [[ $CEPH_REPLICAS -eq 1 ]]; then"},{"line_number":367,"context_line":"        sudo ceph osd crush reweight osd.0 1"},{"line_number":368,"context_line":"    fi"},{"line_number":369,"context_line":"}"},{"line_number":370,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba8a016a_3cd253d3","line":367,"in_reply_to":"ba8a016a_a7eac00d","updated":"2015-11-18 02:45:46.000000000","message":"I guess we don\u0027t really care about $CEPH_REPLICAS -gt 1 so maybe don\u0027t waste much time on it.","commit_id":"696069ec12e900874ef316763859bbee423e39ae"}]}
