)]}'
{"devstack/lib/ceph":[{"author":{"_account_id":6796,"name":"Giulio Fidente","email":"gfidente@redhat.com","username":"gfidente"},"change_message_id":"7c9eb7fdc0ccbdf30f95444dc241809d34a55ef5","unresolved":false,"context_lines":[{"line_number":215,"context_line":"            cut -d \u0027.\u0027 -f 1,2)"},{"line_number":216,"context_line":"    elif [[ $1 \u003d\u003d \u0027mon\u0027 ]]; then"},{"line_number":217,"context_line":"        # TODO(frickler): Find a better way to make sure that ceph-mon has started"},{"line_number":218,"context_line":"        sleep 5"},{"line_number":219,"context_line":"        ceph_version_str\u003d$(sudo ceph daemon mon.$(hostname) version | \\"},{"line_number":220,"context_line":"            cut -d \u0027\"\u0027 -f 4 | cut -f 1,2 -d \u0027.\u0027)"},{"line_number":221,"context_line":"    else"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"3f79a3b5_933ad6ec","line":218,"updated":"2018-12-05 13:49:32.000000000","message":"there are some good ideas on how to do this in ceph-ansible [1]\n\nthat code is basically checking if the mon hostname appears in the quorum list\n\nI am not sure if that is applicable here but thought was worth pointing out\n\n1. https://github.com/ceph/ceph-ansible/blob/master/infrastructure-playbooks/rolling_update.yml#L182-L192","commit_id":"917f0bef81b4844582e0a1b2f45ea4930e0afe4b"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"21e7dea24ed02ff3bec46e8ab9dfd826380696d0","unresolved":false,"context_lines":[{"line_number":215,"context_line":"            cut -d \u0027.\u0027 -f 1,2)"},{"line_number":216,"context_line":"    elif [[ $1 \u003d\u003d \u0027mon\u0027 ]]; then"},{"line_number":217,"context_line":"        # TODO(frickler): Find a better way to make sure that ceph-mon has started"},{"line_number":218,"context_line":"        sleep 5"},{"line_number":219,"context_line":"        ceph_version_str\u003d$(sudo ceph daemon mon.$(hostname) version | \\"},{"line_number":220,"context_line":"            cut -d \u0027\"\u0027 -f 4 | cut -f 1,2 -d \u0027.\u0027)"},{"line_number":221,"context_line":"    else"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"3f79a3b5_1ef7add4","line":218,"in_reply_to":"3f79a3b5_933ad6ec","updated":"2018-12-05 14:07:29.000000000","message":"+1 - would be a good follow-up patch I think","commit_id":"917f0bef81b4844582e0a1b2f45ea4930e0afe4b"}]}
