)]}'
{"ironic/nova/virt/ironic/driver.py":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"bd412d46bf18d74f7b07f77adff76a33380975cd","unresolved":false,"context_lines":[{"line_number":832,"context_line":"    def _plug_vifs(self, node, instance, network_info):"},{"line_number":833,"context_line":"        # NOTE(PhilDay): Accessing network_info will block if the thread"},{"line_number":834,"context_line":"        # it wraps hasn\u0027t finished, so do this this ahead of time so that"},{"line_number":835,"context_line":"        # don\u0027t block while holding the logging lock."},{"line_number":836,"context_line":"        network_info_str \u003d str(network_info)"},{"line_number":837,"context_line":"        LOG.debug(\"plug: instance_uuid\u003d%(uuid)s vif\u003d%(network_info)s\","},{"line_number":838,"context_line":"                  {\u0027uuid\u0027: instance[\u0027uuid\u0027],"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_f7521d12","line":835,"updated":"2014-09-01 19:20:59.000000000","message":"Tiny nit: \u0027so that we don\u0027t block\u0027... but I\u0027m +2 anyway, I think folk will follow.\n\nThis bug seems systematic: I wonder if we could make network_info error on str(), so that it can\u0027t be used with normal logging calls (where it is never safe) and instead require us to do network_info_str \u003d network_info.safe_str() or something - so we get this ahead of time consistently.\n\nOR\n\nperhaps logging a network_info should log its current status and never do async calls.","commit_id":"bd968b57b50900ef9f96b3e312471e2bd61f39d8"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"bd412d46bf18d74f7b07f77adff76a33380975cd","unresolved":false,"context_lines":[{"line_number":865,"context_line":"    def _unplug_vifs(self, node, instance, network_info):"},{"line_number":866,"context_line":"        # NOTE(PhilDay): Accessing network_info will block if the thread"},{"line_number":867,"context_line":"        # it wraps hasn\u0027t finished, so do this this ahead of time so that"},{"line_number":868,"context_line":"        # don\u0027t block while holding the logging lock."},{"line_number":869,"context_line":"        network_info_str \u003d str(network_info)"},{"line_number":870,"context_line":"        LOG.debug(\"unplug: instance_uuid\u003d%(uuid)s vif\u003d%(network_info)s\","},{"line_number":871,"context_line":"                  {\u0027uuid\u0027: instance[\u0027uuid\u0027],"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_57412938","line":868,"updated":"2014-09-01 19:20:59.000000000","message":"same nit.","commit_id":"bd968b57b50900ef9f96b3e312471e2bd61f39d8"}]}
