)]}'
{"tools/backup/backup_pvc.sh":[{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"a830c9aa4a4222d58b99c6376d51aa360ec7c3e2","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"# copy admin keyring from ceph mon to host node"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"kubectl exec -it ${mon_pod} -n ceph -- cat /etc/ceph/ceph.client.admin.keyring \u003e ./ceph.client.admin.keyring"},{"line_number":38,"context_line":"sudo cp ./ceph.client.admin.keyring /etc/ceph"},{"line_number":39,"context_line":"sudo kubectl get cm -n ceph ceph-etc -o json|jq -j  .data[] \u003e ./ceph.conf"},{"line_number":40,"context_line":"sudo cp ./ceph.conf /etc/ceph"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_f2b5ab33","line":37,"range":{"start_line":37,"start_character":12,"end_line":37,"end_character":13},"updated":"2018-08-29 15:21:31.000000000","message":"we can avoid these steps if we merge the below ps: \n\nhttps://review.openstack.org/#/c/585570/","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"210809f237ec6672a2ea956e965829b8bebbe98b","unresolved":false,"context_lines":[{"line_number":42,"context_line":"export ceph_mon\u003d\"ceph-mon-discovery.ceph.svc.cluster.local\""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"while read pvc_name namespace;"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":" do"},{"line_number":47,"context_line":"   echo \" Backing up ${pvc_name} with namespace ${namespace} \""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"   volume\u003d\"$(kubectl -n ${namespace} get pvc ${pvc_name} --no-headers | awk \u0027{ print $3 }\u0027)\""},{"line_number":50,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_00c3a039","line":47,"range":{"start_line":45,"start_character":0,"end_line":47,"end_character":62},"updated":"2018-08-13 14:45:26.000000000","message":"inconsistent indentation","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":28620,"name":"Matthias Omisore","email":"momisore@broadtekniks.com","username":"momisore"},"change_message_id":"f9d451141e62468b89d3db9040ccab39b7cbd695","unresolved":false,"context_lines":[{"line_number":42,"context_line":"export ceph_mon\u003d\"ceph-mon-discovery.ceph.svc.cluster.local\""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"while read pvc_name namespace;"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":" do"},{"line_number":47,"context_line":"   echo \" Backing up ${pvc_name} with namespace ${namespace} \""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"   volume\u003d\"$(kubectl -n ${namespace} get pvc ${pvc_name} --no-headers | awk \u0027{ print $3 }\u0027)\""},{"line_number":50,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_61961341","line":47,"range":{"start_line":45,"start_character":0,"end_line":47,"end_character":62},"in_reply_to":"3f79a3b5_00c3a039","updated":"2018-08-13 18:30:15.000000000","message":"it\u0027s for the \u0027done\u0027 block.","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"51fa9fc591e70a08fab9cb05afc7e64e5555143e","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"   mkdir -p $temp_backup_dir"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"   rbd export-diff rbd/${rbd_pool}@${snap_name} -m ${ceph_mon} - | xz  -0v --threads\u003d0 \u003e  ${temp_backup_dir}/${rbd_pool}.img.xz"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"   #copy image to /backup and delete temp folder"},{"line_number":70,"context_line":"   sudo cp  ${temp_backup_dir}/* $backup_dir \u0026\u0026 rm -rf ${temp_backup_dir}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_009080ec","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":127},"updated":"2018-08-13 14:53:23.000000000","message":"is it simply export  for the first time ?","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":28620,"name":"Matthias Omisore","email":"momisore@broadtekniks.com","username":"momisore"},"change_message_id":"f9d451141e62468b89d3db9040ccab39b7cbd695","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"   mkdir -p $temp_backup_dir"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"   rbd export-diff rbd/${rbd_pool}@${snap_name} -m ${ceph_mon} - | xz  -0v --threads\u003d0 \u003e  ${temp_backup_dir}/${rbd_pool}.img.xz"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"   #copy image to /backup and delete temp folder"},{"line_number":70,"context_line":"   sudo cp  ${temp_backup_dir}/* $backup_dir \u0026\u0026 rm -rf ${temp_backup_dir}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_81ad6f9c","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":127},"in_reply_to":"3f79a3b5_009080ec","updated":"2018-08-13 18:30:15.000000000","message":"first time a full export is done.","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":28372,"name":"chinasubbareddy mallavarapu","email":"cr3938@att.com","username":"chinasubbareddy"},"change_message_id":"a830c9aa4a4222d58b99c6376d51aa360ec7c3e2","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"   mkdir -p $temp_backup_dir"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"   rbd export-diff rbd/${rbd_pool}@${snap_name} -m ${ceph_mon} - | xz  -0v --threads\u003d0 \u003e  ${temp_backup_dir}/${rbd_pool}.img.xz"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"   #copy image to /backup and delete temp folder"},{"line_number":70,"context_line":"   sudo cp  ${temp_backup_dir}/* $backup_dir \u0026\u0026 rm -rf ${temp_backup_dir}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_72f0bbfe","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":127},"in_reply_to":"3f79a3b5_81ad6f9c","updated":"2018-08-29 15:21:31.000000000","message":"is that is not part of this script ?","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"210809f237ec6672a2ea956e965829b8bebbe98b","unresolved":false,"context_lines":[{"line_number":70,"context_line":"   sudo cp  ${temp_backup_dir}/* $backup_dir \u0026\u0026 rm -rf ${temp_backup_dir}"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"done \u003c pvcs.txt"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_80fd706f","line":73,"range":{"start_line":73,"start_character":7,"end_line":73,"end_character":11},"updated":"2018-08-13 14:45:26.000000000","message":"where is this coming from?  should it be a temp file?","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"},{"author":{"_account_id":28620,"name":"Matthias Omisore","email":"momisore@broadtekniks.com","username":"momisore"},"change_message_id":"f9d451141e62468b89d3db9040ccab39b7cbd695","unresolved":false,"context_lines":[{"line_number":70,"context_line":"   sudo cp  ${temp_backup_dir}/* $backup_dir \u0026\u0026 rm -rf ${temp_backup_dir}"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"done \u003c pvcs.txt"}],"source_content_type":"text/x-sh","patch_set":2,"id":"3f79a3b5_618133fb","line":73,"range":{"start_line":73,"start_character":7,"end_line":73,"end_character":11},"in_reply_to":"3f79a3b5_80fd706f","updated":"2018-08-13 18:30:15.000000000","message":"code reads pvcs to backup from a plain file","commit_id":"0027e479c7ea4d094abb50e6db1fedaad0ab7277"}]}
