)]}'
{"os_brick/remotefs/remotefs.py":[{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"b32d78c81a3cd5378dac1ad603c681ff46fd3dda","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"                # The error message can say \"busy or already mounted\" when the"},{"line_number":128,"context_line":"                # share didn\u0027t actually mount, so look for it."},{"line_number":129,"context_line":"                if share in _read_mounts():"},{"line_number":130,"context_line":"                    return"},{"line_number":131,"context_line":"            "},{"line_number":132,"context_line":"            LOG.error(\"Failed to mount %(share)s, reason: %(reason)s\","}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_e08ebd30","line":129,"updated":"2018-10-11 19:08:58.000000000","message":"Not sure what happened here, but this should be self._read_mounts()...","commit_id":"4594fa9b71b79d99d14b68ad6bc92ba309d76039"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"90d9955ead3e2a0b7ddaa1c7b32b15cd93fd9625","unresolved":false,"context_lines":[{"line_number":128,"context_line":"                # share didn\u0027t actually mount, so look for it."},{"line_number":129,"context_line":"                if share in _read_mounts():"},{"line_number":130,"context_line":"                    return"},{"line_number":131,"context_line":"            "},{"line_number":132,"context_line":"            LOG.error(\"Failed to mount %(share)s, reason: %(reason)s\","},{"line_number":133,"context_line":"                     {\u0027share\u0027: share, \u0027reason\u0027: exc.stderr})"},{"line_number":134,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_64441a1a","line":131,"updated":"2018-10-10 21:05:53.000000000","message":"Spaces","commit_id":"4594fa9b71b79d99d14b68ad6bc92ba309d76039"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"ada42f901fc3e6c24ebc4e80b988a8c619295387","unresolved":false,"context_lines":[{"line_number":121,"context_line":"            self._execute(*mnt_cmd, root_helper\u003dself._root_helper,"},{"line_number":122,"context_line":"                          run_as_root\u003dTrue, check_exit_code\u003d0)"},{"line_number":123,"context_line":"        except processutils.ProcessExecutionError as exc:"},{"line_number":124,"context_line":"            if \u0027already mounted\u0027 in exc.stderr:"},{"line_number":125,"context_line":"                LOG.info(\"Already mounted: %s\", share)"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"                # The error message can say \"busy or already mounted\" when the"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_b9af5e9b","line":124,"range":{"start_line":124,"start_character":12,"end_line":124,"end_character":47},"updated":"2018-10-15 21:08:30.000000000","message":"You don\u0027t actually need this first checking them tough this makes code more readable. Another option would be:\nif \u0027already mounted\u0027 in exc.stderr and share in self._read_mounts():","commit_id":"bcefa350c807e9f4e1023ff9760f15778e9fc19e"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"ada42f901fc3e6c24ebc4e80b988a8c619295387","unresolved":false,"context_lines":[{"line_number":122,"context_line":"                          run_as_root\u003dTrue, check_exit_code\u003d0)"},{"line_number":123,"context_line":"        except processutils.ProcessExecutionError as exc:"},{"line_number":124,"context_line":"            if \u0027already mounted\u0027 in exc.stderr:"},{"line_number":125,"context_line":"                LOG.info(\"Already mounted: %s\", share)"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"                # The error message can say \"busy or already mounted\" when the"},{"line_number":128,"context_line":"                # share didn\u0027t actually mount, so look for it."}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_d9b25a05","line":125,"range":{"start_line":125,"start_character":16,"end_line":125,"end_character":54},"updated":"2018-10-15 21:08:30.000000000","message":"This should be printed right before the return.","commit_id":"bcefa350c807e9f4e1023ff9760f15778e9fc19e"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"f5de309152e848670cab1450c843a10a976ff06a","unresolved":false,"context_lines":[{"line_number":122,"context_line":"                          run_as_root\u003dTrue, check_exit_code\u003d0)"},{"line_number":123,"context_line":"        except processutils.ProcessExecutionError as exc:"},{"line_number":124,"context_line":"            if \u0027already mounted\u0027 in exc.stderr:"},{"line_number":125,"context_line":"                LOG.info(\"Already mounted: %s\", share)"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"                # The error message can say \"busy or already mounted\" when the"},{"line_number":128,"context_line":"                # share didn\u0027t actually mount, so look for it."}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_dba40050","line":125,"range":{"start_line":125,"start_character":16,"end_line":125,"end_character":54},"in_reply_to":"3f79a3b5_53d15b2d","updated":"2018-12-04 18:06:21.000000000","message":"That\u0027s  true. We can fall in a race condition if we only consider the _read_mounts()","commit_id":"bcefa350c807e9f4e1023ff9760f15778e9fc19e"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"f75aa1083f79599942e2f7ba15c64789bac4b299","unresolved":false,"context_lines":[{"line_number":122,"context_line":"                          run_as_root\u003dTrue, check_exit_code\u003d0)"},{"line_number":123,"context_line":"        except processutils.ProcessExecutionError as exc:"},{"line_number":124,"context_line":"            if \u0027already mounted\u0027 in exc.stderr:"},{"line_number":125,"context_line":"                LOG.info(\"Already mounted: %s\", share)"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"                # The error message can say \"busy or already mounted\" when the"},{"line_number":128,"context_line":"                # share didn\u0027t actually mount, so look for it."}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_53d15b2d","line":125,"range":{"start_line":125,"start_character":16,"end_line":125,"end_character":54},"in_reply_to":"3f79a3b5_d9b25a05","updated":"2018-11-26 20:10:37.000000000","message":"I think it\u0027s better to leave it where it is -- otherwise we have a race condition where something else may have mounted/unmounted it, making it less clear what this log message indicates.","commit_id":"bcefa350c807e9f4e1023ff9760f15778e9fc19e"}]}
