)]}'
{"nova_powervm/virt/powervm/tasks/network.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0465ea73af58a6446d4677c8348cb38024b2cfc1","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                    new_vif \u003d vif.plug("},{"line_number":200,"context_line":"                        self.adapter, self.host_uuid, self.instance,"},{"line_number":201,"context_line":"                        network_info, self.slot_mgr, new_vif\u003dTrue)"},{"line_number":202,"context_line":"                    if self.cnas is not None:"},{"line_number":203,"context_line":"                        self.cnas.append(new_vif)"},{"line_number":204,"context_line":"        except eventlet.timeout.Timeout:"},{"line_number":205,"context_line":"            LOG.error(_LE(\u0027Error waiting for VIF to be created for instance \u0027"},{"line_number":206,"context_line":"                          \u0027%(sys)s\u0027), {\u0027sys\u0027: self.instance.name},"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a8bc5a2_ae0e8389","line":203,"range":{"start_line":202,"start_character":0,"end_line":203,"end_character":49},"updated":"2016-09-26 19:27:59.000000000","message":"Is this self.vnics if what comes back is a vnic type?","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"841b2c15f93c376e94d7be2787be899db0a71d70","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                    new_vif \u003d vif.plug("},{"line_number":200,"context_line":"                        self.adapter, self.host_uuid, self.instance,"},{"line_number":201,"context_line":"                        network_info, self.slot_mgr, new_vif\u003dTrue)"},{"line_number":202,"context_line":"                    if self.cnas is not None:"},{"line_number":203,"context_line":"                        self.cnas.append(new_vif)"},{"line_number":204,"context_line":"        except eventlet.timeout.Timeout:"},{"line_number":205,"context_line":"            LOG.error(_LE(\u0027Error waiting for VIF to be created for instance \u0027"},{"line_number":206,"context_line":"                          \u0027%(sys)s\u0027), {\u0027sys\u0027: self.instance.name},"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_b5d3a05e","line":203,"range":{"start_line":202,"start_character":0,"end_line":203,"end_character":49},"in_reply_to":"3a98d1f4_35609ece","updated":"2016-09-29 16:29:49.000000000","message":"You were right; I was wrong.  This is fixed via https://review.openstack.org/379549","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f465f04c6bd9220b3a2a723f8560c3b2925980f8","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                    new_vif \u003d vif.plug("},{"line_number":200,"context_line":"                        self.adapter, self.host_uuid, self.instance,"},{"line_number":201,"context_line":"                        network_info, self.slot_mgr, new_vif\u003dTrue)"},{"line_number":202,"context_line":"                    if self.cnas is not None:"},{"line_number":203,"context_line":"                        self.cnas.append(new_vif)"},{"line_number":204,"context_line":"        except eventlet.timeout.Timeout:"},{"line_number":205,"context_line":"            LOG.error(_LE(\u0027Error waiting for VIF to be created for instance \u0027"},{"line_number":206,"context_line":"                          \u0027%(sys)s\u0027), {\u0027sys\u0027: self.instance.name},"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_35609ece","line":203,"range":{"start_line":202,"start_character":0,"end_line":203,"end_character":49},"in_reply_to":"3a98d1f4_63d51842","updated":"2016-09-29 01:05:30.000000000","message":"Possibly add a comment to that effect.","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"efccc346d4e6aebef5a8287cd2e3e4269ebd3694","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                    new_vif \u003d vif.plug("},{"line_number":200,"context_line":"                        self.adapter, self.host_uuid, self.instance,"},{"line_number":201,"context_line":"                        network_info, self.slot_mgr, new_vif\u003dTrue)"},{"line_number":202,"context_line":"                    if self.cnas is not None:"},{"line_number":203,"context_line":"                        self.cnas.append(new_vif)"},{"line_number":204,"context_line":"        except eventlet.timeout.Timeout:"},{"line_number":205,"context_line":"            LOG.error(_LE(\u0027Error waiting for VIF to be created for instance \u0027"},{"line_number":206,"context_line":"                          \u0027%(sys)s\u0027), {\u0027sys\u0027: self.instance.name},"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_63d51842","line":203,"range":{"start_line":202,"start_character":0,"end_line":203,"end_character":49},"in_reply_to":"5a8bc5a2_ae0e8389","updated":"2016-09-28 21:33:27.000000000","message":"We don\u0027t care about vnics here.  This Task \u0027provides\u0027 the CNAs so that PlugMgmtVif can check therein to see whether the management CNA is already plugged.  And - though it\u0027s not obvious at a glance - self.cnas is None if we\u0027re plugging a VNIC, so we won\u0027t add the VNIC to the list here.  (If we did, it would definitely break PlugMgmtVif...","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"efccc346d4e6aebef5a8287cd2e3e4269ebd3694","unresolved":false,"context_lines":[{"line_number":318,"context_line":"            has_mgmt_vif \u003d vm.get_cnas(self.adapter, self.instance,"},{"line_number":319,"context_line":"                                       vswitch_uri\u003dvswitch.href)"},{"line_number":320,"context_line":"        else:"},{"line_number":321,"context_line":"            has_mgmt_vif \u003d vswitch.href in [cna.vswitch_uri for cna in vm_cnas]"},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"        if has_mgmt_vif:"},{"line_number":324,"context_line":"            LOG.debug(\u0027Management VIF already created for instance %s\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_035614d2","line":321,"updated":"2016-09-28 21:33:27.000000000","message":"...here, because a VNIC doesn\u0027t have a vswitch_uri.","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"}],"nova_powervm/virt/powervm/vif.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f465f04c6bd9220b3a2a723f8560c3b2925980f8","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        vnet_w \u003d vif_drv.plug(vif, slot_num, new_vif\u003dnew_vif)"},{"line_number":109,"context_line":"    except pvm_ex.HttpError as he:"},{"line_number":110,"context_line":"        # Log the message constructed by HttpError"},{"line_number":111,"context_line":"        LOG.exception(he.args[0])"},{"line_number":112,"context_line":"        raise exception.VirtualInterfacePlugException()"},{"line_number":113,"context_line":"    # Other exceptions are (hopefully) custom VirtualInterfacePlugException"},{"line_number":114,"context_line":"    # generated lower in the call stack."}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_f59396a1","line":111,"range":{"start_line":111,"start_character":8,"end_line":111,"end_character":33},"updated":"2016-09-29 01:05:30.000000000","message":"Probably want to log an error to give context that we\u0027re morphing the exception into another type.","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e5511172eef3f8cc071a5aee84032db192adf2b1","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        vnet_w \u003d vif_drv.plug(vif, slot_num, new_vif\u003dnew_vif)"},{"line_number":109,"context_line":"    except pvm_ex.HttpError as he:"},{"line_number":110,"context_line":"        # Log the message constructed by HttpError"},{"line_number":111,"context_line":"        LOG.exception(he.args[0])"},{"line_number":112,"context_line":"        raise exception.VirtualInterfacePlugException()"},{"line_number":113,"context_line":"    # Other exceptions are (hopefully) custom VirtualInterfacePlugException"},{"line_number":114,"context_line":"    # generated lower in the call stack."}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_73c3b0ed","line":111,"range":{"start_line":111,"start_character":8,"end_line":111,"end_character":33},"in_reply_to":"3a98d1f4_f59396a1","updated":"2016-09-30 16:17:53.000000000","message":"Per IRC, \"meh\".","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f465f04c6bd9220b3a2a723f8560c3b2925980f8","unresolved":false,"context_lines":[{"line_number":281,"context_line":"            LOG.error(_LE(\u0027Unable to unplug VIF with mac %(mac)s for instance \u0027"},{"line_number":282,"context_line":"                          \u0027%(inst)s.\u0027), {\u0027mac\u0027: vif[\u0027address\u0027],"},{"line_number":283,"context_line":"                                         \u0027inst\u0027: self.instance.name})"},{"line_number":284,"context_line":"            LOG.exception(e)"},{"line_number":285,"context_line":"            raise exception.VirtualInterfaceUnplugException(reason\u003de.args[0])"},{"line_number":286,"context_line":"        return cna_w"},{"line_number":287,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_358ede78","line":284,"range":{"start_line":284,"start_character":12,"end_line":284,"end_character":28},"updated":"2016-09-29 01:05:30.000000000","message":"If we\u0027re in here...we should toss this.  The catcher will log it.","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e5511172eef3f8cc071a5aee84032db192adf2b1","unresolved":false,"context_lines":[{"line_number":281,"context_line":"            LOG.error(_LE(\u0027Unable to unplug VIF with mac %(mac)s for instance \u0027"},{"line_number":282,"context_line":"                          \u0027%(inst)s.\u0027), {\u0027mac\u0027: vif[\u0027address\u0027],"},{"line_number":283,"context_line":"                                         \u0027inst\u0027: self.instance.name})"},{"line_number":284,"context_line":"            LOG.exception(e)"},{"line_number":285,"context_line":"            raise exception.VirtualInterfaceUnplugException(reason\u003de.args[0])"},{"line_number":286,"context_line":"        return cna_w"},{"line_number":287,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a98d1f4_18336bf7","line":284,"range":{"start_line":284,"start_character":12,"end_line":284,"end_character":28},"in_reply_to":"3a98d1f4_358ede78","updated":"2016-09-30 16:17:53.000000000","message":"Done","commit_id":"cf79257b8c68c7d533ed267a081fc39bc46ca4b7"}]}
