)]}'
{"ceph-client/templates/bin/pool/_init.sh.tpl":[{"author":{"_account_id":24165,"name":"Renis Makadia","email":"renis.makadia@att.com","username":"renmak"},"change_message_id":"fc49f9951966a2f9df6e2ab7e5b78a82bfd62c3e","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  echo \"ERROR- ${CEPH_CONF}.template must exist; get it from your existing mon\""},{"line_number":27,"context_line":"  exit 1"},{"line_number":28,"context_line":"else"},{"line_number":29,"context_line":"  ENDPOINT\u003d$(kubectl get endpoints ceph-mon -n ${NAMESPACE} -o json | awk -F\u0027\"\u0027 -v port\u003d${MON_PORT} \u0027/ip/{print $4\":\"port}\u0027 | paste -sd\u0027,\u0027)"},{"line_number":30,"context_line":"  if [[ ${ENDPOINT} \u003d\u003d \"\" ]]; then"},{"line_number":31,"context_line":"    /bin/sh -c -e \"cat ${CEPH_CONF}.template | tee ${CEPH_CONF}\" || true"},{"line_number":32,"context_line":"  else"}],"source_content_type":"text/x-smarty","patch_set":5,"id":"9fdfeff1_3451dada","line":29,"updated":"2019-03-04 18:42:25.000000000","message":"In openstack-support gate, this is causing rbac related error.\n\nError from server (Forbidden): endpoints \"ceph-mon\" is forbidden: User \"system:serviceaccount:ceph:ceph-rbd-pool\" cannot get resource \"endpoints\" in API group \"\" in the namespace \"-o\"\n+ ENDPOINT\u003d","commit_id":"5428169077370abe00ad102259d26e06f693b077"}]}
