)]}'
{"ceph/templates/bin/_start_mon.sh.tpl":[{"author":{"_account_id":20443,"name":"Larry Rensing","email":"larry.rensing@gmail.com","username":"lr699s"},"change_message_id":"335d49602b082f802f8bdd4d7a15d02dd61e4793","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  while [[ -z \"${MONMAP_ADD// }\" \u0026\u0026 \"${timeout}\" -gt 0 ]]; do"},{"line_number":31,"context_line":"    # Get the ceph mon pods (name and IP) from the Kubernetes API. Formatted as a set of monmap params"},{"line_number":32,"context_line":"    if [[ ${K8S_HOST_NETWORK} -eq 0 ]]; then"},{"line_number":33,"context_line":"        MONMAP_ADD\u003d$(kubectl get pods --namespace\u003d${NAMESPACE} -l application\u003dceph -l component\u003dmon -o template --template\u003d\"{{`{{range .items}}`}}{{`{{if .status.podIP}}`}}--add {{`{{.metadata.name}}`}} {{`{{.status.podIP}}`}} {{`{{end}}`}} {{`{{end}}`}}\")"},{"line_number":34,"context_line":"    else"},{"line_number":35,"context_line":"        MONMAP_ADD\u003d$(kubectl get pods --namespace\u003d${NAMESPACE} -l application\u003dceph -l component\u003dmon -o template --template\u003d\"{{`{{range .items}}`}}{{`{{if .status.podIP}}`}}--add {{`{{.spec.nodeName}}`}} {{`{{.status.podIP}}`}} {{`{{end}}`}} {{`{{end}}`}}\")"},{"line_number":36,"context_line":"    fi"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"7f287b81_fce2b52f","line":33,"updated":"2017-09-07 17:32:05.000000000","message":"You\u0027ll need to define NAMESPACE as an env variable in daemonset-mon.yaml in order for $NAMESPACE to have a value within the monitor.  The mon healthcheck manifest has this but it is lacking from the monitor itself.","commit_id":"f1d8a9913ab4f9a99e59435a335ca030c622b9de"},{"author":{"_account_id":26509,"name":"Huamin Chen","email":"huamin.chen@gmail.com","username":"rootfs"},"change_message_id":"646eb9dc07ca84b5b20fdcc0d2d65e8714abbcf3","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  while [[ -z \"${MONMAP_ADD// }\" \u0026\u0026 \"${timeout}\" -gt 0 ]]; do"},{"line_number":31,"context_line":"    # Get the ceph mon pods (name and IP) from the Kubernetes API. Formatted as a set of monmap params"},{"line_number":32,"context_line":"    if [[ ${K8S_HOST_NETWORK} -eq 0 ]]; then"},{"line_number":33,"context_line":"        MONMAP_ADD\u003d$(kubectl get pods --namespace\u003d${NAMESPACE} -l application\u003dceph -l component\u003dmon -o template --template\u003d\"{{`{{range .items}}`}}{{`{{if .status.podIP}}`}}--add {{`{{.metadata.name}}`}} {{`{{.status.podIP}}`}} {{`{{end}}`}} {{`{{end}}`}}\")"},{"line_number":34,"context_line":"    else"},{"line_number":35,"context_line":"        MONMAP_ADD\u003d$(kubectl get pods --namespace\u003d${NAMESPACE} -l application\u003dceph -l component\u003dmon -o template --template\u003d\"{{`{{range .items}}`}}{{`{{if .status.podIP}}`}}--add {{`{{.spec.nodeName}}`}} {{`{{.status.podIP}}`}} {{`{{end}}`}} {{`{{end}}`}}\")"},{"line_number":36,"context_line":"    fi"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"7f287b81_570ac21f","line":33,"in_reply_to":"7f287b81_fce2b52f","updated":"2017-09-07 17:56:05.000000000","message":"Done","commit_id":"f1d8a9913ab4f9a99e59435a335ca030c622b9de"}]}
