)]}'
{"tools/cleanup-host":[{"author":{"_account_id":16233,"name":"Mauricio Lima","email":"mauriciolimab@gmail.com","username":"limamauricio"},"change_message_id":"8cef430b2082c16fed644f2b016b9cfe15b47e6f","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  done"},{"line_number":45,"context_line":"fi"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"echo \"Unmounting Ceph OSD disks\""},{"line_number":48,"context_line":"for mount in $(mount | awk \u0027/\\/var\\/lib\\/ceph/ { print $3 }\u0027); do"},{"line_number":49,"context_line":"    umount $mount"},{"line_number":50,"context_line":"done"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"echo \"Creating a fstab backup...\""},{"line_number":53,"context_line":"sudo cp /etc/fstab /etc/fstab_backup"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a95cdbc_c847901b","line":50,"range":{"start_line":47,"start_character":0,"end_line":50,"end_character":4},"updated":"2016-10-06 16:47:41.000000000","message":"can you add it after \"Creating a fstab backup...\"?","commit_id":"061608ed5adc44f5c46a0dd6bd5d7bfc27a80115"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"1a94280ca24e57fd66774816071616b4286ffd01","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"echo \"Unmounting Ceph OSD disks\""},{"line_number":51,"context_line":"for mount in $(mount | awk \u0027/\\/var\\/lib\\/ceph/ { print $3 }\u0027); do"},{"line_number":52,"context_line":"    umount $mount"},{"line_number":53,"context_line":"done"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"echo \"Removing ceph references from fstab...\""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9a629dbe_2b3951d9","line":52,"range":{"start_line":52,"start_character":2,"end_line":52,"end_character":16},"updated":"2016-11-13 14:57:29.000000000","message":"sudo umount $mount","commit_id":"c9e4e3d9076f69d541b5648c9edad431b9bacc17"},{"author":{"_account_id":167,"name":"Christian Berendt","email":"berendt@osism.tech","username":"berendt"},"change_message_id":"a4e7bf28950188bff76914ce3eefe01a9fc83b2e","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"echo \"Unmounting Ceph OSD disks\""},{"line_number":51,"context_line":"for mount in $(mount | awk \u0027/\\/var\\/lib\\/ceph/ { print $3 }\u0027); do"},{"line_number":52,"context_line":"    umount $mount"},{"line_number":53,"context_line":"done"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"echo \"Removing ceph references from fstab...\""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"7a77a97e_be902bee","line":52,"range":{"start_line":52,"start_character":2,"end_line":52,"end_character":16},"in_reply_to":"9a629dbe_2b3951d9","updated":"2016-11-15 06:05:54.000000000","message":"This is correct but it is not necessary for this patch set. At the moment it is required to run the whole script with sudo. All the ip commands are missing sudo at the moment. I think it makes to open a bug report that this script should be usable without the use with sudo. This way we can add all missing sudo calls.","commit_id":"c9e4e3d9076f69d541b5648c9edad431b9bacc17"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"a2c910d090715a2e93e1f8a770cef1422e899521","unresolved":false,"context_lines":[{"line_number":50,"context_line":"echo \"Unmounting Ceph OSD disks\""},{"line_number":51,"context_line":"for mount in $(mount | awk \u0027/\\/var\\/lib\\/ceph/ { print $3 }\u0027); do"},{"line_number":52,"context_line":"    umount $mount"},{"line_number":53,"context_line":"done"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"echo \"Removing ceph references from fstab...\""},{"line_number":56,"context_line":"sudo sed -i \u0027/\\/var\\/lib\\/ceph\\/osd\\//d\u0027 /etc/fstab"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ba5da102_d2eb48da","line":53,"updated":"2016-11-03 13:37:55.000000000","message":"need remove the mount point in /etc/fstab file","commit_id":"c9e4e3d9076f69d541b5648c9edad431b9bacc17"},{"author":{"_account_id":16233,"name":"Mauricio Lima","email":"mauriciolimab@gmail.com","username":"limamauricio"},"change_message_id":"f2515b9693834a1a0689e00d0b0f3d76b8a63124","unresolved":false,"context_lines":[{"line_number":50,"context_line":"echo \"Unmounting Ceph OSD disks\""},{"line_number":51,"context_line":"for mount in $(mount | awk \u0027/\\/var\\/lib\\/ceph/ { print $3 }\u0027); do"},{"line_number":52,"context_line":"    umount $mount"},{"line_number":53,"context_line":"done"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"echo \"Removing ceph references from fstab...\""},{"line_number":56,"context_line":"sudo sed -i \u0027/\\/var\\/lib\\/ceph\\/osd\\//d\u0027 /etc/fstab"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ba5da102_72051c44","line":53,"in_reply_to":"ba5da102_d2eb48da","updated":"2016-11-03 13:43:47.000000000","message":"this is done in line 55,56","commit_id":"c9e4e3d9076f69d541b5648c9edad431b9bacc17"}]}
