)]}'
{"ceph/templates/bin/_check_zombie_mons.py.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"1fa8f33349adbcf29b4c4e08eb1ad92040c25044","unresolved":false,"context_lines":[{"line_number":7,"context_line":"MON_REGEX \u003d r\"^\\d: ([0-9\\.]*):\\d+/\\d* mon.([^ ]*)$\""},{"line_number":8,"context_line":"# kubctl_command \u003d \u0027kubectl get pods --namespace\u003d${NAMESPACE} -l component\u003dmon,application\u003dceph -o template --template\u003d\"{ {{\"}}\"}}range .items{{\"}}\"}} \\\\\"{{\"}}\"}}.metadata.name{{\"}}\"}}\\\\\": \\\\\"{{\"}}\"}}.status.podIP{{\"}}\"}}\\\\\" ,   {{\"}}\"}}end{{\"}}\"}} }\"\u0027"},{"line_number":9,"context_line":"if int(os.getenv(\u0027K8S_HOST_NETWORK\u0027, 0)) \u003e 0:"},{"line_number":10,"context_line":"    kubectl_command \u003d \u0027kubectl get pods --namespace\u003d${NAMESPACE} -l component\u003dmon,application\u003dceph -o template --template\u003d\"{ {{ range  \\$i, \\$v  :\u003d .items }} {{ if \\$i }} , {{ end }} \\\\\"{{ \\$v.spec.nodeName }}\\\\\": \\\\\"{{\\$v.status.podIP}}\\\\\" {{ end }} }\"\u0027"},{"line_number":11,"context_line":"else:"},{"line_number":12,"context_line":"    kubectl_command \u003d \u0027kubectl get pods --namespace\u003d${NAMESPACE} -l component\u003dmon,application\u003dceph -o template --template\u003d\"{ {{ range  \\$i, \\$v  :\u003d .items }} {{ if \\$i }} , {{ end }} \\\\\"{{ \\$v.metadata.name }}\\\\\": \\\\\"{{ \\$v.status.podIP }}\\\\\" {{ end }} }\"\u0027"},{"line_number":13,"context_line":"monmap_command \u003d \"ceph --cluster\u003d${NAMESPACE} mon getmap \u003e /tmp/monmap \u0026\u0026 monmaptool -f /tmp/monmap --print\""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"3f4b6375_7e047515","line":10,"range":{"start_line":10,"start_character":125,"end_line":10,"end_character":128},"updated":"2017-11-03 00:36:22.000000000","message":"these need escaped","commit_id":"506b2e8a8bea338d870eb188f46fe3acd9bf432d"}]}
