)]}'
{"ironic/drivers/modules/network/common.py":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"2824ddf248445a8cad85eff07cf037c3f22dd529","unresolved":false,"context_lines":[{"line_number":366,"context_line":"            # Update the neutron port\u0027s MAC address with the MAC address of the"},{"line_number":367,"context_line":"            # port or portgroup to which it has been attached."},{"line_number":368,"context_line":"            try:"},{"line_number":369,"context_line":"                neutron.update_port_address(vif_id, port_like_obj.address)"},{"line_number":370,"context_line":"            except exception.FailedToUpdateMacOnPort:"},{"line_number":371,"context_line":"                raise exception.NetworkError(_("},{"line_number":372,"context_line":"                    \"Unable to attach VIF %(vif)s because Ironic can not \""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_248baa1f","line":369,"range":{"start_line":369,"start_character":16,"end_line":369,"end_character":43},"updated":"2017-06-23 18:05:02.000000000","message":"looks like the port has not been added in neutron, http://logs.openstack.org/49/476949/2/check/gate-tempest-dsvm-ironic-ipa-wholedisk-bios-agent_ipmitool-tinyipa-ubuntu-xenial/e77454e/logs/screen-ir-cond.txt.gz#_Jun_23_15_57_35_256219. Probably need to call add_ports_to_network() or pass it as done right now in master","commit_id":"3460c43c05fd124ecbaab5d2aa848727380d7850"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"c090e6c51d0ba8523e72c6c07c5d6591af16d05b","unresolved":false,"context_lines":[{"line_number":366,"context_line":"            # Update the neutron port\u0027s MAC address with the MAC address of the"},{"line_number":367,"context_line":"            # port or portgroup to which it has been attached."},{"line_number":368,"context_line":"            try:"},{"line_number":369,"context_line":"                neutron.update_port_address(vif_id, port_like_obj.address)"},{"line_number":370,"context_line":"            except exception.FailedToUpdateMacOnPort:"},{"line_number":371,"context_line":"                raise exception.NetworkError(_("},{"line_number":372,"context_line":"                    \"Unable to attach VIF %(vif)s because Ironic can not \""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_91d2afff","line":369,"range":{"start_line":369,"start_character":16,"end_line":369,"end_character":43},"in_reply_to":"5f201791_248baa1f","updated":"2017-06-25 19:07:17.000000000","message":"Thanks for finding that error Anup. The tempest tests that failed are attaching a VIF with a bogus ID (test-vif). With this change applied, the VIF ID should be the UUID of a neutron port, and so the VIF attachment fails.\n\nIn the ironic tempest API tests, I can\u0027t see any other reference to creating resources in other openstack services, so I don\u0027t think that creating a neutron port to attach in those tests is the right thing to do (although I might be wrong).\n\nI\u0027m going to try changing the tempest tests to use a node with a \u0027noop\u0027 network interface, so that we don\u0027t need to add a dependency on neutron to ironic\u0027s tempest API tests.","commit_id":"3460c43c05fd124ecbaab5d2aa848727380d7850"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"8807d5c06e16f5dd59b57d798c18f70fdd4cbeac","unresolved":false,"context_lines":[{"line_number":576,"context_line":"        # Address is optional for portgroups"},{"line_number":577,"context_line":"        if port_like_obj.address:"},{"line_number":578,"context_line":"            # Update the neutron port\u0027s MAC address with the MAC address of the"},{"line_number":579,"context_line":"            # port or portgroup to which it has been attached."},{"line_number":580,"context_line":"            try:"},{"line_number":581,"context_line":"                neutron.update_port_address(vif_id, port_like_obj.address)"},{"line_number":582,"context_line":"            except exception.FailedToUpdateMacOnPort:"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff346bd7_88708774","line":579,"updated":"2017-07-24 10:35:12.000000000","message":"nit: this seems quite obvious to me :) I\u0027d remove this comment","commit_id":"6b1a4e4c0ba9f9ce446d21f4ebe3fd86ab72afe4"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"3266ce0b0945c509b1509d42bc6cbb7ee9b90af8","unresolved":false,"context_lines":[{"line_number":576,"context_line":"        # Address is optional for portgroups"},{"line_number":577,"context_line":"        if port_like_obj.address:"},{"line_number":578,"context_line":"            # Update the neutron port\u0027s MAC address with the MAC address of the"},{"line_number":579,"context_line":"            # port or portgroup to which it has been attached."},{"line_number":580,"context_line":"            try:"},{"line_number":581,"context_line":"                neutron.update_port_address(vif_id, port_like_obj.address)"},{"line_number":582,"context_line":"            except exception.FailedToUpdateMacOnPort:"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff346bd7_a1a2b6fa","line":579,"in_reply_to":"ff346bd7_88708774","updated":"2017-07-27 17:58:57.000000000","message":"Done","commit_id":"6b1a4e4c0ba9f9ce446d21f4ebe3fd86ab72afe4"}]}
