)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b5184f4e774bf97208c5b6642d497c538340434","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Esha Seth \u003ceshaseth@in.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-02-03 09:26:47 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Remove extra info from vif error msg"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ia9072f45829018c51ba42e5cb032bff7d7eadd23"},{"line_number":10,"context_line":"Closes-bug: 1661609"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a430d35_bfb9e830","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":36},"updated":"2017-02-03 14:35:34.000000000","message":"You need to follow the OpenStack guidelines for a commit message.\n\nhttps://wiki.openstack.org/wiki/GitCommitMessages\n\nSpecifically, describe what you\u0027re changing.  Also state whether or not a Unit Test covers this already.  I just want to make sure that there is a unit test that raises this exception so that we know that the string interpolation works properly.  I don\u0027t think we need (or want) something that checks the content of the message.","commit_id":"aae65bd538fc3aaefe0a0d63da87d5b2cc047057"}],"nova_powervm/virt/powervm/vif.py":[{"author":{"_account_id":12947,"name":"Sridhar Venkat","email":"svenkat@us.ibm.com","username":"svenkat"},"change_message_id":"956a095ae49d2f587a4206465da25bc461fe347c","unresolved":false,"context_lines":[{"line_number":646,"context_line":"        pports \u003d [pport.loc_code for pport in pports_w]"},{"line_number":647,"context_line":""},{"line_number":648,"context_line":"        if not pports:"},{"line_number":649,"context_line":"            raise exception.VirtualInterfacePlugException("},{"line_number":650,"context_line":"                _(\"Unable to find SR-IOV physical ports for physical \""},{"line_number":651,"context_line":"                  \"network \u0027%(physnet)s\u0027 (instance %(inst)s).\") %"},{"line_number":652,"context_line":"                {\u0027physnet\u0027: physnet, \u0027inst\u0027: self.instance.name})"},{"line_number":653,"context_line":""},{"line_number":654,"context_line":"        # MAC"},{"line_number":655,"context_line":"        mac_address \u003d pvm_util.sanitize_mac_for_api(vif[\u0027address\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a430d35_3fddf842","line":652,"range":{"start_line":649,"start_character":12,"end_line":652,"end_character":65},"updated":"2017-02-03 14:42:12.000000000","message":"Host name should also be part of this message. So consumer of this message will know on which Host the failure occurred.","commit_id":"aae65bd538fc3aaefe0a0d63da87d5b2cc047057"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b5184f4e774bf97208c5b6642d497c538340434","unresolved":false,"context_lines":[{"line_number":646,"context_line":"        pports \u003d [pport.loc_code for pport in pports_w]"},{"line_number":647,"context_line":""},{"line_number":648,"context_line":"        if not pports:"},{"line_number":649,"context_line":"            raise exception.VirtualInterfacePlugException("},{"line_number":650,"context_line":"                _(\"Unable to find SR-IOV physical ports for physical \""},{"line_number":651,"context_line":"                  \"network \u0027%(physnet)s\u0027 (instance %(inst)s).\") %"},{"line_number":652,"context_line":"                {\u0027physnet\u0027: physnet, \u0027inst\u0027: self.instance.name})"},{"line_number":653,"context_line":""},{"line_number":654,"context_line":"        # MAC"},{"line_number":655,"context_line":"        mac_address \u003d pvm_util.sanitize_mac_for_api(vif[\u0027address\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a430d35_bf62c8d6","line":652,"range":{"start_line":649,"start_character":0,"end_line":652,"end_character":65},"updated":"2017-02-03 14:35:34.000000000","message":"I think what you\u0027re trying to do (from discussing with you) is to make this error message cleaner.  I agree that putting all the vif details in was not clean.  But I don\u0027t think that this error message is good enough for an end user.\n\n\nHow about:\n\"Unable to find acceptable Ethernet ports on physical network %(physnet)s for instance %(inst_name)s for SR-IOV based VIF with MAC address %(vif_mac)s\"\n\nHaving the mac address will allow the end user to understand what port to line up with in Neutron, but wont\u0027 jumble up the message.","commit_id":"aae65bd538fc3aaefe0a0d63da87d5b2cc047057"},{"author":{"_account_id":12947,"name":"Sridhar Venkat","email":"svenkat@us.ibm.com","username":"svenkat"},"change_message_id":"4ac43ec442d40c0b8a442c400b0d802bc5b91b4a","unresolved":false,"context_lines":[{"line_number":647,"context_line":""},{"line_number":648,"context_line":"        if not pports:"},{"line_number":649,"context_line":"            raise exception.VirtualInterfacePlugException("},{"line_number":650,"context_line":"                _(\"Unable to find acceptable Ethernet ports on physical \""},{"line_number":651,"context_line":"                  \"network \u0027%(physnet)s\u0027 for instance %(inst)s for SRIOV \""},{"line_number":652,"context_line":"                  \"based VIF with MAC address %(vif_mac)s.\") %"},{"line_number":653,"context_line":"                {\u0027physnet\u0027: physnet, \u0027inst\u0027: self.instance.name,"},{"line_number":654,"context_line":"                 \u0027vif_mac\u0027: vif[\u0027address\u0027]})"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"        # MAC"},{"line_number":657,"context_line":"        mac_address \u003d pvm_util.sanitize_mac_for_api(vif[\u0027address\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a430d35_a9aa8dd2","line":654,"range":{"start_line":650,"start_character":19,"end_line":654,"end_character":44},"updated":"2017-02-03 19:00:59.000000000","message":"Host name should also be in this message.","commit_id":"2fcd97e1b38452dbf6492639b923417d4d7e93e4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"48729f3b37b59cc50839b01494d79ad4d1c3f48d","unresolved":false,"context_lines":[{"line_number":647,"context_line":""},{"line_number":648,"context_line":"        if not pports:"},{"line_number":649,"context_line":"            raise exception.VirtualInterfacePlugException("},{"line_number":650,"context_line":"                _(\"Unable to find acceptable Ethernet ports on physical \""},{"line_number":651,"context_line":"                  \"network \u0027%(physnet)s\u0027 for instance %(inst)s for SRIOV \""},{"line_number":652,"context_line":"                  \"based VIF with MAC address %(vif_mac)s.\") %"},{"line_number":653,"context_line":"                {\u0027physnet\u0027: physnet, \u0027inst\u0027: self.instance.name,"},{"line_number":654,"context_line":"                 \u0027vif_mac\u0027: vif[\u0027address\u0027]})"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"        # MAC"},{"line_number":657,"context_line":"        mac_address \u003d pvm_util.sanitize_mac_for_api(vif[\u0027address\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a430d35_cbf4ac5c","line":654,"range":{"start_line":650,"start_character":19,"end_line":654,"end_character":44},"in_reply_to":"1a430d35_a9aa8dd2","updated":"2017-02-07 22:12:32.000000000","message":"Why?  Single host.","commit_id":"2fcd97e1b38452dbf6492639b923417d4d7e93e4"}]}
