)]}'
{"ironic/conductor/manager.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"3d6b01e5ca94b1737119bb2d16db33889bbf71e2","unresolved":false,"context_lines":[{"line_number":1689,"context_line":"                                     states.INSPECTING,"},{"line_number":1690,"context_line":"                                     states.MANAGEABLE]"},{"line_number":1691,"context_line":"            allowed_update_address_states \u003d [states.ENROLL,"},{"line_number":1692,"context_line":"                                             states.MANAGEABLE]"},{"line_number":1693,"context_line":"            if (set(port_obj.obj_what_changed()) \u0026 connectivity_attr"},{"line_number":1694,"context_line":"                    and not (node.provision_state in allowed_update_states"},{"line_number":1695,"context_line":"                             or node.maintenance)):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_182d1395","line":1692,"updated":"2016-11-10 13:51:22.000000000","message":"Old versions of the API (\u003c 1.11 [0]) create nodes directly in the AVAILABLE state. And in version such as 1.0 (Juno compat) ENROLL/MANAGEABLE doesn\u0027t even exist as a state.\n\nI think this change might break some people\u0027s workflow by preventing updates for nodes in AVAILABLE state. What you think about including it as part of the allowed list ?\n\n[0] http://docs.openstack.org/developer/ironic/dev/webapi-version-history.html","commit_id":"cdd6fe95b8e9d25b07e8a705d3c06fa28773dfff"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"3d6b01e5ca94b1737119bb2d16db33889bbf71e2","unresolved":false,"context_lines":[{"line_number":1710,"context_line":"                        and node.provision_state"},{"line_number":1711,"context_line":"                        not in allowed_update_address_states):"},{"line_number":1712,"context_line":""},{"line_number":1713,"context_line":"                    action \u003d _(\"MAC-address of port %(port)s can not be \""},{"line_number":1714,"context_line":"                               \"updated unless the node %(node)s is in a \""},{"line_number":1715,"context_line":"                               \"%(allowed)s state or in maintenance mode.\")"},{"line_number":1716,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_75fa9a76","line":1713,"range":{"start_line":1713,"start_character":20,"end_line":1713,"end_character":26},"updated":"2016-11-10 13:51:22.000000000","message":"super nit: Strange variable name for holding an error message.\n\nIn fact, you don\u0027t even need to create a variable if it\u0027s going to be just used for the exception.\n\nraise exception.Invalidstate(_(\u0027\"MAC address of...\") % {..})","commit_id":"cdd6fe95b8e9d25b07e8a705d3c06fa28773dfff"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f50b0ac10012beac8caa8cc08dcc215ffef75407","unresolved":false,"context_lines":[{"line_number":1690,"context_line":"                                     states.MANAGEABLE]"},{"line_number":1691,"context_line":"            allowed_update_address_states \u003d [states.ENROLL,"},{"line_number":1692,"context_line":"                                             states.MANAGEABLE,"},{"line_number":1693,"context_line":"                                             states.AVAILABLE]"},{"line_number":1694,"context_line":"            if (set(port_obj.obj_what_changed()) \u0026 connectivity_attr"},{"line_number":1695,"context_line":"                    and not (node.provision_state in allowed_update_states"},{"line_number":1696,"context_line":"                             or node.maintenance)):"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a74a57a_ce2150b6","line":1693,"updated":"2016-11-25 11:51:57.000000000","message":"1. this is identical to allowed_update_states, let\u0027s just use that\n\n2. I think we should add failure states here too","commit_id":"2c75a78359399e353f841c546a69cae96ab5380d"}],"releasenotes/notes/limit-node-states-for-port-updates-e3c053158ff07239.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f50b0ac10012beac8caa8cc08dcc215ffef75407","unresolved":false,"context_lines":[{"line_number":1,"context_line":"fixes:"},{"line_number":2,"context_line":"  - |"},{"line_number":3,"context_line":"      List of node states in which port\u0027s MAC address can be updated"},{"line_number":4,"context_line":"      is limited down to: enroll, manageable, available."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5a74a57a_ae26d4cb","line":1,"updated":"2016-11-25 11:51:57.000000000","message":"there should be something in \"upgrade\" section, this is a potentially breaking change","commit_id":"2c75a78359399e353f841c546a69cae96ab5380d"}]}
