)]}'
{"ceph-client/templates/bin/pool/_init.sh.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"bfe065d004455c78e3789dd5583a3bdf39b2e525","unresolved":false,"context_lines":[{"line_number":170,"context_line":"ceph --cluster \"${CLUSTER}\" osd crush tunables {{ .Values.conf.pool.crush.tunables }}"},{"line_number":171,"context_line":"{{- end }}"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"wait_for_cluster_health"}],"source_content_type":"text/x-smarty","patch_set":8,"id":"9fb8cfa7_07e7f6ae","line":173,"range":{"start_line":173,"start_character":0,"end_line":173,"end_character":23},"updated":"2019-07-02 14:38:53.000000000","message":"This needs to be updated to accommodate cases where large rebalances are triggered.","commit_id":"ee60b86134476db5f51546c593749591fd9d9d71"},{"author":{"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},"change_message_id":"f8129eef3edb935549673ac513300f35118cb3a4","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"function wait_for_inactive_pgs () {"},{"line_number":35,"context_line":"  echo \"#### Start: Checking for inactive pgs ####\""},{"line_number":36,"context_line":"  inactive_pgs\u003d(`ceph --cluster ${CLUSTER} pg ls | tail -n +2 | grep -v \"active+\"|awk \u0027{ print $1 }\u0027`)"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"  # Loop until the number of inactive pgs is 0"},{"line_number":39,"context_line":"  while [ ${#inactive_pgs[*]} -gt 0 ]"},{"line_number":40,"context_line":"  do"},{"line_number":41,"context_line":"    sleep 3"},{"line_number":42,"context_line":"    inactive_pgs\u003d(`ceph --cluster ${CLUSTER} pg ls | tail -n +2 | grep -v \"active+\"|awk \u0027{ print $1 }\u0027`)"},{"line_number":43,"context_line":"  done"},{"line_number":44,"context_line":"}"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"function create_crushrule () {"}],"source_content_type":"text/x-smarty","patch_set":9,"id":"9fb8cfa7_b0497eb8","line":43,"range":{"start_line":36,"start_character":0,"end_line":43,"end_character":6},"updated":"2019-07-02 16:39:30.000000000","message":"This can be simplified to something like\n\n# Loop until all pgs are active\nwhile [[ `ceph --cluster ${CLUSTER} pg ls | tail -n +2 | grep -v \"active\"` ]]\ndo\n  sleep 3\ndone","commit_id":"6c5d0144a7f585c930c406201e445477e08eb3a1"}],"ceph-client/values.yaml":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"27a713c9f607c9c253fff74a1b517835131049e2","unresolved":false,"context_lines":[{"line_number":189,"context_line":""},{"line_number":190,"context_line":"jobs:"},{"line_number":191,"context_line":"  ceph_rbd_pool:"},{"line_number":192,"context_line":"    wait_timeout: 180"},{"line_number":193,"context_line":"  pool_checkPGs:"},{"line_number":194,"context_line":"    # Execute every 15 minutes"},{"line_number":195,"context_line":"    cron: \"*/15 * * * *\""}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9fb8cfa7_aa426faa","line":192,"range":{"start_line":192,"start_character":18,"end_line":192,"end_character":21},"updated":"2019-07-02 15:06:54.000000000","message":"this is three minutes? Looks really short for rebalancing.","commit_id":"ee60b86134476db5f51546c593749591fd9d9d71"}]}
