)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"d497c0c7112d0686c5478639544321428b7d5554","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Virtual machine deletion fails during the deletion of"},{"line_number":10,"context_line":"tap device from Linux bridge. This happens if for some reason"},{"line_number":11,"context_line":"the tap device was not configured with the bridge."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I7246cd6ece1d8723974e6b29825f62de52c99369"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1aa78d24_a3fc89b5","line":11,"updated":"2016-07-13 11:36:34.000000000","message":"Is there a bug for this?","commit_id":"b99136ceee9d470005bd4f5caa5b6baf486fe87a"},{"author":{"_account_id":18640,"name":"Ravi Kumar Kota","email":"ravkota3@in.ibm.com","username":"kotra03"},"change_message_id":"134c46ad7fe91752e4aac5e0ba7e0b050708003f","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Virtual machine deletion fails during the deletion of"},{"line_number":10,"context_line":"tap device from Linux bridge. This happens if for some reason"},{"line_number":11,"context_line":"the tap device was not configured with the bridge."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I7246cd6ece1d8723974e6b29825f62de52c99369"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1aa78d24_4397a539","line":11,"in_reply_to":"1aa78d24_a3fc89b5","updated":"2016-07-13 11:42:44.000000000","message":"Yes there is a bug for this. Bug #1597054","commit_id":"b99136ceee9d470005bd4f5caa5b6baf486fe87a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0488c6ff655fb40090d568101dee1160721c2a0f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"tap device from Linux bridge. This happens if for some reason"},{"line_number":11,"context_line":"the tap device was not configured with the bridge."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Bug: 1597054"},{"line_number":14,"context_line":"Change-Id: I7246cd6ece1d8723974e6b29825f62de52c99369"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1aa78d24_16a6790e","line":13,"range":{"start_line":13,"start_character":0,"end_line":13,"end_character":12},"updated":"2016-07-13 11:53:07.000000000","message":"Should be \u0027Closes-Bug: #1597054\u0027","commit_id":"55de990303123c6579135c8b72ec8ba99a576fbb"}],"nova_powervm/tests/virt/powervm/test_vif.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0488c6ff655fb40090d568101dee1160721c2a0f","unresolved":false,"context_lines":[{"line_number":249,"context_line":"        mock_cna \u003d mock.Mock()"},{"line_number":250,"context_line":"        mock_get_cnas.return_value \u003d [mock_cna, mock.Mock()]"},{"line_number":251,"context_line":"        mock_find_cna.return_value \u003d mock_cna"},{"line_number":252,"context_line":"        mock_path_exists.return_value \u003d True"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"        t1 \u003d mock.MagicMock()"},{"line_number":255,"context_line":"        mock_find_trunks.return_value \u003d [t1]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1aa78d24_b68e8576","line":252,"range":{"start_line":252,"start_character":8,"end_line":252,"end_character":44},"updated":"2016-07-13 11:53:07.000000000","message":"I\u0027d like to see a test where we don\u0027t invoke the bridge delete.","commit_id":"55de990303123c6579135c8b72ec8ba99a576fbb"}],"nova_powervm/virt/powervm/vif.py":[{"author":{"_account_id":18640,"name":"Ravi Kumar Kota","email":"ravkota3@in.ibm.com","username":"kotra03"},"change_message_id":"134c46ad7fe91752e4aac5e0ba7e0b050708003f","unresolved":false,"context_lines":[{"line_number":418,"context_line":"                          \"/brif/\" + dev_name):"},{"line_number":419,"context_line":"            utils.execute(\u0027brctl\u0027, \u0027delif\u0027, vif[\u0027network\u0027][\u0027bridge\u0027],"},{"line_number":420,"context_line":"                          dev_name, run_as_root\u003dTrue)"},{"line_number":421,"context_line":"        utils.execute(\u0027brctl\u0027, \u0027delif\u0027, vif[\u0027network\u0027][\u0027bridge\u0027],"},{"line_number":422,"context_line":"                      dev_name, run_as_root\u003dTrue)"},{"line_number":423,"context_line":"        for trunk in trunks:"},{"line_number":424,"context_line":"            trunk.delete()"},{"line_number":425,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1aa78d24_2327f963","line":422,"range":{"start_line":421,"start_character":0,"end_line":422,"end_character":49},"updated":"2016-07-13 11:42:44.000000000","message":"I have to remove this. Will remove this and submit a new patch-set.","commit_id":"b99136ceee9d470005bd4f5caa5b6baf486fe87a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"d497c0c7112d0686c5478639544321428b7d5554","unresolved":false,"context_lines":[{"line_number":418,"context_line":"                          \"/brif/\" + dev_name):"},{"line_number":419,"context_line":"            utils.execute(\u0027brctl\u0027, \u0027delif\u0027, vif[\u0027network\u0027][\u0027bridge\u0027],"},{"line_number":420,"context_line":"                          dev_name, run_as_root\u003dTrue)"},{"line_number":421,"context_line":"        utils.execute(\u0027brctl\u0027, \u0027delif\u0027, vif[\u0027network\u0027][\u0027bridge\u0027],"},{"line_number":422,"context_line":"                      dev_name, run_as_root\u003dTrue)"},{"line_number":423,"context_line":"        for trunk in trunks:"},{"line_number":424,"context_line":"            trunk.delete()"},{"line_number":425,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1aa78d24_83222d50","line":422,"range":{"start_line":421,"start_character":0,"end_line":422,"end_character":49},"updated":"2016-07-13 11:36:34.000000000","message":"Should this be deleted?","commit_id":"b99136ceee9d470005bd4f5caa5b6baf486fe87a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"9324e41a79fd11869a538f799e09ce6c17e7a70e","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        utils.execute(\u0027ip\u0027, \u0027link\u0027, \u0027set\u0027, dev_name, \u0027down\u0027, run_as_root\u003dTrue)"},{"line_number":415,"context_line":"        # Before trying to delete interface from bridge,"},{"line_number":416,"context_line":"        # check if bridge owns the interface"},{"line_number":417,"context_line":"        if os.path.exists(\"/sys/class/net/\" + vif[\u0027network\u0027][\u0027bridge\u0027] +"},{"line_number":418,"context_line":"                          \"/brif/\" + dev_name):"},{"line_number":419,"context_line":"            utils.execute(\u0027brctl\u0027, \u0027delif\u0027, vif[\u0027network\u0027][\u0027bridge\u0027],"},{"line_number":420,"context_line":"                          dev_name, run_as_root\u003dTrue)"},{"line_number":421,"context_line":"        for trunk in trunks:"}],"source_content_type":"text/x-python","patch_set":3,"id":"dada55a8_26cc33ba","line":418,"range":{"start_line":417,"start_character":0,"end_line":418,"end_character":47},"updated":"2016-07-21 17:46:23.000000000","message":"I think that maybe instead of using os...which requires permissions, somehow just do a try/except around the utils.execute?\n\nThen post a warning log if it fails?","commit_id":"6d05d2b16bdb3ebce4d28cbf9116ddcc1f35db6b"}]}
