)]}'
{"ceph-client/templates/bin/pool/_init.sh.tpl":[{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"a1ef499380df132beda09a314e0e811fbea07b01","unresolved":false,"context_lines":[{"line_number":85,"context_line":"  POOL_APPLICATION\u003d$1"},{"line_number":86,"context_line":"  POOL_NAME\u003d$2"},{"line_number":87,"context_line":"  POOL_REPLICATION\u003d$3"},{"line_number":88,"context_line":"  POOL_PLACEMENT_GROUPS\u003d$4"},{"line_number":89,"context_line":"  POOL_CRUSH_RULE\u003d$5"},{"line_number":90,"context_line":"  POOL_PROTECTION\u003d$6"},{"line_number":91,"context_line":"  if ! ceph --cluster \"${CLUSTER}\" osd pool stats \"${POOL_NAME}\" \u003e /dev/null 2\u003e\u00261; then"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"df33271e_b85fc870","line":88,"range":{"start_line":88,"start_character":2,"end_line":88,"end_character":26},"updated":"2020-03-25 19:37:15.000000000","message":"simply read this value only when non nautilus based deployments otherwise lets make it as a small value .","commit_id":"490b33013eca21a2fc630fc7a934e8c3731b416d"},{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"77e839cef1ef5d76bb1be85018e8c742f85867ef","unresolved":false,"context_lines":[{"line_number":155,"context_line":"  POOL_PROTECTION\u003d$8"},{"line_number":156,"context_line":"  CLUSTER_CAPACITY\u003d$9"},{"line_number":157,"context_line":"  TOTAL_OSDS\u003d{{.Values.conf.pool.target.osd}}"},{"line_number":158,"context_line":"  # POOL_PLACEMENT_GROUPS\u003d$(/tmp/pool-calc.py ${POOL_REPLICATION} ${TOTAL_OSDS} ${TOTAL_DATA_PERCENT} ${TARGET_PG_PER_OSD})"},{"line_number":159,"context_line":"  # This is a workaround for a pg merging bug in ceph. The only reason this works is because the"},{"line_number":160,"context_line":"  # pg_autoscaler is set to work unconditionally. This will need to change once the autoscaler is optional."},{"line_number":161,"context_line":"  POOL_PLACEMENT_GROUPS\u003d4"},{"line_number":162,"context_line":"  create_pool \"${POOL_APPLICATION}\" \"${POOL_NAME}\" \"${POOL_REPLICATION}\" \"${POOL_PLACEMENT_GROUPS}\" \"${POOL_CRUSH_RULE}\" \"${POOL_PROTECTION}\""},{"line_number":163,"context_line":"  POOL_REPLICAS\u003d$(ceph --cluster \"${CLUSTER}\" osd pool get \"${POOL_NAME}\" size | awk \u0027{print $2}\u0027)"},{"line_number":164,"context_line":"  POOL_QUOTA\u003d$(python -c \"print(int($CLUSTER_CAPACITY * $TOTAL_DATA_PERCENT * $TARGET_QUOTA / $POOL_REPLICAS / 100 / 100))\")"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"df33271e_5822fc01","line":161,"range":{"start_line":158,"start_character":1,"end_line":161,"end_character":25},"updated":"2020-03-25 19:34:38.000000000","message":"can we do this only  on  nautilus based deployments ?","commit_id":"490b33013eca21a2fc630fc7a934e8c3731b416d"},{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"ad3c2ccfddcee27071cb31eb6fe06e6da664e577","unresolved":false,"context_lines":[{"line_number":155,"context_line":"  POOL_PROTECTION\u003d$8"},{"line_number":156,"context_line":"  CLUSTER_CAPACITY\u003d$9"},{"line_number":157,"context_line":"  TOTAL_OSDS\u003d{{.Values.conf.pool.target.osd}}"},{"line_number":158,"context_line":"  # This is a workaround for a pg merging bug in ceph. The only reason this works is because the "},{"line_number":159,"context_line":"  # autoscaler is set to work unconditionally. This needs to change once the autoscaler is optional."},{"line_number":160,"context_line":"  if [[ -z \"$(ceph osd versions | grep ceph\\ version | grep -v nautilus)\" ]]; then"},{"line_number":161,"context_line":"    POOL_PLACEMENT_GROUPS\u003d4"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"df33271e_9650d50c","line":158,"range":{"start_line":158,"start_character":96,"end_line":158,"end_character":97},"updated":"2020-03-25 20:40:17.000000000","message":"Whitespace","commit_id":"7007a1b822171217f18d7d9e3bd9cd48ac6ea0b9"},{"author":{"_account_id":18511,"name":"Brian Wickersham","email":"bkw86@bellsouth.net","username":"bw6938"},"change_message_id":"533a9035013bf0d9785e86990643d54b27b58544","unresolved":false,"context_lines":[{"line_number":155,"context_line":"  POOL_PROTECTION\u003d$8"},{"line_number":156,"context_line":"  CLUSTER_CAPACITY\u003d$9"},{"line_number":157,"context_line":"  TOTAL_OSDS\u003d{{.Values.conf.pool.target.osd}}"},{"line_number":158,"context_line":"  # This is a workaround for a pg merging bug in ceph. The only reason this works is because the "},{"line_number":159,"context_line":"  # autoscaler is set to work unconditionally. This needs to change once the autoscaler is optional."},{"line_number":160,"context_line":"  if [[ -z \"$(ceph osd versions | grep ceph\\ version | grep -v nautilus)\" ]]; then"},{"line_number":161,"context_line":"    POOL_PLACEMENT_GROUPS\u003d4"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"df33271e_b6d2395b","line":158,"range":{"start_line":158,"start_character":96,"end_line":158,"end_character":97},"in_reply_to":"df33271e_9650d50c","updated":"2020-03-25 20:49:06.000000000","message":"fixed","commit_id":"7007a1b822171217f18d7d9e3bd9cd48ac6ea0b9"}]}
