)]}'
{"ceph-osd/templates/bin/osd/ceph-volume/_init-with-ceph-volume.sh.tpl":[{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"d7e3a205114e20cc98b132f24cb778763a3b0075","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  local BLOCK_DEVICE_SIZE\u003d$2"},{"line_number":44,"context_line":"  local device_type\u003d$3"},{"line_number":45,"context_line":"  local device_string VG DEVICE_OSD_ID logical_devices logical_volume"},{"line_number":46,"context_line":"  device_string\u003d$(readlink -f \"${BLOCK_DEVICE#/}\" | tr \u0027/\u0027 \u0027-\u0027)"},{"line_number":47,"context_line":"  VG\u003d$(vgs --noheadings -o vg_name -S \"vg_name\u003dceph-vg-${device_string}\" | tr -d \u0027[:space:]\u0027)"},{"line_number":48,"context_line":"  if [[ $VG ]]; then"},{"line_number":49,"context_line":"    DEVICE_OSD_ID\u003d$(get_osd_id_from_volume \"/dev/ceph-vg-${device_string}/ceph-${device_type}-${osd_dev_string}\")"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"9f560f44_7192f358","line":46,"range":{"start_line":46,"start_character":2,"end_line":46,"end_character":63},"updated":"2020-08-06 16:37:10.000000000","message":"lets move this logic of readlink to start of the script  ?","commit_id":"633a60772ee83249a93d40285ab61a38a31d755a"},{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"c4688f8cb3e9626ae73874f58bc84e2642991cd7","unresolved":false,"context_lines":[{"line_number":258,"context_line":""},{"line_number":259,"context_line":"  if [ \"${OSD_BLUESTORE:-0}\" -eq 1 ] \u0026\u0026 [ ${CEPH_DISK_USED} -eq 0 ] ; then"},{"line_number":260,"context_line":"    if [[ ${BLOCK_DB} ]]; then"},{"line_number":261,"context_line":"      block_db_string\u003d$(readlink -f ${BLOCK_DB} | awk -F \"/\" \u0027{print $2 \"-\" $3}\u0027)"},{"line_number":262,"context_line":"    fi"},{"line_number":263,"context_line":"    if [[ ${BLOCK_WAL} ]]; then"},{"line_number":264,"context_line":"      block_wal_string\u003d$(readlink -f ${BLOCK_WAL} | awk -F \"/\" \u0027{print $2 \"-\" $3}\u0027)"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"9f560f44_4210bfa8","line":261,"range":{"start_line":261,"start_character":24,"end_line":261,"end_character":35},"updated":"2020-08-06 19:05:22.000000000","message":"lets remove it since we are doing in the start of the script.\nand add back echo","commit_id":"5ac23bfb5cd65eb18a29f627be7a6359ab74e099"},{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"c4688f8cb3e9626ae73874f58bc84e2642991cd7","unresolved":false,"context_lines":[{"line_number":261,"context_line":"      block_db_string\u003d$(readlink -f ${BLOCK_DB} | awk -F \"/\" \u0027{print $2 \"-\" $3}\u0027)"},{"line_number":262,"context_line":"    fi"},{"line_number":263,"context_line":"    if [[ ${BLOCK_WAL} ]]; then"},{"line_number":264,"context_line":"      block_wal_string\u003d$(readlink -f ${BLOCK_WAL} | awk -F \"/\" \u0027{print $2 \"-\" $3}\u0027)"},{"line_number":265,"context_line":"    fi"},{"line_number":266,"context_line":"    if [[ ${BLOCK_DB} \u0026\u0026 ${BLOCK_WAL} ]]; then"},{"line_number":267,"context_line":"      prep_device \"${BLOCK_DB}\" \"${BLOCK_DB_SIZE}\" \"db\""}],"source_content_type":"text/x-smarty","patch_set":3,"id":"9f560f44_e220f3f9","line":264,"range":{"start_line":264,"start_character":25,"end_line":264,"end_character":37},"updated":"2020-08-06 19:05:22.000000000","message":"ditto above","commit_id":"5ac23bfb5cd65eb18a29f627be7a6359ab74e099"}]}
