)]}'
{"doc/source/dev/code-contribution-guide.rst":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"bd41356052c4469b3a266f3fdfa61a2a5648f103","unresolved":false,"context_lines":[{"line_number":152,"context_line":""},{"line_number":153,"context_line":" - The RPC version must be incremented and be the same value for both the"},{"line_number":154,"context_line":"   client (conductor/rpcapi.py, used by ironic-api) and the server"},{"line_number":155,"context_line":"   (conductor/manager.py, used by ironic-conductor)."},{"line_number":156,"context_line":" - New arguments of the method can only be added as optional. Existing"},{"line_number":157,"context_line":"   arguments cannot be removed or changed in incompatible ways (with the method"},{"line_number":158,"context_line":"   in older RPC versions)."}],"source_content_type":"text/x-rst","patch_set":19,"id":"7a3c09a3_3fe92f15","line":155,"updated":"2017-01-16 11:53:39.000000000","message":"And release_mappings.py, right? :)","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"98d8d60bf1e8c7aa062a56761d10284648eff28a","unresolved":false,"context_lines":[{"line_number":152,"context_line":""},{"line_number":153,"context_line":" - The RPC version must be incremented and be the same value for both the"},{"line_number":154,"context_line":"   client (conductor/rpcapi.py, used by ironic-api) and the server"},{"line_number":155,"context_line":"   (conductor/manager.py, used by ironic-conductor)."},{"line_number":156,"context_line":" - New arguments of the method can only be added as optional. Existing"},{"line_number":157,"context_line":"   arguments cannot be removed or changed in incompatible ways (with the method"},{"line_number":158,"context_line":"   in older RPC versions)."}],"source_content_type":"text/x-rst","patch_set":19,"id":"7a3c09a3_c7269dcd","line":155,"in_reply_to":"7a3c09a3_3fe92f15","updated":"2017-01-16 13:20:14.000000000","message":"Yes, I\u0027ll update it here:\nhttps://review.openstack.org/#/c/419439/","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"bd41356052c4469b3a266f3fdfa61a2a5648f103","unresolved":false,"context_lines":[{"line_number":155,"context_line":"   (conductor/manager.py, used by ironic-conductor)."},{"line_number":156,"context_line":" - New arguments of the method can only be added as optional. Existing"},{"line_number":157,"context_line":"   arguments cannot be removed or changed in incompatible ways (with the method"},{"line_number":158,"context_line":"   in older RPC versions)."},{"line_number":159,"context_line":" - Client-side can pin a version cap by passing ``version_cap`` to the"},{"line_number":160,"context_line":"   constructor of oslo_messaging.RPCClient. This \"pinning\" is in place during"},{"line_number":161,"context_line":"   a rolling upgrade when the ``[DEFAULT]/pin_release_version`` config is set."}],"source_content_type":"text/x-rst","patch_set":19,"id":"7a3c09a3_ff4c0744","line":158,"updated":"2017-01-16 11:53:39.000000000","message":"except in a major version?","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"98d8d60bf1e8c7aa062a56761d10284648eff28a","unresolved":false,"context_lines":[{"line_number":155,"context_line":"   (conductor/manager.py, used by ironic-conductor)."},{"line_number":156,"context_line":" - New arguments of the method can only be added as optional. Existing"},{"line_number":157,"context_line":"   arguments cannot be removed or changed in incompatible ways (with the method"},{"line_number":158,"context_line":"   in older RPC versions)."},{"line_number":159,"context_line":" - Client-side can pin a version cap by passing ``version_cap`` to the"},{"line_number":160,"context_line":"   constructor of oslo_messaging.RPCClient. This \"pinning\" is in place during"},{"line_number":161,"context_line":"   a rolling upgrade when the ``[DEFAULT]/pin_release_version`` config is set."}],"source_content_type":"text/x-rst","patch_set":19,"id":"7a3c09a3_aa5cf8ed","line":158,"in_reply_to":"7a3c09a3_ff4c0744","updated":"2017-01-16 13:20:14.000000000","message":"Yes.","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"}],"doc/source/dev/releasing.rst":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  version history (doc/source/dev/webapi-version-history.rst) to"},{"line_number":46,"context_line":"  indicate that they were part of the new release."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Add this new release (and release name if it is a named release) in"},{"line_number":51,"context_line":"ironic/common/release_mappings.py and remove any old named releases from that"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_178a741b","line":48,"updated":"2016-12-14 22:42:46.000000000","message":"We typically put these links at the end of sections, so maybe move L50-52 before this.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  version history (doc/source/dev/webapi-version-history.rst) to"},{"line_number":46,"context_line":"  indicate that they were part of the new release."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Add this new release (and release name if it is a named release) in"},{"line_number":51,"context_line":"ironic/common/release_mappings.py and remove any old named releases from that"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_d8b6693d","line":48,"in_reply_to":"1a6eadb0_178a741b","updated":"2016-12-21 09:57:48.000000000","message":"Done","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"bd41356052c4469b3a266f3fdfa61a2a5648f103","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py and remove any old named releases from that"},{"line_number":54,"context_line":"  file."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"7a3c09a3_df866b12","line":54,"updated":"2017-01-16 11:53:39.000000000","message":"And regenerate sample config, so that the choices for the pinning config are accurate","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"98d8d60bf1e8c7aa062a56761d10284648eff28a","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py and remove any old named releases from that"},{"line_number":54,"context_line":"  file."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"7a3c09a3_474b8d87","line":54,"in_reply_to":"7a3c09a3_df866b12","updated":"2017-01-16 13:20:14.000000000","message":"Done","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1261451c74d23340a70143b23bff1af0c346cc42","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  TEMPEST_BAREMETAL_MAX_MICROVERSION in devstack/lib/ironic to make sure that"},{"line_number":50,"context_line":"  unsupported API tempest tests are skipped on stable branches."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"}],"source_content_type":"text/x-rst","patch_set":30,"id":"5a3905b3_27db8f50","line":52,"updated":"2017-01-23 16:01:11.000000000","message":"Nit: s/in/in to/","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  TEMPEST_BAREMETAL_MAX_MICROVERSION in devstack/lib/ironic to make sure that"},{"line_number":50,"context_line":"  unsupported API tempest tests are skipped on stable branches."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"}],"source_content_type":"text/x-rst","patch_set":30,"id":"1a430d35_098f8a2a","line":52,"in_reply_to":"5a3905b3_27db8f50","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1261451c74d23340a70143b23bff1af0c346cc42","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"},{"line_number":56,"context_line":"  in that file). Regenerate sample config, so that the choices for the"},{"line_number":57,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."}],"source_content_type":"text/x-rst","patch_set":30,"id":"5a3905b3_a7f05f92","line":54,"updated":"2017-01-23 16:01:11.000000000","message":"Nit: s/BASE_RELEASE/BASE_RELEASE dictionary/","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"},{"line_number":56,"context_line":"  in that file). Regenerate sample config, so that the choices for the"},{"line_number":57,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."}],"source_content_type":"text/x-rst","patch_set":30,"id":"1a430d35_2980c6f6","line":54,"in_reply_to":"5a3905b3_a7f05f92","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1261451c74d23340a70143b23bff1af0c346cc42","unresolved":false,"context_lines":[{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"},{"line_number":56,"context_line":"  in that file). Regenerate sample config, so that the choices for the"},{"line_number":57,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":30,"id":"5a3905b3_0265a1b3","line":55,"updated":"2017-01-23 16:01:11.000000000","message":"Nit: perhaps: s/, so we keep/. To enforce upgrade standards, we must only keep/","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":52,"context_line":"* Add this new release (and release name if it is a named release) in"},{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"},{"line_number":56,"context_line":"  in that file). Regenerate sample config, so that the choices for the"},{"line_number":57,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":30,"id":"1a430d35_697e4e1a","line":55,"in_reply_to":"5a3905b3_0265a1b3","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1261451c74d23340a70143b23bff1af0c346cc42","unresolved":false,"context_lines":[{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"},{"line_number":56,"context_line":"  in that file). Regenerate sample config, so that the choices for the"},{"line_number":57,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"}],"source_content_type":"text/x-rst","patch_set":30,"id":"5a3905b3_82719178","line":56,"updated":"2017-01-23 16:01:11.000000000","message":"Nit: s/that file/the release mapping/","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":53,"context_line":"  ironic/common/release_mappings.py. If it\u0027s a named release, update the"},{"line_number":54,"context_line":"  BASE_RELEASE replacing it with the following named release (we support"},{"line_number":55,"context_line":"  upgrades between adjacent named releases, so we keep only two named releases"},{"line_number":56,"context_line":"  in that file). Regenerate sample config, so that the choices for the"},{"line_number":57,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"}],"source_content_type":"text/x-rst","patch_set":30,"id":"1a430d35_897b7a27","line":56,"in_reply_to":"5a3905b3_82719178","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7d1c2e89e2fc03d400b22221a1b20dd6033dd2bb","unresolved":false,"context_lines":[{"line_number":55,"context_line":"  support upgrades between adjacent named releases. To enforce upgrade"},{"line_number":56,"context_line":"  standards, we must only keep only two named releases in the release_mapping)."},{"line_number":57,"context_line":"  Regenerate sample config, so that the choices for the"},{"line_number":58,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"ba2be162_08249cad","line":58,"updated":"2017-03-06 19:52:15.000000000","message":"Maybe mention the \"future\" key in the dictionary in release_mappings.py","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c256148c3e59b29c2e82d8bf7c177156a24d9ec0","unresolved":false,"context_lines":[{"line_number":55,"context_line":"  support upgrades between adjacent named releases. To enforce upgrade"},{"line_number":56,"context_line":"  standards, we must only keep only two named releases in the release_mapping)."},{"line_number":57,"context_line":"  Regenerate sample config, so that the choices for the"},{"line_number":58,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration are accurate."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":".. _`standards`: http://docs.openstack.org/developer/ironic/dev/faq.html#know-if-a-release-note-is-needed-for-my-change"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9a30ddce_081ebf5e","line":58,"in_reply_to":"ba2be162_08249cad","updated":"2017-03-16 18:09:16.000000000","message":"done.","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"}],"etc/ironic/ironic.conf.sample":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":135,"context_line":"# version to enable communication with older services. (string"},{"line_number":136,"context_line":"# value)"},{"line_number":137,"context_line":"# Allowed values: newton, mitaka, 6.1, 6.2, 5.1, 6.0"},{"line_number":138,"context_line":"# Note: This option can be changed without restarting."},{"line_number":139,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"# Path to the rootwrap configuration file to use for running"}],"source_content_type":"application/octet-stream","patch_set":6,"id":"1a6eadb0_4c80dec0","line":138,"updated":"2016-12-14 22:42:46.000000000","message":"I don\u0027t think we have the hooks in to reload if there is eg a sighup. Also, I think this msg is a bit misleading. You can change any option w/o restarting, but they don\u0027t take effect w/o restarting though. (I don\u0027t think you are resp. for this Note, but I think we\u0027re going to have to craft a message that is more accurate.)\n\nLucas has this rfe [1]; I\u0027ll try to remember to ask him what the status is.\n\n[1] https://bugs.launchpad.net/ironic/+bug/1585595","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"4e5281a3278314d9ff1bc2b18143e4d28ef25ecc","unresolved":false,"context_lines":[{"line_number":135,"context_line":"# version to enable communication with older services. (string"},{"line_number":136,"context_line":"# value)"},{"line_number":137,"context_line":"# Allowed values: newton, mitaka, 6.1, 6.2, 5.1, 6.0"},{"line_number":138,"context_line":"# Note: This option can be changed without restarting."},{"line_number":139,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"# Path to the rootwrap configuration file to use for running"}],"source_content_type":"application/octet-stream","patch_set":6,"id":"1a6eadb0_af78db90","line":138,"in_reply_to":"1a6eadb0_4c80dec0","updated":"2016-12-19 17:13:40.000000000","message":"+1\n\nI think this gets automatically added when the config option has mutable\u003dTrue set.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":135,"context_line":"# version to enable communication with older services. (string"},{"line_number":136,"context_line":"# value)"},{"line_number":137,"context_line":"# Allowed values: newton, mitaka, 6.1, 6.2, 5.1, 6.0"},{"line_number":138,"context_line":"# Note: This option can be changed without restarting."},{"line_number":139,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"# Path to the rootwrap configuration file to use for running"}],"source_content_type":"application/octet-stream","patch_set":6,"id":"1a6eadb0_7d14674c","line":138,"in_reply_to":"1a6eadb0_af78db90","updated":"2016-12-21 09:57:48.000000000","message":"Done","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":362,"context_line":"# value)"},{"line_number":363,"context_line":"#host \u003d localhost"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"# Used for rolling upgrades. Setting this option downgrades"},{"line_number":366,"context_line":"# the internal ironic RPC communication to the specified"},{"line_number":367,"context_line":"# version to enable communication with older services. When"},{"line_number":368,"context_line":"# doing a rolling upgrade from version X to version Y, set"}],"source_content_type":"application/octet-stream","patch_set":12,"id":"ba5201f7_afca994d","line":365,"updated":"2016-12-30 20:32:06.000000000","message":"I do still think that this should note that rolling upgrade support is not complete yet, given that this is the first patch in the series. I checked previous patch sets for a response to this comment but haven\u0027t found one yet.","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"42ede3c8271405caa0ae16f65f710087cc306a4e","unresolved":false,"context_lines":[{"line_number":362,"context_line":"# value)"},{"line_number":363,"context_line":"#host \u003d localhost"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"# Used for rolling upgrades. Setting this option downgrades"},{"line_number":366,"context_line":"# the internal ironic RPC communication to the specified"},{"line_number":367,"context_line":"# version to enable communication with older services. When"},{"line_number":368,"context_line":"# doing a rolling upgrade from version X to version Y, set"}],"source_content_type":"application/octet-stream","patch_set":12,"id":"ba5201f7_3f6ef396","line":365,"in_reply_to":"ba5201f7_afca994d","updated":"2017-01-09 14:36:10.000000000","message":"Yes, sorry. We merged this patch with the one that followed and implemented the object pinning. So the current version of the patch supports pinning in it\u0027s entirety. The only remaining piece to make sure it works is grenade multinode CI.","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7d1c2e89e2fc03d400b22221a1b20dd6033dd2bb","unresolved":false,"context_lines":[{"line_number":360,"context_line":"# doing a rolling upgrade from version X to version Y, set"},{"line_number":361,"context_line":"# this to X. Defaults to using the newest possible RPC"},{"line_number":362,"context_line":"# behavior. (string value)"},{"line_number":363,"context_line":"# Allowed values: newton, mitaka, 6.1, 6.2, 5.1, 6.0"},{"line_number":364,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":365,"context_line":""},{"line_number":366,"context_line":"# Path to the rootwrap configuration file to use for running"}],"source_content_type":"application/octet-stream","patch_set":34,"id":"ba2be162_e510515c","line":363,"updated":"2017-03-06 19:52:15.000000000","message":"Seems like this needs to be re-generated","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ee53168d65c4dd5c85018cc05c0a03ede4b3a9f","unresolved":false,"context_lines":[{"line_number":360,"context_line":"# doing a rolling upgrade from version X to version Y, set"},{"line_number":361,"context_line":"# this to X. Defaults to using the newest possible RPC"},{"line_number":362,"context_line":"# behavior. (string value)"},{"line_number":363,"context_line":"# Allowed values: newton, mitaka, 6.1, 6.2, 5.1, 6.0"},{"line_number":364,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":365,"context_line":""},{"line_number":366,"context_line":"# Path to the rootwrap configuration file to use for running"}],"source_content_type":"application/octet-stream","patch_set":34,"id":"9a30ddce_6914b79f","line":363,"in_reply_to":"ba2be162_e510515c","updated":"2017-03-09 18:32:17.000000000","message":"Yesssss, and I\u0027m not sure this is right, \u0027future\u0027 doesn\u0027t show up. Although we don\u0027t want it to show up, but if it was generated, it would...","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"4df80a8996eb24c478feee6cebb72e4c30d1e0f2","unresolved":false,"context_lines":[{"line_number":359,"context_line":"# version to enable communication with older services. When"},{"line_number":360,"context_line":"# doing a rolling upgrade from version X to version Y, set"},{"line_number":361,"context_line":"# this to X. Defaults to using the newest possible RPC"},{"line_number":362,"context_line":"# behavior. (string value)"},{"line_number":363,"context_line":"# Allowed values: ocata, 7.0"},{"line_number":364,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":365,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":38,"id":"ffe62b97_8c5a2f80","line":362,"updated":"2017-03-29 16:06:57.000000000","message":"Should we say something about leaving it unset to unpin?","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33a75e3b79cee1f3e47c2b5bae13762df43a0dae","unresolved":false,"context_lines":[{"line_number":359,"context_line":"# version to enable communication with older services. When"},{"line_number":360,"context_line":"# doing a rolling upgrade from version X to version Y, set"},{"line_number":361,"context_line":"# this to X. Defaults to using the newest possible RPC"},{"line_number":362,"context_line":"# behavior. (string value)"},{"line_number":363,"context_line":"# Allowed values: ocata, 7.0"},{"line_number":364,"context_line":"#pin_release_version \u003d \u003cNone\u003e"},{"line_number":365,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":38,"id":"dfeb2761_f59d8557","line":362,"in_reply_to":"ffe62b97_8c5a2f80","updated":"2017-04-03 15:59:41.000000000","message":"done in followup.","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"}],"ironic/common/release_mappings.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# NOTE(sborkows): This decides the version cap of RPC messages sent to"},{"line_number":16,"context_line":"# conductor and objects during rolling upgrades, when pin_release_version"},{"line_number":17,"context_line":"# CONFIG is set. Remember to add a new name if the new version is shipping in a"},{"line_number":18,"context_line":"# new release. We support a rolling upgrade between adjacent named releases, so"},{"line_number":19,"context_line":"# old, unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_37c3f0ee","line":17,"updated":"2016-12-14 22:42:46.000000000","message":"s/a new name/an entry/","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# NOTE(sborkows): This decides the version cap of RPC messages sent to"},{"line_number":16,"context_line":"# conductor and objects during rolling upgrades, when pin_release_version"},{"line_number":17,"context_line":"# CONFIG is set. Remember to add a new name if the new version is shipping in a"},{"line_number":18,"context_line":"# new release. We support a rolling upgrade between adjacent named releases, so"},{"line_number":19,"context_line":"# old, unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_98b07145","line":17,"in_reply_to":"1a6eadb0_37c3f0ee","updated":"2016-12-21 09:57:48.000000000","message":"Done","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"bd6dc3084a1f26bd086df1cab0cdb84b5050a24b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            \u0027Port\u0027: \u00271.6\u0027,"},{"line_number":68,"context_line":"            \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":69,"context_line":"            \u0027EventType\u0027: \u00271.1\u0027,"},{"line_number":70,"context_line":"            \u0027NotificationPublisher\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"        }"},{"line_number":72,"context_line":"    },"},{"line_number":73,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a6eadb0_61688abb","line":70,"updated":"2016-12-20 01:06:25.000000000","message":"EventType and NotificationPublisher objects are not stored in the DB. Do we need them here?","commit_id":"daf89c8b89ffeaf9b5deb931761a42d30cc77504"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5bd0f55b493f7ba51d02d745c16ccf8dc5d2629b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            \u0027Port\u0027: \u00271.6\u0027,"},{"line_number":68,"context_line":"            \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":69,"context_line":"            \u0027EventType\u0027: \u00271.1\u0027,"},{"line_number":70,"context_line":"            \u0027NotificationPublisher\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"        }"},{"line_number":72,"context_line":"    },"},{"line_number":73,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a6eadb0_2c2d6246","line":70,"in_reply_to":"1a6eadb0_61688abb","updated":"2017-01-09 14:35:13.000000000","message":"They can still be sent over RPC. I see there is an  ironic_versioned_notifications topic they get sent to, but I don\u0027t see the ironic object serializer connected there... I\u0027ll have to check it.","commit_id":"daf89c8b89ffeaf9b5deb931761a42d30cc77504"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"020efb034eb84994f5178fc097f15a85ca64a80c","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    \u00275.1\u0027: {"},{"line_number":52,"context_line":"        \u0027rpc\u0027: \u00271.33\u0027,"},{"line_number":53,"context_line":"        \u0027objects\u0027: {"},{"line_number":54,"context_line":"            \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":55,"context_line":"            \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":56,"context_line":"            \u0027Chassis\u0027: \u00271.3\u0027,"},{"line_number":57,"context_line":"            \u0027Port\u0027: \u00271.5\u0027,"},{"line_number":58,"context_line":"            \u0027Portgroup\u0027: \u00271.0\u0027,"},{"line_number":59,"context_line":"        }"},{"line_number":60,"context_line":"    }"},{"line_number":61,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a6eadb0_c4d2faff","line":58,"range":{"start_line":54,"start_character":12,"end_line":58,"end_character":31},"updated":"2016-12-21 12:33:06.000000000","message":"I think we need to put here all registered objects (as they are present in db or being sent through RPC). My only doubts are about NodePayload, which is subclassed by: NodeSetPowerStatePayload, NodeCorrectedPowerStatePayload and NodeSetProvisionStatePayload, as this object is neither in DB nor being sent through RPC, only it\u0027s subclasses. Should we include it too in this list?","commit_id":"a4c1daa60ec0a95f6036cd8a01d941c91aacfd1f"},{"author":{"_account_id":19935,"name":"Anh Tran","email":"anhtt@vn.fujitsu.com","username":"trananhkma"},"change_message_id":"98dc1fa78dd79c09c61c2785bfd67397782c80dc","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    \u00275.1\u0027: {"},{"line_number":52,"context_line":"        \u0027rpc\u0027: \u00271.33\u0027,"},{"line_number":53,"context_line":"        \u0027objects\u0027: {"},{"line_number":54,"context_line":"            \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":55,"context_line":"            \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":56,"context_line":"            \u0027Chassis\u0027: \u00271.3\u0027,"},{"line_number":57,"context_line":"            \u0027Port\u0027: \u00271.5\u0027,"},{"line_number":58,"context_line":"            \u0027Portgroup\u0027: \u00271.0\u0027,"},{"line_number":59,"context_line":"        }"},{"line_number":60,"context_line":"    }"},{"line_number":61,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":9,"id":"da4df55a_d4edbc8f","line":58,"range":{"start_line":54,"start_character":12,"end_line":58,"end_character":31},"in_reply_to":"1a6eadb0_c4d2faff","updated":"2016-12-22 09:45:52.000000000","message":"+1 to Szymon. I would prefer last version in patch set 8. I think it was easier to read and maintain code.","commit_id":"a4c1daa60ec0a95f6036cd8a01d941c91aacfd1f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"554587501f2853b12aeab9b6b22617122288f815","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":71,"context_line":"    \u0027EventType\u0027: \u00271.1\u0027,"},{"line_number":72,"context_line":"    \u0027NotificationPublisher\u0027: \u00271.0\u0027,"},{"line_number":73,"context_line":"})"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."},{"line_number":76,"context_line":"RELEASE_MAPPING[\u0027mitaka\u0027] \u003d RELEASE_MAPPING[\u00275.1\u0027]"}],"source_content_type":"text/x-python","patch_set":9,"id":"da4df55a_dad099cc","line":73,"updated":"2016-12-21 20:59:31.000000000","message":"With the previous (non-inherit) version, I found it easier to see at a glance, what rpc/object versions were for a particular release, although I can see that this might be easier to maintain and less copy/paste.\n\nMy biggest concern with this is the reliance of a \u0027base\u0027 mapping that is then inherited by subsequent mappings. If we delete OLDER (unsupported) releases, that would presumably mean deleting the base mapping. It shouldn\u0027t be hard to update the new/first mapping so it doesn\u0027t inherit, but it could be error prone. Seems like it might be easier to do the reviewing/get the versions correct, for the most recent mapping since that is fresh(er) in people\u0027s minds than the older releases.\n\nWhat do you think?","commit_id":"a4c1daa60ec0a95f6036cd8a01d941c91aacfd1f"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"df4632315611f1d179273902b9544a2a71da4a04","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"import copy"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"def inherit(base_release, rpc\u003dNone, objects\u003d{}):"},{"line_number":27,"context_line":"    \"\"\"To avoid redundancy, we define version changes incrementally."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"da4df55a_0a6aa680","line":25,"updated":"2016-12-22 15:49:17.000000000","message":"I kept the xek\u0027s proposed format, as this needs to be discussed in a wider group.","commit_id":"7db0139410991351ed689dea3f81dc63bc4afd69"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# NOTE(xek): This decides the version cap of RPC messages sent to conductor"},{"line_number":16,"context_line":"# and objects during rolling upgrades, when pin_release_version CONFIG is set."},{"line_number":17,"context_line":"# Remember to add a new entry if the new version is shipping in a new release."},{"line_number":18,"context_line":"#"},{"line_number":19,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_0fc2c533","line":16,"updated":"2016-12-30 20:32:06.000000000","message":"nit: might be good to specify this is in the default section, i.e.\n\nwhen [DEFAULT]/pin_release_version config option is set to True","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# and objects during rolling upgrades, when pin_release_version CONFIG is set."},{"line_number":17,"context_line":"# Remember to add a new entry if the new version is shipping in a new release."},{"line_number":18,"context_line":"#"},{"line_number":19,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"},{"line_number":20,"context_line":"# unsupported releases can be removed, together with the supporting code, which"},{"line_number":21,"context_line":"# is typically found in object\u0027s make_compatible methods and RPC client code."},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_6fe7d1e4","line":19,"updated":"2016-12-30 20:32:06.000000000","message":"nit: we support it between a release and its latest revision, as well as between a release and master: https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/support-rolling-upgrade.html#rolling-upgrades-between-releases","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    :param base_release: Base release version number. This is the release"},{"line_number":30,"context_line":"        on which we are basing our changes to RPC and object versions."},{"line_number":31,"context_line":"    :param rpc: RPC API version"},{"line_number":32,"context_line":"    :param objects: dict containing object versions"},{"line_number":33,"context_line":"    :returns: a new dict containing updated version mapping"},{"line_number":34,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_8f8875e9","line":31,"updated":"2016-12-30 20:32:06.000000000","message":"new RPC API version, right?","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"42ede3c8271405caa0ae16f65f710087cc306a4e","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    :param base_release: Base release version number. This is the release"},{"line_number":30,"context_line":"        on which we are basing our changes to RPC and object versions."},{"line_number":31,"context_line":"    :param rpc: RPC API version"},{"line_number":32,"context_line":"    :param objects: dict containing object versions"},{"line_number":33,"context_line":"    :returns: a new dict containing updated version mapping"},{"line_number":34,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_4a3db7ba","line":31,"in_reply_to":"ba5201f7_8f8875e9","updated":"2017-01-09 14:36:10.000000000","message":"Done","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    :param base_release: Base release version number. This is the release"},{"line_number":30,"context_line":"        on which we are basing our changes to RPC and object versions."},{"line_number":31,"context_line":"    :param rpc: RPC API version"},{"line_number":32,"context_line":"    :param objects: dict containing object versions"},{"line_number":33,"context_line":"    :returns: a new dict containing updated version mapping"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    new_mapping \u003d copy.deepcopy(RELEASE_MAPPING[base_release])"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_af6d3934","line":32,"updated":"2016-12-30 20:32:06.000000000","message":"new object versions, right?","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"42ede3c8271405caa0ae16f65f710087cc306a4e","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    :param base_release: Base release version number. This is the release"},{"line_number":30,"context_line":"        on which we are basing our changes to RPC and object versions."},{"line_number":31,"context_line":"    :param rpc: RPC API version"},{"line_number":32,"context_line":"    :param objects: dict containing object versions"},{"line_number":33,"context_line":"    :returns: a new dict containing updated version mapping"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    new_mapping \u003d copy.deepcopy(RELEASE_MAPPING[base_release])"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_8a479f4a","line":32,"in_reply_to":"ba5201f7_af6d3934","updated":"2017-01-09 14:36:10.000000000","message":"Done","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"bd41356052c4469b3a266f3fdfa61a2a5648f103","unresolved":false,"context_lines":[{"line_number":53,"context_line":"# NOTE(xek): Use inherit to add new release entries, defining version changes."},{"line_number":54,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":55,"context_line":"    \u00275.1\u0027: BASE_RELEASE"},{"line_number":56,"context_line":"}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"RELEASE_MAPPING[\u00276.0\u0027] \u003d inherit(\u00275.1\u0027)"},{"line_number":59,"context_line":"RELEASE_MAPPING[\u00276.1\u0027] \u003d inherit(\u00276.0\u0027, rpc\u003d\u00271.34\u0027, objects\u003d{"}],"source_content_type":"text/x-python","patch_set":19,"id":"7a3c09a3_1f9393a4","line":56,"updated":"2017-01-16 11:53:39.000000000","message":"I\u0027m not sure having mitaka here is useful, as the code to support rolling upgrades won\u0027t be in newton.\n\n(now I\u0027m curious if we even support rolling upgrades from newton-\u003eocata, or do we need code in the version being upgraded?)","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"98d8d60bf1e8c7aa062a56761d10284648eff28a","unresolved":false,"context_lines":[{"line_number":53,"context_line":"# NOTE(xek): Use inherit to add new release entries, defining version changes."},{"line_number":54,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":55,"context_line":"    \u00275.1\u0027: BASE_RELEASE"},{"line_number":56,"context_line":"}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"RELEASE_MAPPING[\u00276.0\u0027] \u003d inherit(\u00275.1\u0027)"},{"line_number":59,"context_line":"RELEASE_MAPPING[\u00276.1\u0027] \u003d inherit(\u00276.0\u0027, rpc\u003d\u00271.34\u0027, objects\u003d{"}],"source_content_type":"text/x-python","patch_set":19,"id":"7a3c09a3_e7cab96d","line":56,"in_reply_to":"7a3c09a3_1f9393a4","updated":"2017-01-16 13:20:14.000000000","message":"I added it here as an example, so the file structure is in it\u0027s final shape from the beginning. I\u0027m already testing newton-\u003eocata upgrades. We don\u0027t need any supporting code in newton, since it will be running it\u0027s native versions of objects and rpc api which is what we want. The pinning is used in the newer version, to backport objects and RPC calls. In the case of upgrading from newton to ocata, we will have a pin set for newton, which will be used by ocata code to downgrade it\u0027s communication.","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"bd41356052c4469b3a266f3fdfa61a2a5648f103","unresolved":false,"context_lines":[{"line_number":91,"context_line":"})"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."},{"line_number":94,"context_line":"RELEASE_MAPPING[\u0027mitaka\u0027] \u003d RELEASE_MAPPING[\u00275.1\u0027]"},{"line_number":95,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"}],"source_content_type":"text/x-python","patch_set":19,"id":"7a3c09a3_5f48bb5b","line":94,"updated":"2017-01-16 11:53:39.000000000","message":"Ditto","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"61d725272bda91ed551daec4913bb7931cfb1690","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    return new_mapping"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":45,"context_line":"BASE_RELEASE \u003d dict(rpc\u003d\u00271.33\u0027, objects\u003d{"},{"line_number":46,"context_line":"    \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":47,"context_line":"    \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":48,"context_line":"    \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_a7e978e8","line":45,"updated":"2017-01-16 20:13:06.000000000","message":"My personal opinion is that if we go with this inherited mapping instead of explicit mapping, it will be harder (and more error prone) to update BASE_RELEASE. We\u0027re going to have to do this for every named release.\n\nEg. What is the next bump? Mitaka is 5.1 which is this. Newton is 6.2. Will we upgrade this so that BASE_RELEASE reflects 6.2? Can you easily see what that change would be for BASE_RELEASE? (Versus if we had explicit RELEASE_MAPPING[\u00276.2\u0027] \u003d {} it would be straightforward to just do BASE_RELEASE \u003d RELEASE_MAPPING[\u00276.2\u0027] (if we even needed BASE_RELEASE and delete everything in between. \n\nDeletions are easy to code review. And for that matter, Additions (explicit mappings) I think might even be easier to code review than this inherited/diff view.","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"32518e16054319fc89371531fb7ddbfc67e6d747","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    return new_mapping"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":45,"context_line":"BASE_RELEASE \u003d dict(rpc\u003d\u00271.33\u0027, objects\u003d{"},{"line_number":46,"context_line":"    \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":47,"context_line":"    \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":48,"context_line":"    \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_1d9c385c","line":45,"in_reply_to":"7a3c09a3_5b65011c","updated":"2017-01-17 14:56:52.000000000","message":"Agreed, not using inherit is easier without the notifications. It can always be added back later if this file starts getting way too large.","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"9f789951114680cc2a5970f45c1733ce93718383","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    return new_mapping"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":45,"context_line":"BASE_RELEASE \u003d dict(rpc\u003d\u00271.33\u0027, objects\u003d{"},{"line_number":46,"context_line":"    \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":47,"context_line":"    \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":48,"context_line":"    \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_5b65011c","line":45,"in_reply_to":"7a3c09a3_a7e978e8","updated":"2017-01-17 12:33:46.000000000","message":"Ok, I think if we remove notifications, maintaining this file without the \"inherit\" will be more straightforward.","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"407ae0b6135b67a42d267e21e14704846b2aa144","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    \u0027ChassisCRUDNotification\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"    \u0027ChassisCRUDPayload\u0027: \u00271.0\u0027,"},{"line_number":72,"context_line":"    \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":73,"context_line":"    \u0027NodeCRUDNotification\u0027: \u00271.0\u0027,"},{"line_number":74,"context_line":"    \u0027NodeCRUDPayload\u0027: \u00271.0\u0027,"},{"line_number":75,"context_line":"    \u0027NodeConsoleNotification\u0027: \u00271.0\u0027,"},{"line_number":76,"context_line":"    \u0027NodeCorrectedPowerStateNotification\u0027: \u00271.0\u0027,"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_a4ac1936","line":73,"updated":"2017-01-16 18:46:15.000000000","message":"Hmm....\n\nI don\u0027t think this will help guarantee notification versioning during the upgrade. The changes to object serialization in this patch modify the IronicObjectSerializer, which is not used as the serializer for notifications (https://github.com/openstack/ironic/blob/659f951d72e96f39bb967455a6855682e517ca43/ironic/common/rpc.py#L54)\n\nI think either:\n\na) All notification related mappings here can be removed, since they appear not to be doing anything\n\nor\n\nb) Serializer in rpc.py should be modified to use IronicObjectSerializer. Not sure if that will have any other implications.\n\nI might be fine with a) since the reasoning behind versioned notifications was originally to let consumers of notifications know when something\u0027s changed, not to guarantee consistency during upgrades. There could be a case where you\u0027re not fully done with an upgrade and different versions of notifications are sent out by different services, but that still respects the contract with the consumer.\n\nOne case I\u0027m considering where a) may have negative consequences is the following happening in a single release:\n\nNode object gets upgraded from 1.20 to 1.21. Field \"a\" gets renamed to field \"b\"\n\nNodePayload 1.0 has a SCHEMA based off of Node. Original schema (NodePayload version 1.0) looked like this:\n\nSCHEMA \u003d { \"a\": (\"node\", \"a\") }\n\nNodePayload 2.0 gets updated to reflect new Node object, so it\u0027s SCHEMA has \"b\" instead:\n\nSCHEMA \u003d {\"b\": (\"node\", \"b\") }\n\nDuring the upgrade when the version is pinned, Node version will be pinned and still use field name \"a\". However, NodePayload will not be pinned and require \"b\".\n\nI think whether this is a problem or not depends on which version of Node is used to populate the schema at this point in the code: https://github.com/openstack/ironic/blob/659f951d72e96f39bb967455a6855682e517ca43/ironic/objects/notification.py#L130\n\nMaybe Node 1.21 will be used there since the payload creation and emission of notifications all happens within 1 service? Meaning that payload isn\u0027t ever really sent over RPC between services, so no serialization will force Node 1.21 to act as 1.20 during the notification routines.","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"61d725272bda91ed551daec4913bb7931cfb1690","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    \u0027ChassisCRUDNotification\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"    \u0027ChassisCRUDPayload\u0027: \u00271.0\u0027,"},{"line_number":72,"context_line":"    \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":73,"context_line":"    \u0027NodeCRUDNotification\u0027: \u00271.0\u0027,"},{"line_number":74,"context_line":"    \u0027NodeCRUDPayload\u0027: \u00271.0\u0027,"},{"line_number":75,"context_line":"    \u0027NodeConsoleNotification\u0027: \u00271.0\u0027,"},{"line_number":76,"context_line":"    \u0027NodeCorrectedPowerStateNotification\u0027: \u00271.0\u0027,"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_e7bc6008","line":73,"in_reply_to":"7a3c09a3_a4ac1936","updated":"2017-01-16 20:13:06.000000000","message":"I\u0027ve wondered whether we need to have the notification objects. I don\u0027t think so; figured it was here for completeness sake.\n\nMy preference is Mario\u0027s a). Even if a node has a deprecated n.a and a new n.b, the new NodePayload 2.0 will have both node.a and node.b (because node.a still exists; renaming takes two cycles; one to add the new name/field, and the 2nd cycle to delete the original field; see [1]). So during upgrade/pinning, if NodePayload 2.0 gets Node 1.20, .a will be whatever; .b will be None. And if the payload gets Node.121 then it is fine too. Regardless -- we should probably add a comment indicating what the notifications will be emitting when pinned...\n\n[1] http://specs.openstack.org/openstack/ironic-specs/specs/approved/support-rolling-upgrade.html#new-db-model-change-policy","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"9f789951114680cc2a5970f45c1733ce93718383","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    \u0027ChassisCRUDNotification\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"    \u0027ChassisCRUDPayload\u0027: \u00271.0\u0027,"},{"line_number":72,"context_line":"    \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":73,"context_line":"    \u0027NodeCRUDNotification\u0027: \u00271.0\u0027,"},{"line_number":74,"context_line":"    \u0027NodeCRUDPayload\u0027: \u00271.0\u0027,"},{"line_number":75,"context_line":"    \u0027NodeConsoleNotification\u0027: \u00271.0\u0027,"},{"line_number":76,"context_line":"    \u0027NodeCorrectedPowerStateNotification\u0027: \u00271.0\u0027,"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_56430842","line":73,"in_reply_to":"7a3c09a3_e7bc6008","updated":"2017-01-17 12:33:46.000000000","message":"At first I thought the lack of ironic serializer was a bug, but  what you say makes sense. The downgrade of objects would be only for the duration of the upgrade, which isn\u0027t needed, since you can run different versions of notification collectors at the same time (the older one will fail on the newer format and return the object to the queue by failing to send an ack) or upgrade it to accept both formats before ironic upgrade.","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"61d725272bda91ed551daec4913bb7931cfb1690","unresolved":false,"context_lines":[{"line_number":91,"context_line":"})"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."},{"line_number":94,"context_line":"RELEASE_MAPPING[\u0027mitaka\u0027] \u003d RELEASE_MAPPING[\u00275.1\u0027]"},{"line_number":95,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_a7d33803","line":94,"updated":"2017-01-16 20:13:06.000000000","message":"This is probably going to confuse others; maybe add a note that we have mitaka here as an example and that it will not be possible to do a rolling upgrade from mitaka -\u003e newton. And that this should be deleted just before we release Ocata?","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"9f789951114680cc2a5970f45c1733ce93718383","unresolved":false,"context_lines":[{"line_number":91,"context_line":"})"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."},{"line_number":94,"context_line":"RELEASE_MAPPING[\u0027mitaka\u0027] \u003d RELEASE_MAPPING[\u00275.1\u0027]"},{"line_number":95,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"}],"source_content_type":"text/x-python","patch_set":20,"id":"7a3c09a3_db2811e5","line":94,"in_reply_to":"7a3c09a3_a7d33803","updated":"2017-01-17 12:33:46.000000000","message":"Ok.","commit_id":"cb746ef5bc9001a193052925e08990e62242325d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"96ca24e81176f0f0aabe59a61a50251df6b93a50","unresolved":false,"context_lines":[{"line_number":32,"context_line":"#    },"},{"line_number":33,"context_line":"# }"},{"line_number":34,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":35,"context_line":"    \u00275.1\u0027: {\u0027rpc\u0027: \u00271.33\u0027, \u0027objects\u0027: {"},{"line_number":36,"context_line":"        \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":37,"context_line":"        \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":38,"context_line":"        \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_0e7f9c66","line":35,"updated":"2017-01-17 15:51:26.000000000","message":"nit: I think it is easier to read (and conforms to above format description) if \u0027objects\u0027: ... is in its own line aligned with \u0027rpc\u0027. then the subsequent lines can be indented more, under \u0027objects\u0027.","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5be6c530aa9f8f4e400b7869ae86f43218d946aa","unresolved":false,"context_lines":[{"line_number":32,"context_line":"#    },"},{"line_number":33,"context_line":"# }"},{"line_number":34,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":35,"context_line":"    \u00275.1\u0027: {\u0027rpc\u0027: \u00271.33\u0027, \u0027objects\u0027: {"},{"line_number":36,"context_line":"        \u0027Node\u0027: \u00271.14\u0027,"},{"line_number":37,"context_line":"        \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":38,"context_line":"        \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_b97b3127","line":35,"in_reply_to":"7a3c09a3_0e7f9c66","updated":"2017-01-17 17:40:09.000000000","message":"Ok, I also placed the rpc on a separate line because I figured it could be easily missed otherwise.","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"96ca24e81176f0f0aabe59a61a50251df6b93a50","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        \u0027Port\u0027: \u00271.6\u0027,"},{"line_number":61,"context_line":"        \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":62,"context_line":"    }},"},{"line_number":63,"context_line":"    \u0027future\u0027: {\u0027rpc\u0027: \u00271.37\u0027, \u0027objects\u0027: {"},{"line_number":64,"context_line":"        \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":65,"context_line":"        \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":66,"context_line":"        \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_4e71a475","line":63,"updated":"2017-01-17 15:51:26.000000000","message":"we\u0027re at 1.39 now!","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5be6c530aa9f8f4e400b7869ae86f43218d946aa","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        \u0027Port\u0027: \u00271.6\u0027,"},{"line_number":61,"context_line":"        \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":62,"context_line":"    }},"},{"line_number":63,"context_line":"    \u0027future\u0027: {\u0027rpc\u0027: \u00271.37\u0027, \u0027objects\u0027: {"},{"line_number":64,"context_line":"        \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":65,"context_line":"        \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":66,"context_line":"        \u0027Chassis\u0027: \u00271.3\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_994115ac","line":63,"in_reply_to":"7a3c09a3_4e71a475","updated":"2017-01-17 17:40:09.000000000","message":"Done","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"96ca24e81176f0f0aabe59a61a50251df6b93a50","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":62,"context_line":"    }},"},{"line_number":63,"context_line":"    \u0027future\u0027: {\u0027rpc\u0027: \u00271.37\u0027, \u0027objects\u0027: {"},{"line_number":64,"context_line":"        \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":65,"context_line":"        \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":66,"context_line":"        \u0027Chassis\u0027: \u00271.3\u0027,"},{"line_number":67,"context_line":"        \u0027Port\u0027: \u00271.6\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_ee233056","line":64,"updated":"2017-01-17 15:51:26.000000000","message":"1.21","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5be6c530aa9f8f4e400b7869ae86f43218d946aa","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":62,"context_line":"    }},"},{"line_number":63,"context_line":"    \u0027future\u0027: {\u0027rpc\u0027: \u00271.37\u0027, \u0027objects\u0027: {"},{"line_number":64,"context_line":"        \u0027Node\u0027: \u00271.20\u0027,"},{"line_number":65,"context_line":"        \u0027Conductor\u0027: \u00271.1\u0027,"},{"line_number":66,"context_line":"        \u0027Chassis\u0027: \u00271.3\u0027,"},{"line_number":67,"context_line":"        \u0027Port\u0027: \u00271.6\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_b93ed125","line":64,"in_reply_to":"7a3c09a3_ee233056","updated":"2017-01-17 17:40:09.000000000","message":"There should be a test for that...","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"96ca24e81176f0f0aabe59a61a50251df6b93a50","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        \u0027VolumeConnector\u0027: \u00271.0\u0027,"},{"line_number":70,"context_line":"        \u0027VolumeTarget\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"    }},"},{"line_number":72,"context_line":"}"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":75,"context_line":"BASE_RELEASE \u003d RELEASE_MAPPING[\u00275.1\u0027]"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_6e74a035","line":72,"updated":"2017-01-17 15:51:26.000000000","message":"somewhere, not sure if at the end or the beginning, we should add a NOTE about Notifications/Payloads not being included here since we don\u0027t need to pin them during rolling upgrades... Otherwise, I\u0027m sure someone will ask/wonder why later and perhaps open a bug about it.","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5be6c530aa9f8f4e400b7869ae86f43218d946aa","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        \u0027VolumeConnector\u0027: \u00271.0\u0027,"},{"line_number":70,"context_line":"        \u0027VolumeTarget\u0027: \u00271.0\u0027,"},{"line_number":71,"context_line":"    }},"},{"line_number":72,"context_line":"}"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":75,"context_line":"BASE_RELEASE \u003d RELEASE_MAPPING[\u00275.1\u0027]"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_fa004403","line":72,"in_reply_to":"7a3c09a3_6e74a035","updated":"2017-01-17 17:40:09.000000000","message":"Done","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"96ca24e81176f0f0aabe59a61a50251df6b93a50","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    }},"},{"line_number":72,"context_line":"}"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":75,"context_line":"BASE_RELEASE \u003d RELEASE_MAPPING[\u00275.1\u0027]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_eeadf084","line":74,"updated":"2017-01-17 15:51:26.000000000","message":"s/versions/version/\n\nmaybe s/last/oldest/ ?","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5be6c530aa9f8f4e400b7869ae86f43218d946aa","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    }},"},{"line_number":72,"context_line":"}"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"# NOTE(xek): This contains the last versions which we support upgrading from."},{"line_number":75,"context_line":"BASE_RELEASE \u003d RELEASE_MAPPING[\u00275.1\u0027]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_da18e877","line":74,"in_reply_to":"7a3c09a3_eeadf084","updated":"2017-01-17 17:40:09.000000000","message":"Done","commit_id":"9fdd8859dab6fec6a533c528bda14b4a565f6e16"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"d00ab6452eb939644730b493d1c428de9356b5e3","unresolved":false,"context_lines":[{"line_number":95,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."},{"line_number":96,"context_line":"RELEASE_MAPPING[\u0027mitaka\u0027] \u003d RELEASE_MAPPING[\u00275.1\u0027]  # see note below"},{"line_number":97,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"},{"line_number":98,"context_line":"# RELEASE_MAPPING[\u0027ocata\u0027] \u003d RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"# NOTE(xek): we have mitaka here for completeness, it will not be possible to"},{"line_number":101,"context_line":"# do a rolling upgrade from Mitaka to Newton. Before releasing Ocata, the"}],"source_content_type":"text/x-python","patch_set":30,"id":"3a461143_78acff35","line":98,"updated":"2017-02-01 21:52:40.000000000","message":"This doesn\u0027t seem like it should be here at all, until Ocata is released.","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":95,"context_line":"# NOTE(xek): Assign each named release to appropriate semver."},{"line_number":96,"context_line":"RELEASE_MAPPING[\u0027mitaka\u0027] \u003d RELEASE_MAPPING[\u00275.1\u0027]  # see note below"},{"line_number":97,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"},{"line_number":98,"context_line":"# RELEASE_MAPPING[\u0027ocata\u0027] \u003d RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"# NOTE(xek): we have mitaka here for completeness, it will not be possible to"},{"line_number":101,"context_line":"# do a rolling upgrade from Mitaka to Newton. Before releasing Ocata, the"}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_e4b7c5d5","line":98,"in_reply_to":"3a461143_78acff35","updated":"2017-02-08 12:43:18.000000000","message":"I don\u0027t think it is necessary to remove that line now and return it when Ocata hits, as the rolling upgrades will probably land in Pike release.","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1261451c74d23340a70143b23bff1af0c346cc42","unresolved":false,"context_lines":[{"line_number":97,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"},{"line_number":98,"context_line":"# RELEASE_MAPPING[\u0027ocata\u0027] \u003d RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"# NOTE(xek): we have mitaka here for completeness, it will not be possible to"},{"line_number":101,"context_line":"# do a rolling upgrade from Mitaka to Newton. Before releasing Ocata, the"},{"line_number":102,"context_line":"# BASE_RELEASE will be assigned to \u00276.2\u0027 and all previous release mappings"},{"line_number":103,"context_line":"# should be deleted. The \u0027future\u0027 entry can be duplicated and assigned to a"}],"source_content_type":"text/x-python","patch_set":30,"id":"5a3905b3_a77f7fa9","line":100,"updated":"2017-01-23 16:01:11.000000000","message":"Nit: Perhaps instead of completeness, as a contextual example to detail the format?","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":97,"context_line":"RELEASE_MAPPING[\u0027newton\u0027] \u003d RELEASE_MAPPING[\u00276.2\u0027]"},{"line_number":98,"context_line":"# RELEASE_MAPPING[\u0027ocata\u0027] \u003d RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"# NOTE(xek): we have mitaka here for completeness, it will not be possible to"},{"line_number":101,"context_line":"# do a rolling upgrade from Mitaka to Newton. Before releasing Ocata, the"},{"line_number":102,"context_line":"# BASE_RELEASE will be assigned to \u00276.2\u0027 and all previous release mappings"},{"line_number":103,"context_line":"# should be deleted. The \u0027future\u0027 entry can be duplicated and assigned to a"}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_04ce912d","line":100,"in_reply_to":"5a3905b3_a77f7fa9","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7d1c2e89e2fc03d400b22221a1b20dd6033dd2bb","unresolved":false,"context_lines":[{"line_number":35,"context_line":"# sent over RPC. Notifications/Payloads are not being included here since we"},{"line_number":36,"context_line":"# don\u0027t need to pin them during rolling upgrades."},{"line_number":37,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":38,"context_line":"    \u00276.2\u0027: {"},{"line_number":39,"context_line":"        \u0027rpc\u0027: \u00271.34\u0027,"},{"line_number":40,"context_line":"        \u0027objects\u0027: {"},{"line_number":41,"context_line":"            \u0027Node\u0027: \u00271.18\u0027,"}],"source_content_type":"text/x-python","patch_set":34,"id":"ba2be162_681c386b","line":38,"updated":"2017-03-06 19:52:15.000000000","message":"We can drop this, right, since we\u0027ll only support this from Ocata forward.","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ee53168d65c4dd5c85018cc05c0a03ede4b3a9f","unresolved":false,"context_lines":[{"line_number":35,"context_line":"# sent over RPC. Notifications/Payloads are not being included here since we"},{"line_number":36,"context_line":"# don\u0027t need to pin them during rolling upgrades."},{"line_number":37,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":38,"context_line":"    \u00276.2\u0027: {"},{"line_number":39,"context_line":"        \u0027rpc\u0027: \u00271.34\u0027,"},{"line_number":40,"context_line":"        \u0027objects\u0027: {"},{"line_number":41,"context_line":"            \u0027Node\u0027: \u00271.18\u0027,"}],"source_content_type":"text/x-python","patch_set":34,"id":"9a30ddce_aaa22249","line":38,"in_reply_to":"ba2be162_681c386b","updated":"2017-03-09 18:32:17.000000000","message":"yup","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7d1c2e89e2fc03d400b22221a1b20dd6033dd2bb","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":46,"context_line":"        }"},{"line_number":47,"context_line":"    },"},{"line_number":48,"context_line":"    \u00276.3\u0027: {"},{"line_number":49,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":50,"context_line":"        \u0027objects\u0027: {"},{"line_number":51,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":34,"id":"ba2be162_c8028409","line":48,"updated":"2017-03-06 19:52:15.000000000","message":"6.3 doesn\u0027t exist.","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ee53168d65c4dd5c85018cc05c0a03ede4b3a9f","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            \u0027Portgroup\u0027: \u00271.2\u0027,"},{"line_number":46,"context_line":"        }"},{"line_number":47,"context_line":"    },"},{"line_number":48,"context_line":"    \u00276.3\u0027: {"},{"line_number":49,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":50,"context_line":"        \u0027objects\u0027: {"},{"line_number":51,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":34,"id":"9a30ddce_0a924ef6","line":48,"in_reply_to":"ba2be162_c8028409","updated":"2017-03-09 18:32:17.000000000","message":"++","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7d1c2e89e2fc03d400b22221a1b20dd6033dd2bb","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            \u0027VolumeTarget\u0027: \u00271.0\u0027,"},{"line_number":70,"context_line":"        }"},{"line_number":71,"context_line":"    },"},{"line_number":72,"context_line":"    \u0027future\u0027: {"},{"line_number":73,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":74,"context_line":"        \u0027objects\u0027: {"},{"line_number":75,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":34,"id":"ba2be162_252429c5","line":72,"updated":"2017-03-06 19:52:15.000000000","message":"This effectively maps to master, right? (Just checking my understanding)","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ee53168d65c4dd5c85018cc05c0a03ede4b3a9f","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            \u0027VolumeTarget\u0027: \u00271.0\u0027,"},{"line_number":70,"context_line":"        }"},{"line_number":71,"context_line":"    },"},{"line_number":72,"context_line":"    \u0027future\u0027: {"},{"line_number":73,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":74,"context_line":"        \u0027objects\u0027: {"},{"line_number":75,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":34,"id":"9a30ddce_aab9427b","line":72,"in_reply_to":"ba2be162_252429c5","updated":"2017-03-09 18:32:17.000000000","message":"yes. so when any object versions change, we can update it here, and then when we release, we can copy/paste/change \u0027future\u0027 to \u003cnew version\u003e.\n\nhmm, maybe we should just name this \u0027master\u0027. Let me think about it.","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"4df80a8996eb24c478feee6cebb72e4c30d1e0f2","unresolved":false,"context_lines":[{"line_number":45,"context_line":"# Just after doing a named release, delete any entries associated with the"},{"line_number":46,"context_line":"# oldest named release."},{"line_number":47,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":48,"context_line":"    \u00277.0\u0027: {"},{"line_number":49,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":50,"context_line":"        \u0027objects\u0027: {"},{"line_number":51,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_2c3c432d","line":48,"updated":"2017-03-29 16:06:57.000000000","message":"I have a 7.1 release request out that doesn\u0027t include this patch. Should we add 7.1 in this patch or in a follow-up?","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"1e55abf73914c7ae1e5444ef478c0439eb8353e1","unresolved":false,"context_lines":[{"line_number":45,"context_line":"# Just after doing a named release, delete any entries associated with the"},{"line_number":46,"context_line":"# oldest named release."},{"line_number":47,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":48,"context_line":"    \u00277.0\u0027: {"},{"line_number":49,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":50,"context_line":"        \u0027objects\u0027: {"},{"line_number":51,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_cf8ca937","line":48,"in_reply_to":"ffe62b97_2c3c432d","updated":"2017-03-29 16:11:59.000000000","message":"rloo says she is good with a follow-up here.","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33a75e3b79cee1f3e47c2b5bae13762df43a0dae","unresolved":false,"context_lines":[{"line_number":45,"context_line":"# Just after doing a named release, delete any entries associated with the"},{"line_number":46,"context_line":"# oldest named release."},{"line_number":47,"context_line":"RELEASE_MAPPING \u003d {"},{"line_number":48,"context_line":"    \u00277.0\u0027: {"},{"line_number":49,"context_line":"        \u0027rpc\u0027: \u00271.40\u0027,"},{"line_number":50,"context_line":"        \u0027objects\u0027: {"},{"line_number":51,"context_line":"            \u0027Node\u0027: \u00271.21\u0027,"}],"source_content_type":"text/x-python","patch_set":38,"id":"dfeb2761_d5acc18d","line":48,"in_reply_to":"ffe62b97_cf8ca937","updated":"2017-04-03 15:59:41.000000000","message":"done in followup","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"}],"ironic/conductor/rpcapi.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        release_ver \u003d versions.RELEASE_MAPPING.get(CONF.pin_release_version)"},{"line_number":107,"context_line":"        version_cap \u003d (release_ver[\u0027rpc\u0027] if release_ver"},{"line_number":108,"context_line":"                       else self.RPC_API_VERSION)"},{"line_number":109,"context_line":"        self.client \u003d rpc.get_client(target, version_cap, serializer)"},{"line_number":110,"context_line":"        # NOTE(deva): this is going to be buggy"},{"line_number":111,"context_line":"        self.ring_manager \u003d hash_ring.HashRingManager()"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_799b7b18","line":109,"updated":"2017-01-17 20:48:08.000000000","message":"We didn\u0027t have any test for ConductorAPI, but it might be useful to add one now (in tests/unit/conductor/test_rpcapi.py). It could mock rpc.get_client, and just make sure that version_cap is the expected value.\n\nI don\u0027t feel strongly about whether it should be added, and/or added in a separate patch.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        release_ver \u003d versions.RELEASE_MAPPING.get(CONF.pin_release_version)"},{"line_number":107,"context_line":"        version_cap \u003d (release_ver[\u0027rpc\u0027] if release_ver"},{"line_number":108,"context_line":"                       else self.RPC_API_VERSION)"},{"line_number":109,"context_line":"        self.client \u003d rpc.get_client(target, version_cap, serializer)"},{"line_number":110,"context_line":"        # NOTE(deva): this is going to be buggy"},{"line_number":111,"context_line":"        self.ring_manager \u003d hash_ring.HashRingManager()"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_a7dac376","line":109,"in_reply_to":"7a3c09a3_799b7b18","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3781a3455018b831b0a511852632993991e9e71b","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        release_ver \u003d versions.RELEASE_MAPPING.get(CONF.pin_release_version)"},{"line_number":108,"context_line":"        version_cap \u003d (release_ver[\u0027rpc\u0027] if release_ver"},{"line_number":109,"context_line":"                       else self.RPC_API_VERSION)"},{"line_number":110,"context_line":"        self.client \u003d rpc.get_client(target, version_cap, serializer)"},{"line_number":111,"context_line":"        # NOTE(deva): this is going to be buggy"},{"line_number":112,"context_line":"        self.ring_manager \u003d hash_ring.HashRingManager()"},{"line_number":113,"context_line":""}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_406b4585","line":110,"updated":"2017-02-07 17:12:38.000000000","message":"nit: I\u0027d prefer version_cap and serializer as kwargs, since they\u0027re that way in the function signature: https://github.com/openstack/ironic/blob/master/ironic/common/rpc.py#L124","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        release_ver \u003d versions.RELEASE_MAPPING.get(CONF.pin_release_version)"},{"line_number":108,"context_line":"        version_cap \u003d (release_ver[\u0027rpc\u0027] if release_ver"},{"line_number":109,"context_line":"                       else self.RPC_API_VERSION)"},{"line_number":110,"context_line":"        self.client \u003d rpc.get_client(target, version_cap, serializer)"},{"line_number":111,"context_line":"        # NOTE(deva): this is going to be buggy"},{"line_number":112,"context_line":"        self.ring_manager \u003d hash_ring.HashRingManager()"},{"line_number":113,"context_line":""}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_29fc4671","line":110,"in_reply_to":"1a430d35_406b4585","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"}],"ironic/conductor/versions.py":[{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"9856d031aba77ea165dd80015583f49be946433e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Copyright 2016 Intel Corp."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_5d9a046f","line":1,"updated":"2016-12-06 13:29:18.000000000","message":"For this patch purpose, it is a good place to store such information in \u0027conductor\u0027 directory. However, looking at it holistically, this approach will require us to add a similar file in \u0027objects\u0027 directory (object version pinning). IMO the better idea will be to store such information in \u0027common\u0027 directory, as we can combine all mappings in one file (ironic/common/versions.py)","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e3ba5180b54236349c9d0f3e6c5b21293fd4b65d","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# NOTE(xek): This decides the version cap of RPC messages sent to conductor"},{"line_number":16,"context_line":"# during rolling upgrades, when pin_release_version CONFIG is set."},{"line_number":17,"context_line":"# Remember to add a new name if the new version is shipping in a new release."},{"line_number":18,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"},{"line_number":19,"context_line":"# unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_4db3ec0a","line":17,"updated":"2016-12-07 19:42:22.000000000","message":"s/name/release (name or semver)/","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c883850eefe6fba922cef02ff12051a554f0a677","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# NOTE(xek): This decides the version cap of RPC messages sent to conductor"},{"line_number":16,"context_line":"# during rolling upgrades, when pin_release_version CONFIG is set."},{"line_number":17,"context_line":"# Remember to add a new name if the new version is shipping in a new release."},{"line_number":18,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"},{"line_number":19,"context_line":"# unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_8d5d044b","line":17,"in_reply_to":"3a71b18c_4db3ec0a","updated":"2016-12-07 19:55:23.000000000","message":"I was thinking about this. For every release, we will have to add an entry, regardless of whether we have any new RPC versions or not, right?\n\ni don\u0027t know whether it is premature or not, but we should remember to update the doc in some patch: http://docs.openstack.org/developer/ironic/dev/releasing.html#things-to-do-before-releasing","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"12c82dfcf6d15869f72cc83d48eb60c01fdc1065","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# NOTE(xek): This decides the version cap of RPC messages sent to conductor"},{"line_number":16,"context_line":"# during rolling upgrades, when pin_release_version CONFIG is set."},{"line_number":17,"context_line":"# Remember to add a new name if the new version is shipping in a new release."},{"line_number":18,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"},{"line_number":19,"context_line":"# unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_efd461be","line":17,"in_reply_to":"3a71b18c_8d5d044b","updated":"2016-12-09 10:08:52.000000000","message":"Right. I\u0027ll update the docs in this patch.","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0b6950b18206fb18717310d24aa1f1e416732ab2","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# Remember to add a new name if the new version is shipping in a new release."},{"line_number":18,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"},{"line_number":19,"context_line":"# unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"RELEASE_RPC_MAPPING \u003d {"},{"line_number":22,"context_line":"    \u00275.1\u0027: \u00271.33\u0027,"},{"line_number":23,"context_line":"    \u0027mitaka\u0027: \u00271.33\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_7905ff43","line":20,"updated":"2016-12-06 21:16:53.000000000","message":"The key is the release, either named or semver, right? The value is the max. (or actual I guess) RPC version that it supports? We should document that.","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"12c82dfcf6d15869f72cc83d48eb60c01fdc1065","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# Remember to add a new name if the new version is shipping in a new release."},{"line_number":18,"context_line":"# We support a rolling upgrade between adjacent named releases, so old,"},{"line_number":19,"context_line":"# unsupported releases can be removed, together with the supporting code."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"RELEASE_RPC_MAPPING \u003d {"},{"line_number":22,"context_line":"    \u00275.1\u0027: \u00271.33\u0027,"},{"line_number":23,"context_line":"    \u0027mitaka\u0027: \u00271.33\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_fab97d7a","line":20,"in_reply_to":"3a71b18c_7905ff43","updated":"2016-12-09 10:08:52.000000000","message":"Yes, I\u0027ll comment on that. The format you proposed in the other patch was also something we were thinking about. We\u0027ll merge those 2 patches and use your idea :)","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0b6950b18206fb18717310d24aa1f1e416732ab2","unresolved":false,"context_lines":[{"line_number":21,"context_line":"RELEASE_RPC_MAPPING \u003d {"},{"line_number":22,"context_line":"    \u00275.1\u0027: \u00271.33\u0027,"},{"line_number":23,"context_line":"    \u0027mitaka\u0027: \u00271.33\u0027,"},{"line_number":24,"context_line":"    \u00276.2\u0027: \u00271.37\u0027,"},{"line_number":25,"context_line":"    \u0027newton\u0027: \u00271.37\u0027,"},{"line_number":26,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_79289f9a","line":24,"updated":"2016-12-06 21:16:53.000000000","message":"newton \u003d\u003d 6.2\n\nThe RPC version associated with newton is 1.34 though [1] (or maybe I am missing something).\n\n[1] https://github.com/openstack/ironic/blob/stable/newton/ironic/conductor/rpcapi.py#L88","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"12c82dfcf6d15869f72cc83d48eb60c01fdc1065","unresolved":false,"context_lines":[{"line_number":21,"context_line":"RELEASE_RPC_MAPPING \u003d {"},{"line_number":22,"context_line":"    \u00275.1\u0027: \u00271.33\u0027,"},{"line_number":23,"context_line":"    \u0027mitaka\u0027: \u00271.33\u0027,"},{"line_number":24,"context_line":"    \u00276.2\u0027: \u00271.37\u0027,"},{"line_number":25,"context_line":"    \u0027newton\u0027: \u00271.37\u0027,"},{"line_number":26,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_ba638540","line":24,"in_reply_to":"3a71b18c_79289f9a","updated":"2016-12-09 10:08:52.000000000","message":"Done","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0b6950b18206fb18717310d24aa1f1e416732ab2","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    \u00275.1\u0027: \u00271.33\u0027,"},{"line_number":23,"context_line":"    \u0027mitaka\u0027: \u00271.33\u0027,"},{"line_number":24,"context_line":"    \u00276.2\u0027: \u00271.37\u0027,"},{"line_number":25,"context_line":"    \u0027newton\u0027: \u00271.37\u0027,"},{"line_number":26,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_59b84375","line":25,"updated":"2016-12-06 21:16:53.000000000","message":"Do we need anything before newton (Or whatever the first release will be that we can do a rolling upgrade from).","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"12c82dfcf6d15869f72cc83d48eb60c01fdc1065","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    \u00275.1\u0027: \u00271.33\u0027,"},{"line_number":23,"context_line":"    \u0027mitaka\u0027: \u00271.33\u0027,"},{"line_number":24,"context_line":"    \u00276.2\u0027: \u00271.37\u0027,"},{"line_number":25,"context_line":"    \u0027newton\u0027: \u00271.37\u0027,"},{"line_number":26,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_7a73ad15","line":25,"in_reply_to":"3a71b18c_59b84375","updated":"2016-12-09 10:08:52.000000000","message":"No, since we only want to support upgrades between adjacent named releases, we would keep only 2 names here.\n\nThis is basically a list of releases from which we can upgrade to the current version (which should also be on the list). If older release names are not removed (or forgot to be removed) it means, that the supporting code is still in place.\n\nI see that the latest changes from Mitaka, to Newton, to Ocata were only introducing new methods, so we can keep mitaka here to have the list in its final shape, with 2 names.","commit_id":"e8b932af8c5871b771a29d5287b32a0ca14039c5"}],"ironic/conf/default.py":[{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"928fdce23327a177b334841359402e4e9570d410","unresolved":false,"context_lines":[{"line_number":190,"context_line":"    cfg.StrOpt(\u0027pin_release_version\u0027,"},{"line_number":191,"context_line":"               choices\u003dlist(conductor_versions.RELEASE_RPC_MAPPING),"},{"line_number":192,"context_line":"               mutable\u003dTrue,"},{"line_number":193,"context_line":"               help\u003d_(\u0027Used for rolling upgrades. Setting this option \u0027"},{"line_number":194,"context_line":"                      \u0027downgrades the internal ironic RPC communication to \u0027"},{"line_number":195,"context_line":"                      \u0027the specified version to enable communication with \u0027"},{"line_number":196,"context_line":"                      \u0027older services.\u0027)),"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a6eadb0_7cb6ad3e","line":193,"updated":"2016-12-12 15:53:01.000000000","message":"I think this should have a note that work to support rolling upgrades isn\u0027t complete yet, unless we\u0027re going to wait until all the patches are +workflow before merging.","commit_id":"e0d1fd4f841a08b340889d8ef1d9db49e56a0440"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":189,"context_line":"                      \u0027hostname, FQDN, or IP address.\u0027)),"},{"line_number":190,"context_line":"    cfg.StrOpt(\u0027pin_release_version\u0027,"},{"line_number":191,"context_line":"               choices\u003dlist(versions.RELEASE_MAPPING),"},{"line_number":192,"context_line":"               mutable\u003dTrue,"},{"line_number":193,"context_line":"               help\u003d_(\u0027Used for rolling upgrades. Setting this option \u0027"},{"line_number":194,"context_line":"                      \u0027downgrades the internal ironic RPC communication to \u0027"},{"line_number":195,"context_line":"                      \u0027the specified version to enable communication with \u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_2cc9e226","line":192,"updated":"2016-12-14 22:42:46.000000000","message":"Am thinking -- maybe we should not set this to True, until ironic actually can handle mutables. We can add a #TODO...","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":189,"context_line":"                      \u0027hostname, FQDN, or IP address.\u0027)),"},{"line_number":190,"context_line":"    cfg.StrOpt(\u0027pin_release_version\u0027,"},{"line_number":191,"context_line":"               choices\u003dlist(versions.RELEASE_MAPPING),"},{"line_number":192,"context_line":"               mutable\u003dTrue,"},{"line_number":193,"context_line":"               help\u003d_(\u0027Used for rolling upgrades. Setting this option \u0027"},{"line_number":194,"context_line":"                      \u0027downgrades the internal ironic RPC communication to \u0027"},{"line_number":195,"context_line":"                      \u0027the specified version to enable communication with \u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_1838e19f","line":192,"in_reply_to":"1a6eadb0_2cc9e226","updated":"2016-12-21 09:57:48.000000000","message":"Done","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":193,"context_line":"               help\u003d_(\u0027Used for rolling upgrades. Setting this option \u0027"},{"line_number":194,"context_line":"                      \u0027downgrades the internal ironic RPC communication to \u0027"},{"line_number":195,"context_line":"                      \u0027the specified version to enable communication with \u0027"},{"line_number":196,"context_line":"                      \u0027older services.\u0027)),"},{"line_number":197,"context_line":"]"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"utils_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_f71b38c8","line":196,"updated":"2016-12-14 22:42:46.000000000","message":"We don\u0027t need to mention object versioning, do we? (I\u0027m worried that if we do, it might confuse operators, but maybe they want to know. Not sure.)\n\nMaybe we should give some more explicit instructions here, something like, when doing a rolling upgrade from version X to version Y, set this to X.\n\nOh, we should also specify what the default value/behaviour is.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":193,"context_line":"               help\u003d_(\u0027Used for rolling upgrades. Setting this option \u0027"},{"line_number":194,"context_line":"                      \u0027downgrades the internal ironic RPC communication to \u0027"},{"line_number":195,"context_line":"                      \u0027the specified version to enable communication with \u0027"},{"line_number":196,"context_line":"                      \u0027older services.\u0027)),"},{"line_number":197,"context_line":"]"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"utils_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_f81405ea","line":196,"in_reply_to":"1a6eadb0_8ffebf03","updated":"2016-12-21 09:57:48.000000000","message":"Done","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"4e5281a3278314d9ff1bc2b18143e4d28ef25ecc","unresolved":false,"context_lines":[{"line_number":193,"context_line":"               help\u003d_(\u0027Used for rolling upgrades. Setting this option \u0027"},{"line_number":194,"context_line":"                      \u0027downgrades the internal ironic RPC communication to \u0027"},{"line_number":195,"context_line":"                      \u0027the specified version to enable communication with \u0027"},{"line_number":196,"context_line":"                      \u0027older services.\u0027)),"},{"line_number":197,"context_line":"]"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"utils_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_8ffebf03","line":196,"in_reply_to":"1a6eadb0_f71b38c8","updated":"2016-12-19 17:13:40.000000000","message":"I don\u0027t think mentioning object versions is necessary, but the brief X/Y instructions would be useful I think.\n\nYeah, it should say something like \"Defaults to using the newest possible RPC behavior.\" maybe","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"}],"ironic/objects/base.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        if target_version:"},{"line_number":129,"context_line":"            cap_tuple \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":130,"context_line":"            obj_tuple \u003d versionutils.convert_version_to_tuple(obj.VERSION)"},{"line_number":131,"context_line":"            if cap_tuple \u003e obj_tuple:"},{"line_number":132,"context_line":"                target_version \u003d None"},{"line_number":133,"context_line":"        return target_version"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_ef60bcd1","line":131,"updated":"2016-12-14 22:42:46.000000000","message":"are there valid scenarios where this can happen? The only thing I can think of is that the RELEASE_MAPPING is incorrect or the user has pinned to the NEW version instead of the old version. Wondering if it is worth logging something.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        if target_version:"},{"line_number":129,"context_line":"            cap_tuple \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":130,"context_line":"            obj_tuple \u003d versionutils.convert_version_to_tuple(obj.VERSION)"},{"line_number":131,"context_line":"            if cap_tuple \u003e obj_tuple:"},{"line_number":132,"context_line":"                target_version \u003d None"},{"line_number":133,"context_line":"        return target_version"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_78df153a","line":131,"in_reply_to":"1a6eadb0_4cad9587","updated":"2016-12-21 09:57:48.000000000","message":"Yeah, I also noticed that this isn\u0027t used, it would have some sense if we read this data from an external source, like user supplied or conductor table, but right now its statically defined in release mappings.\n\nI\u0027m removing it, since the choices that are allowed in the config are already validated by oslo.config.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"4e5281a3278314d9ff1bc2b18143e4d28ef25ecc","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        if target_version:"},{"line_number":129,"context_line":"            cap_tuple \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":130,"context_line":"            obj_tuple \u003d versionutils.convert_version_to_tuple(obj.VERSION)"},{"line_number":131,"context_line":"            if cap_tuple \u003e obj_tuple:"},{"line_number":132,"context_line":"                target_version \u003d None"},{"line_number":133,"context_line":"        return target_version"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_4cad9587","line":131,"in_reply_to":"1a6eadb0_ef60bcd1","updated":"2016-12-19 17:13:40.000000000","message":"Agreed, a warning should be logged here at least.\n\nI think this can only happen if RELEASE_MAPPING is incorrect. Operators should only pin to old versions, according to the process documented here: https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/support-rolling-upgrade.html#rolling-upgrade-process\n\nIt should be impossible for services to start up correctly if a user tries to pin to a version newer than obj.VERSION, since the release mappings which define possible config options wouldn\u0027t have the newer obj.VERSION, unless RELEASE_MAPPING is wrong.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":123,"context_line":"                                            entity)"},{"line_number":124,"context_line":"        elif (hasattr(entity, \u0027obj_to_primitive\u0027)"},{"line_number":125,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":126,"context_line":"            target_version \u003d self.object_versions.get(entity.obj_name())"},{"line_number":127,"context_line":"            # NOTE(xek): Serialize outgoing object. If it is not None,"},{"line_number":128,"context_line":"            # object is pinned and the obj_make_compatible methods are called"},{"line_number":129,"context_line":"            # to backport the object."}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_6f5a7185","line":126,"updated":"2016-12-30 20:32:06.000000000","message":"nit: this is almost exactly the same as https://github.com/openstack/oslo.versionedobjects/blob/39099b32514b210f99dd057f15a234d402efbe66/oslo_versionedobjects/base.py#L947 except for this line. This might be a candidate for an addition to oslo in the future.","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"bd41356052c4469b3a266f3fdfa61a2a5648f103","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        return [cls._from_db_object(cls(context), db_obj)"},{"line_number":108,"context_line":"                for db_obj in db_objects]"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    @staticmethod"},{"line_number":111,"context_line":"    def _get_version_manifest():"},{"line_number":112,"context_line":"        pin \u003d CONF.pin_release_version"},{"line_number":113,"context_line":"        if pin:"}],"source_content_type":"text/x-python","patch_set":19,"id":"7a3c09a3_df9d8b5a","line":110,"updated":"2017-01-16 11:53:39.000000000","message":"I think this needs to be a classmethod, for self._get_version_manifest() to work, but not totally sure. If it isn\u0027t using `self` or `cls` at all, it can just be outside of the class, though.","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"98d8d60bf1e8c7aa062a56761d10284648eff28a","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        return [cls._from_db_object(cls(context), db_obj)"},{"line_number":108,"context_line":"                for db_obj in db_objects]"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    @staticmethod"},{"line_number":111,"context_line":"    def _get_version_manifest():"},{"line_number":112,"context_line":"        pin \u003d CONF.pin_release_version"},{"line_number":113,"context_line":"        if pin:"}],"source_content_type":"text/x-python","patch_set":19,"id":"7a3c09a3_e7d9d984","line":110,"in_reply_to":"7a3c09a3_df9d8b5a","updated":"2017-01-16 13:20:14.000000000","message":"It still works when called as self._get_version_manifest(), it just doesn\u0027t get the self argument, which it doesn\u0027t need, hence the @staticmethod.","commit_id":"f845cffc31eaa39ba4a148ed8eff0a59249c2d9c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a6ebb7e92327c229621804180fdf07008abb727a","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\"\"\"Ironic common internal object model\"\"\""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_config import cfg"},{"line_number":18,"context_line":"from oslo_utils import versionutils"},{"line_number":19,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_c8045e16","line":17,"updated":"2017-01-18 16:59:34.000000000","message":"ditto, ironic.conf","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\"\"\"Ironic common internal object model\"\"\""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_config import cfg"},{"line_number":18,"context_line":"from oslo_utils import versionutils"},{"line_number":19,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_47b03fde","line":17,"in_reply_to":"7a3c09a3_c8045e16","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        elif (hasattr(entity, \u0027obj_to_primitive\u0027)"},{"line_number":133,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":134,"context_line":"            target_version \u003d entity._get_target_version()"},{"line_number":135,"context_line":"            # NOTE(xek): Serialize outgoing object. If it is not None,"},{"line_number":136,"context_line":"            # object is pinned and the obj_make_compatible methods are called"},{"line_number":137,"context_line":"            # to backport the object."},{"line_number":138,"context_line":"            entity \u003d entity.obj_to_primitive(target_version\u003dtarget_version)"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_59a4ffb8","line":135,"updated":"2017-01-17 20:48:08.000000000","message":"nit: I\u0027m sure I understood this before, but I was looking at it and was wondering what \u0027it\u0027 is in \u0027If it is not None, ...\u0027. I think you mean it \u003d\u003d target_version? If so, might be good to clarify :)","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        elif (hasattr(entity, \u0027obj_to_primitive\u0027)"},{"line_number":133,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":134,"context_line":"            target_version \u003d entity._get_target_version()"},{"line_number":135,"context_line":"            # NOTE(xek): Serialize outgoing object. If it is not None,"},{"line_number":136,"context_line":"            # object is pinned and the obj_make_compatible methods are called"},{"line_number":137,"context_line":"            # to backport the object."},{"line_number":138,"context_line":"            entity \u003d entity.obj_to_primitive(target_version\u003dtarget_version)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_67d61bc7","line":135,"in_reply_to":"7a3c09a3_59a4ffb8","updated":"2017-01-19 12:59:23.000000000","message":"This is the older version to backport to. I fixed the note.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":133,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":134,"context_line":"            target_version \u003d entity._get_target_version()"},{"line_number":135,"context_line":"            # NOTE(xek): Serialize outgoing object. If it is not None,"},{"line_number":136,"context_line":"            # object is pinned and the obj_make_compatible methods are called"},{"line_number":137,"context_line":"            # to backport the object."},{"line_number":138,"context_line":"            entity \u003d entity.obj_to_primitive(target_version\u003dtarget_version)"},{"line_number":139,"context_line":"        return entity"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_39a81377","line":136,"updated":"2017-01-17 20:48:08.000000000","message":"nit s/obj_make_compatible methods are called to backport the object/entity\u0027s obj_make_compatible method is called to backport the object/","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":133,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":134,"context_line":"            target_version \u003d entity._get_target_version()"},{"line_number":135,"context_line":"            # NOTE(xek): Serialize outgoing object. If it is not None,"},{"line_number":136,"context_line":"            # object is pinned and the obj_make_compatible methods are called"},{"line_number":137,"context_line":"            # to backport the object."},{"line_number":138,"context_line":"            entity \u003d entity.obj_to_primitive(target_version\u003dtarget_version)"},{"line_number":139,"context_line":"        return entity"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_a7d803f1","line":136,"in_reply_to":"7a3c09a3_39a81377","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3781a3455018b831b0a511852632993991e9e71b","unresolved":false,"context_lines":[{"line_number":127,"context_line":"        if isinstance(entity, (tuple, list, set, dict)):"},{"line_number":128,"context_line":"            entity \u003d self._process_iterable(context, self.serialize_entity,"},{"line_number":129,"context_line":"                                            entity)"},{"line_number":130,"context_line":"        elif (hasattr(entity, \u0027obj_to_primitive\u0027)"},{"line_number":131,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":132,"context_line":"            target_version \u003d entity._get_target_version()"},{"line_number":133,"context_line":"            # NOTE(xek): If the version is pinned, target_version is an older"}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_c08015fa","line":130,"updated":"2017-02-07 17:12:38.000000000","message":"nit: perhaps we should log a warning if neither this nor L127 conditions are true?","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":127,"context_line":"        if isinstance(entity, (tuple, list, set, dict)):"},{"line_number":128,"context_line":"            entity \u003d self._process_iterable(context, self.serialize_entity,"},{"line_number":129,"context_line":"                                            entity)"},{"line_number":130,"context_line":"        elif (hasattr(entity, \u0027obj_to_primitive\u0027)"},{"line_number":131,"context_line":"              and callable(entity.obj_to_primitive)):"},{"line_number":132,"context_line":"            target_version \u003d entity._get_target_version()"},{"line_number":133,"context_line":"            # NOTE(xek): If the version is pinned, target_version is an older"}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_e4bb45e3","line":130,"in_reply_to":"1a430d35_c08015fa","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7d1c2e89e2fc03d400b22221a1b20dd6033dd2bb","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        return None"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    def _get_target_version(self):"},{"line_number":119,"context_line":"        version_manifest \u003d self._get_version_manifest()"},{"line_number":120,"context_line":"        if version_manifest:"},{"line_number":121,"context_line":"            return version_manifest[self.obj_name()]"},{"line_number":122,"context_line":"        return self.__class__.VERSION"}],"source_content_type":"text/x-python","patch_set":34,"id":"ba2be162_68f0b8ca","line":119,"updated":"2017-03-06 19:52:15.000000000","message":"Feels like this could just be inlined, I don\u0027t see it being used elsewhere. Not a blocker though.","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ee53168d65c4dd5c85018cc05c0a03ede4b3a9f","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        return None"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    def _get_target_version(self):"},{"line_number":119,"context_line":"        version_manifest \u003d self._get_version_manifest()"},{"line_number":120,"context_line":"        if version_manifest:"},{"line_number":121,"context_line":"            return version_manifest[self.obj_name()]"},{"line_number":122,"context_line":"        return self.__class__.VERSION"}],"source_content_type":"text/x-python","patch_set":34,"id":"9a30ddce_b207f416","line":119,"in_reply_to":"ba2be162_68f0b8ca","updated":"2017-03-09 18:32:17.000000000","message":"Good point.","commit_id":"a727cc17a2bdd43899295965d0723649d1e3c687"}],"ironic/tests/unit/common/test_release_mappings.py":[{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        self.RELEASE_MAPPING \u003d release_mappings.RELEASE_MAPPING"},{"line_number":39,"context_line":"        self.registered_objects \u003d copy.deepcopy("},{"line_number":40,"context_line":"            obj_base.IronicObjectRegistry.obj_classes())"},{"line_number":41,"context_line":"        if \u0027MyObj\u0027 in self.registered_objects:"},{"line_number":42,"context_line":"            del self.registered_objects[\u0027MyObj\u0027]"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def test_structure(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_af545954","line":41,"updated":"2016-12-30 20:32:06.000000000","message":"Why not just leave MyObj unregistered in the first place (presumably during base test setup)?","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"b84576644ece2b659e1f58950c47b50c295b98f4","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        self.RELEASE_MAPPING \u003d release_mappings.RELEASE_MAPPING"},{"line_number":39,"context_line":"        self.registered_objects \u003d copy.deepcopy("},{"line_number":40,"context_line":"            obj_base.IronicObjectRegistry.obj_classes())"},{"line_number":41,"context_line":"        if \u0027MyObj\u0027 in self.registered_objects:"},{"line_number":42,"context_line":"            del self.registered_objects[\u0027MyObj\u0027]"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def test_structure(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_420d9436","line":41,"in_reply_to":"ba5201f7_af545954","updated":"2017-01-09 15:21:18.000000000","message":"This will affect many tests, where MyObj is used as a OVO. (e.g. https://github.com/openstack/ironic/blob/master/ironic/tests/unit/objects/test_objects.py#L202 ), making them invalid.","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def test_structure(self):"},{"line_number":45,"context_line":"        for value in self.RELEASE_MAPPING.values():"},{"line_number":46,"context_line":"            self.assertEqual(True, isinstance(value, dict))"},{"line_number":47,"context_line":"            self.assertEqual(True, {\u0027rpc\u0027, \u0027objects\u0027} \u003d\u003d set(value))"},{"line_number":48,"context_line":"            self.assertEqual(True, isinstance(value[\u0027rpc\u0027], six.string_types))"},{"line_number":49,"context_line":"            self.assertEqual(True, isinstance(value[\u0027objects\u0027], dict))"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_2fc78913","line":46,"updated":"2016-12-30 20:32:06.000000000","message":"nit: assertIs is recommended for these cases: https://docs.python.org/2/library/unittest.html#unittest.TestCase.assertTrue","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"b84576644ece2b659e1f58950c47b50c295b98f4","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def test_structure(self):"},{"line_number":45,"context_line":"        for value in self.RELEASE_MAPPING.values():"},{"line_number":46,"context_line":"            self.assertEqual(True, isinstance(value, dict))"},{"line_number":47,"context_line":"            self.assertEqual(True, {\u0027rpc\u0027, \u0027objects\u0027} \u003d\u003d set(value))"},{"line_number":48,"context_line":"            self.assertEqual(True, isinstance(value[\u0027rpc\u0027], six.string_types))"},{"line_number":49,"context_line":"            self.assertEqual(True, isinstance(value[\u0027objects\u0027], dict))"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_6212985a","line":46,"in_reply_to":"ba5201f7_2fc78913","updated":"2017-01-09 15:21:18.000000000","message":"Done","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import copy"},{"line_number":16,"context_line":"from oslo_utils import versionutils"},{"line_number":17,"context_line":"import six"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from ironic.common import release_mappings"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_5c022d0b","line":16,"updated":"2017-01-17 20:48:08.000000000","message":"should put a blank line before this one to separate copy from this.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import copy"},{"line_number":16,"context_line":"from oslo_utils import versionutils"},{"line_number":17,"context_line":"import six"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from ironic.common import release_mappings"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_6717fb51","line":16,"in_reply_to":"7a3c09a3_5c022d0b","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        super(ReleaseMappingsTestCase, self).setUp()"},{"line_number":39,"context_line":"        self.RELEASE_MAPPING \u003d release_mappings.RELEASE_MAPPING"},{"line_number":40,"context_line":"        self.registered_objects \u003d copy.deepcopy("},{"line_number":41,"context_line":"            obj_base.IronicObjectRegistry.obj_classes())"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def test_structure(self):"},{"line_number":44,"context_line":"        for value in self.RELEASE_MAPPING.values():"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_dcea9dda","line":41,"updated":"2017-01-17 20:48:08.000000000","message":"just wondering. did you find that you needed to do a .deepcopy, because a back up (shallow) .copy is being done at https://github.com/openstack/ironic/blob/901171194bfecee9fc7233b9aafe7e721a201bd6/ironic/tests/base.py#L107","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        super(ReleaseMappingsTestCase, self).setUp()"},{"line_number":39,"context_line":"        self.RELEASE_MAPPING \u003d release_mappings.RELEASE_MAPPING"},{"line_number":40,"context_line":"        self.registered_objects \u003d copy.deepcopy("},{"line_number":41,"context_line":"            obj_base.IronicObjectRegistry.obj_classes())"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def test_structure(self):"},{"line_number":44,"context_line":"        for value in self.RELEASE_MAPPING.values():"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_ba1d7a68","line":41,"in_reply_to":"7a3c09a3_dcea9dda","updated":"2017-01-19 12:59:23.000000000","message":"I don\u0027t think a deep copy is needed here.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":47,"context_line":"            self.assertIs(True, isinstance(value[\u0027rpc\u0027], six.string_types))"},{"line_number":48,"context_line":"            self.assertIs(True, isinstance(value[\u0027objects\u0027], dict))"},{"line_number":49,"context_line":"            for obj_value in value[\u0027objects\u0027].values():"},{"line_number":50,"context_line":"                self.assertIs(True, isinstance(obj_value, six.string_types))"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def test_object_names_are_registered(self):"},{"line_number":53,"context_line":"        registered_objects \u003d set(self.registered_objects)"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_dccd3d67","line":50,"updated":"2017-01-17 20:48:08.000000000","message":"I don\u0027t know if it is worth doing or not, but if the versions must all be of the form x.y, we could call versionutils.convert_version_to_tuple() and check that the tuple is of length 2.\n\nBut you have tests (L64 \u0026 68) that compare the version strings so that is probably sufficient.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":47,"context_line":"            self.assertIs(True, isinstance(value[\u0027rpc\u0027], six.string_types))"},{"line_number":48,"context_line":"            self.assertIs(True, isinstance(value[\u0027objects\u0027], dict))"},{"line_number":49,"context_line":"            for obj_value in value[\u0027objects\u0027].values():"},{"line_number":50,"context_line":"                self.assertIs(True, isinstance(obj_value, six.string_types))"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def test_object_names_are_registered(self):"},{"line_number":53,"context_line":"        registered_objects \u003d set(self.registered_objects)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_9acb5e72","line":50,"in_reply_to":"7a3c09a3_dccd3d67","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        version_info \u003d str(version.version_info)"},{"line_number":60,"context_line":"        # NOTE(sborkows): We only need first two values from version (like 5.1)"},{"line_number":61,"context_line":"        current_release \u003d version_info[:version_info.rfind(\u0027.\u0027)]"},{"line_number":62,"context_line":"        self.assertIs(True, current_release in self.RELEASE_MAPPING)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def test_current_rpc_version(self):"},{"line_number":65,"context_line":"        self.assertEqual(self.RELEASE_MAPPING[\u0027future\u0027][\u0027rpc\u0027],"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_fc8759b2","line":62,"updated":"2017-01-17 20:48:08.000000000","message":"why don\u0027t you just do self.assertTrue(current_release in ...) ?","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        version_info \u003d str(version.version_info)"},{"line_number":60,"context_line":"        # NOTE(sborkows): We only need first two values from version (like 5.1)"},{"line_number":61,"context_line":"        current_release \u003d version_info[:version_info.rfind(\u0027.\u0027)]"},{"line_number":62,"context_line":"        self.assertIs(True, current_release in self.RELEASE_MAPPING)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def test_current_rpc_version(self):"},{"line_number":65,"context_line":"        self.assertEqual(self.RELEASE_MAPPING[\u0027future\u0027][\u0027rpc\u0027],"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_1aa68ec1","line":62,"in_reply_to":"7a3c09a3_fc8759b2","updated":"2017-01-19 12:59:23.000000000","message":"or assertIn (Done)","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def test_current_rpc_version(self):"},{"line_number":65,"context_line":"        self.assertEqual(self.RELEASE_MAPPING[\u0027future\u0027][\u0027rpc\u0027],"},{"line_number":66,"context_line":"                         rpcapi.ConductorAPI.RPC_API_VERSION)"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def test_current_object_versions(self):"},{"line_number":69,"context_line":"        for obj, objver in self.RELEASE_MAPPING[\u0027future\u0027][\u0027objects\u0027].items():"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_bf594337","line":66,"updated":"2017-01-17 20:48:08.000000000","message":"i think it might be better the other way, expected \u003d conductor api, actual is what is in .RELEASE_MAPPING?","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def test_current_rpc_version(self):"},{"line_number":65,"context_line":"        self.assertEqual(self.RELEASE_MAPPING[\u0027future\u0027][\u0027rpc\u0027],"},{"line_number":66,"context_line":"                         rpcapi.ConductorAPI.RPC_API_VERSION)"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def test_current_object_versions(self):"},{"line_number":69,"context_line":"        for obj, objver in self.RELEASE_MAPPING[\u0027future\u0027][\u0027objects\u0027].items():"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_fab542d0","line":66,"in_reply_to":"7a3c09a3_bf594337","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        self.assertEqual(object_names, model_names)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_rpc_and_objects_versions_supported(self):"},{"line_number":84,"context_line":"        self.assertIs(True, \u0027future\u0027 in self.RELEASE_MAPPING)"},{"line_number":85,"context_line":"        current_release \u003d self.RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":86,"context_line":"        self.assertIs(True, _check_versions_compatibility("},{"line_number":87,"context_line":"            current_release[\u0027rpc\u0027], rpcapi.ConductorAPI.RPC_API_VERSION))"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_bf7ea367","line":84,"updated":"2017-01-17 20:48:08.000000000","message":"why not self.assertTrue(\u0027future\u0027 in ...)","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        self.assertEqual(object_names, model_names)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_rpc_and_objects_versions_supported(self):"},{"line_number":84,"context_line":"        self.assertIs(True, \u0027future\u0027 in self.RELEASE_MAPPING)"},{"line_number":85,"context_line":"        current_release \u003d self.RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":86,"context_line":"        self.assertIs(True, _check_versions_compatibility("},{"line_number":87,"context_line":"            current_release[\u0027rpc\u0027], rpcapi.ConductorAPI.RPC_API_VERSION))"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_7aca3251","line":84,"in_reply_to":"7a3c09a3_bf7ea367","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    def test_rpc_and_objects_versions_supported(self):"},{"line_number":84,"context_line":"        self.assertIs(True, \u0027future\u0027 in self.RELEASE_MAPPING)"},{"line_number":85,"context_line":"        current_release \u003d self.RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":86,"context_line":"        self.assertIs(True, _check_versions_compatibility("},{"line_number":87,"context_line":"            current_release[\u0027rpc\u0027], rpcapi.ConductorAPI.RPC_API_VERSION))"},{"line_number":88,"context_line":"        for obj_name, obj_ver in current_release[\u0027objects\u0027].items():"},{"line_number":89,"context_line":"            self.assertIs(True, _check_versions_compatibility("}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_3fe2b32f","line":86,"updated":"2017-01-17 20:48:08.000000000","message":"ditto","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    def test_rpc_and_objects_versions_supported(self):"},{"line_number":84,"context_line":"        self.assertIs(True, \u0027future\u0027 in self.RELEASE_MAPPING)"},{"line_number":85,"context_line":"        current_release \u003d self.RELEASE_MAPPING[\u0027future\u0027]"},{"line_number":86,"context_line":"        self.assertIs(True, _check_versions_compatibility("},{"line_number":87,"context_line":"            current_release[\u0027rpc\u0027], rpcapi.ConductorAPI.RPC_API_VERSION))"},{"line_number":88,"context_line":"        for obj_name, obj_ver in current_release[\u0027objects\u0027].items():"},{"line_number":89,"context_line":"            self.assertIs(True, _check_versions_compatibility("}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_3ae7cae5","line":86,"in_reply_to":"7a3c09a3_3fe2b32f","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        self.assertIs(True, _check_versions_compatibility("},{"line_number":87,"context_line":"            current_release[\u0027rpc\u0027], rpcapi.ConductorAPI.RPC_API_VERSION))"},{"line_number":88,"context_line":"        for obj_name, obj_ver in current_release[\u0027objects\u0027].items():"},{"line_number":89,"context_line":"            self.assertIs(True, _check_versions_compatibility("},{"line_number":90,"context_line":"                obj_ver, self.registered_objects[obj_name][0].VERSION))"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_9fc9e7ae","line":89,"updated":"2017-01-17 20:48:08.000000000","message":"ditto","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        self.assertIs(True, _check_versions_compatibility("},{"line_number":87,"context_line":"            current_release[\u0027rpc\u0027], rpcapi.ConductorAPI.RPC_API_VERSION))"},{"line_number":88,"context_line":"        for obj_name, obj_ver in current_release[\u0027objects\u0027].items():"},{"line_number":89,"context_line":"            self.assertIs(True, _check_versions_compatibility("},{"line_number":90,"context_line":"                obj_ver, self.registered_objects[obj_name][0].VERSION))"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_5aec96c7","line":89,"in_reply_to":"7a3c09a3_9fc9e7ae","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db479bc550a7c7cb027ee5e71e5883b2e5d884f0","unresolved":false,"context_lines":[{"line_number":12,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import six"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_utils import versionutils"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_c5c41e94","line":15,"updated":"2017-01-19 15:07:27.000000000","message":"this should go after oslo_utils. (six isn\u0027t a python standard library).","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5345da0d6aaf35ad58c0731375f1852c68d8536f","unresolved":false,"context_lines":[{"line_number":12,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import six"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_utils import versionutils"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_f29a346d","line":15,"in_reply_to":"5a3905b3_c5c41e94","updated":"2017-01-23 12:36:02.000000000","message":"Done","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db479bc550a7c7cb027ee5e71e5883b2e5d884f0","unresolved":false,"context_lines":[{"line_number":43,"context_line":"            for obj_value in value[\u0027objects\u0027].values():"},{"line_number":44,"context_line":"                self.assertIs(True, isinstance(obj_value, six.string_types))"},{"line_number":45,"context_line":"                tuple_ver \u003d versionutils.convert_version_to_tuple(obj_value)"},{"line_number":46,"context_line":"                self.assertEqual(len(tuple_ver), 2)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def test_object_names_are_registered(self):"},{"line_number":49,"context_line":"        registered_objects \u003d set(obj_base.IronicObjectRegistry.obj_classes())"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_dac79d43","line":46,"updated":"2017-01-19 15:07:27.000000000","message":"nit: we do (expected, actual) so it should be assertEqual(2, len(..))","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5345da0d6aaf35ad58c0731375f1852c68d8536f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"            for obj_value in value[\u0027objects\u0027].values():"},{"line_number":44,"context_line":"                self.assertIs(True, isinstance(obj_value, six.string_types))"},{"line_number":45,"context_line":"                tuple_ver \u003d versionutils.convert_version_to_tuple(obj_value)"},{"line_number":46,"context_line":"                self.assertEqual(len(tuple_ver), 2)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def test_object_names_are_registered(self):"},{"line_number":49,"context_line":"        registered_objects \u003d set(obj_base.IronicObjectRegistry.obj_classes())"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_128a601b","line":46,"in_reply_to":"5a3905b3_dac79d43","updated":"2017-01-23 12:36:02.000000000","message":"Done","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3781a3455018b831b0a511852632993991e9e71b","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"\"\""},{"line_number":36,"context_line":"    def test_structure(self):"},{"line_number":37,"context_line":"        for value in RELEASE_MAPPING.values():"},{"line_number":38,"context_line":"            self.assertIs(True, isinstance(value, dict))"},{"line_number":39,"context_line":"            self.assertIs(True, {\u0027rpc\u0027, \u0027objects\u0027} \u003d\u003d set(value))"},{"line_number":40,"context_line":"            self.assertIs(True, isinstance(value[\u0027rpc\u0027], six.string_types))"},{"line_number":41,"context_line":"            self.assertIs(True, isinstance(value[\u0027objects\u0027], dict))"}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_5bb5f42e","line":38,"range":{"start_line":38,"start_character":12,"end_line":38,"end_character":25},"updated":"2017-02-07 17:12:38.000000000","message":"nit: these can all be assertTrue, like L83","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"fa8f27a134f8468699ff275c669af7a055025fa7","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"\"\""},{"line_number":36,"context_line":"    def test_structure(self):"},{"line_number":37,"context_line":"        for value in RELEASE_MAPPING.values():"},{"line_number":38,"context_line":"            self.assertIs(True, isinstance(value, dict))"},{"line_number":39,"context_line":"            self.assertIs(True, {\u0027rpc\u0027, \u0027objects\u0027} \u003d\u003d set(value))"},{"line_number":40,"context_line":"            self.assertIs(True, isinstance(value[\u0027rpc\u0027], six.string_types))"},{"line_number":41,"context_line":"            self.assertIs(True, isinstance(value[\u0027objects\u0027], dict))"}],"source_content_type":"text/x-python","patch_set":30,"id":"1a430d35_f366a8eb","line":38,"range":{"start_line":38,"start_character":12,"end_line":38,"end_character":25},"in_reply_to":"1a430d35_5bb5f42e","updated":"2017-02-08 12:43:18.000000000","message":"Done","commit_id":"5a36c76e0651b55c6fa3253c8742004fa2f7a9a4"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"f6a3f2709d9ec98fa5197da108dfabd5550050b7","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    Returns True if the configured version is \u003c\u003d the actual version;"},{"line_number":30,"context_line":"    otherwise returns False."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_0e5c0ceb","line":32,"updated":"2017-03-28 18:59:05.000000000","message":"nit: missing : before param","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"d1cffebc20e890b64d68007c14f77f6b2936de69","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    Returns True if the configured version is \u003c\u003d the actual version;"},{"line_number":30,"context_line":"    otherwise returns False."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_4de0c526","line":32,"in_reply_to":"ffe62b97_0e5c0ceb","updated":"2017-03-29 01:25:58.000000000","message":"Definitely should be followed up.","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33a75e3b79cee1f3e47c2b5bae13762df43a0dae","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    Returns True if the configured version is \u003c\u003d the actual version;"},{"line_number":30,"context_line":"    otherwise returns False."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"}],"source_content_type":"text/x-python","patch_set":38,"id":"dfeb2761_75097593","line":32,"in_reply_to":"ffe62b97_2c2203ba","updated":"2017-04-03 15:59:41.000000000","message":"i am odd, i like docstrings everywhere. So yeah, I added it :)","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"4df80a8996eb24c478feee6cebb72e4c30d1e0f2","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    Returns True if the configured version is \u003c\u003d the actual version;"},{"line_number":30,"context_line":"    otherwise returns False."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_2c2203ba","line":32,"in_reply_to":"ffe62b97_4de0c526","updated":"2017-03-29 16:06:57.000000000","message":"I\u0027m amazed we docstring\u0027d a private function in a unit test file :)","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"f6a3f2709d9ec98fa5197da108dfabd5550050b7","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    otherwise returns False."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"},{"line_number":36,"context_line":"    actual_cap \u003d versionutils.convert_version_to_tuple(actual_version)"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_ce718478","line":33,"updated":"2017-03-28 18:59:05.000000000","message":"ditto","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"4df80a8996eb24c478feee6cebb72e4c30d1e0f2","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"},{"line_number":36,"context_line":"    actual_cap \u003d versionutils.convert_version_to_tuple(actual_version)"},{"line_number":37,"context_line":"    return conf_cap \u003c\u003d actual_cap"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_cc1cb779","line":34,"updated":"2017-03-29 16:06:57.000000000","message":"Add :returns: if we\u0027re going to docstring this?","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33a75e3b79cee1f3e47c2b5bae13762df43a0dae","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    param conf_version: configured version, a string with dots"},{"line_number":33,"context_line":"    param actual_version: actual version, a string with dots"},{"line_number":34,"context_line":"    \"\"\""},{"line_number":35,"context_line":"    conf_cap \u003d versionutils.convert_version_to_tuple(conf_version)"},{"line_number":36,"context_line":"    actual_cap \u003d versionutils.convert_version_to_tuple(actual_version)"},{"line_number":37,"context_line":"    return conf_cap \u003c\u003d actual_cap"}],"source_content_type":"text/x-python","patch_set":38,"id":"dfeb2761_f5222501","line":34,"in_reply_to":"ffe62b97_cc1cb779","updated":"2017-04-03 15:59:41.000000000","message":"done in followup","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"d1cffebc20e890b64d68007c14f77f6b2936de69","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        exceptions \u003d set([\u0027NodeTag\u0027, \u0027ConductorHardwareInterfaces\u0027])"},{"line_number":81,"context_line":"        # NOTE(xek): As a rule, all models which can be changed between"},{"line_number":82,"context_line":"        # releases or are sent through RPC should have their counterpart"},{"line_number":83,"context_line":"        # versioned objects. This means all, but very simple models."},{"line_number":84,"context_line":"        model_names -\u003d exceptions"},{"line_number":85,"context_line":"        object_names \u003d set(RELEASE_MAPPING[\u0027master\u0027][\u0027objects\u0027])"},{"line_number":86,"context_line":"        self.assertEqual(model_names, object_names)"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_ed58b9fa","line":83,"range":{"start_line":83,"start_character":43,"end_line":83,"end_character":67},"updated":"2017-03-29 01:25:58.000000000","message":"Super minor nit: We likely should just end this at period.  Who defines what simple means in this context.","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"33a75e3b79cee1f3e47c2b5bae13762df43a0dae","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        exceptions \u003d set([\u0027NodeTag\u0027, \u0027ConductorHardwareInterfaces\u0027])"},{"line_number":81,"context_line":"        # NOTE(xek): As a rule, all models which can be changed between"},{"line_number":82,"context_line":"        # releases or are sent through RPC should have their counterpart"},{"line_number":83,"context_line":"        # versioned objects. This means all, but very simple models."},{"line_number":84,"context_line":"        model_names -\u003d exceptions"},{"line_number":85,"context_line":"        object_names \u003d set(RELEASE_MAPPING[\u0027master\u0027][\u0027objects\u0027])"},{"line_number":86,"context_line":"        self.assertEqual(model_names, object_names)"}],"source_content_type":"text/x-python","patch_set":38,"id":"dfeb2761_b51c9dc1","line":83,"range":{"start_line":83,"start_character":43,"end_line":83,"end_character":67},"in_reply_to":"ffe62b97_2f3e75b7","updated":"2017-04-03 15:59:41.000000000","message":"done in followup","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"4df80a8996eb24c478feee6cebb72e4c30d1e0f2","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        exceptions \u003d set([\u0027NodeTag\u0027, \u0027ConductorHardwareInterfaces\u0027])"},{"line_number":81,"context_line":"        # NOTE(xek): As a rule, all models which can be changed between"},{"line_number":82,"context_line":"        # releases or are sent through RPC should have their counterpart"},{"line_number":83,"context_line":"        # versioned objects. This means all, but very simple models."},{"line_number":84,"context_line":"        model_names -\u003d exceptions"},{"line_number":85,"context_line":"        object_names \u003d set(RELEASE_MAPPING[\u0027master\u0027][\u0027objects\u0027])"},{"line_number":86,"context_line":"        self.assertEqual(model_names, object_names)"}],"source_content_type":"text/x-python","patch_set":38,"id":"ffe62b97_2f3e75b7","line":83,"range":{"start_line":83,"start_character":43,"end_line":83,"end_character":67},"in_reply_to":"ffe62b97_ed58b9fa","updated":"2017-03-29 16:06:57.000000000","message":"I think simple is defined here by \"we don\u0027t have versioned objects for these (yet).\" I agree that doesn\u0027t necessarily imply simple :)","commit_id":"9bc06783ecaff5eef58535904abc12ea15982329"}],"ironic/tests/unit/conductor/test_rpcapi.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db479bc550a7c7cb027ee5e71e5883b2e5d884f0","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    def test_version_cap(self, mock_get_client):"},{"line_number":50,"context_line":"        conductor_rpcapi.ConductorAPI()"},{"line_number":51,"context_line":"        self.assertEqual(mock_get_client.call_args[0][1],"},{"line_number":52,"context_line":"                         conductor_rpcapi.ConductorAPI.RPC_API_VERSION)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @mock.patch(\u0027ironic.common.release_mappings.RELEASE_MAPPING\u0027)"},{"line_number":55,"context_line":"    @mock.patch(\u0027ironic.common.rpc.get_client\u0027)"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_7a44e973","line":52,"updated":"2017-01-19 15:07:27.000000000","message":"I think it is the other way, expected \u003d\u003d the conductor RPC.. value, right?","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5345da0d6aaf35ad58c0731375f1852c68d8536f","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    def test_version_cap(self, mock_get_client):"},{"line_number":50,"context_line":"        conductor_rpcapi.ConductorAPI()"},{"line_number":51,"context_line":"        self.assertEqual(mock_get_client.call_args[0][1],"},{"line_number":52,"context_line":"                         conductor_rpcapi.ConductorAPI.RPC_API_VERSION)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @mock.patch(\u0027ironic.common.release_mappings.RELEASE_MAPPING\u0027)"},{"line_number":55,"context_line":"    @mock.patch(\u0027ironic.common.rpc.get_client\u0027)"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_12918047","line":52,"in_reply_to":"5a3905b3_7a44e973","updated":"2017-01-23 12:36:02.000000000","message":"Done","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db479bc550a7c7cb027ee5e71e5883b2e5d884f0","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        CONF.set_override(\u0027pin_release_version\u0027, \u00276.2\u0027, enforce_type\u003dTrue)"},{"line_number":58,"context_line":"        mock_release_mapping.get.return_value \u003d {\u0027rpc\u0027: \u00273\u0027}"},{"line_number":59,"context_line":"        conductor_rpcapi.ConductorAPI()"},{"line_number":60,"context_line":"        self.assertEqual(mock_get_client.call_args[0][1], \u00273\u0027)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class RPCAPITestCase(base.DbTestCase):"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_da095d33","line":60,"updated":"2017-01-19 15:07:27.000000000","message":"ditto","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"5345da0d6aaf35ad58c0731375f1852c68d8536f","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        CONF.set_override(\u0027pin_release_version\u0027, \u00276.2\u0027, enforce_type\u003dTrue)"},{"line_number":58,"context_line":"        mock_release_mapping.get.return_value \u003d {\u0027rpc\u0027: \u00273\u0027}"},{"line_number":59,"context_line":"        conductor_rpcapi.ConductorAPI()"},{"line_number":60,"context_line":"        self.assertEqual(mock_get_client.call_args[0][1], \u00273\u0027)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class RPCAPITestCase(base.DbTestCase):"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_52978839","line":60,"in_reply_to":"5a3905b3_da095d33","updated":"2017-01-23 12:36:02.000000000","message":"Done","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"}],"ironic/tests/unit/objects/test_objects.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d766ad613e30cd9d338d4c21cbcb751d1a842abb","unresolved":false,"context_lines":[{"line_number":466,"context_line":"            thing2 \u003d ser.deserialize_entity(self.context, primitive)"},{"line_number":467,"context_line":"            self.assertEqual(1, len(thing2))"},{"line_number":468,"context_line":"            for item in thing2:"},{"line_number":469,"context_line":"                self.assertIsInstance(item, MyObj)"},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"    @mock.patch(\u0027ironic.objects.base.IronicObject.indirection_api\u0027)"},{"line_number":472,"context_line":"    def _test_deserialize_entity_newer(self, obj_version, backported_to,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_cfcdc086","line":469,"updated":"2016-12-14 22:42:46.000000000","message":"wondering if there is a useful unit test for the changes made to serialize_entity().","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"4f21cd1f91b8f9dc3ce21943130e6aad2492d57a","unresolved":false,"context_lines":[{"line_number":466,"context_line":"            thing2 \u003d ser.deserialize_entity(self.context, primitive)"},{"line_number":467,"context_line":"            self.assertEqual(1, len(thing2))"},{"line_number":468,"context_line":"            for item in thing2:"},{"line_number":469,"context_line":"                self.assertIsInstance(item, MyObj)"},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"    @mock.patch(\u0027ironic.objects.base.IronicObject.indirection_api\u0027)"},{"line_number":472,"context_line":"    def _test_deserialize_entity_newer(self, obj_version, backported_to,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a6eadb0_1b9a966e","line":469,"in_reply_to":"1a6eadb0_cfcdc086","updated":"2016-12-21 09:57:48.000000000","message":"I\u0027m removing _get_target_version, so I removed the tests below and added some tests for serialize_entity.","commit_id":"bc1803e6c7d2a7320d6ea9ae4b089b9bb703df8c"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"0c997ebb015404062bc0b9ddb7c7ca729281c5d7","unresolved":false,"context_lines":[{"line_number":33,"context_line":"CONF \u003d cfg.CONF"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"@base.IronicObjectRegistry.register"},{"line_number":37,"context_line":"class MyObj(base.IronicObject, object_base.VersionedObjectDictCompat):"},{"line_number":38,"context_line":"    VERSION \u003d \u00271.5\u0027"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_6fd191cd","line":36,"updated":"2016-12-30 20:32:06.000000000","message":"This is where you can declare MyObj unregistered if you like:\n\n@base.IronicObjectRegistry.register_if(False)","commit_id":"1738e803aff2bdc73a41797a5f63820707afaa01"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a6ebb7e92327c229621804180fdf07008abb727a","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import iso8601"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"import mock"},{"line_number":21,"context_line":"from oslo_config import cfg"},{"line_number":22,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":23,"context_line":"from oslo_versionedobjects import exception as object_exception"},{"line_number":24,"context_line":"from oslo_versionedobjects import fixture as object_fixture"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_256b4bb8","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":27},"updated":"2017-01-18 16:59:34.000000000","message":"ironic.conf please","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":534,"context_line":"        obj \u003d MyObj(self.context)"},{"line_number":535,"context_line":"        obj.foo \u003d 1"},{"line_number":536,"context_line":"        obj.bar \u003d \u0027text\u0027"},{"line_number":537,"context_line":"        obj.missing \u003d \u0027text\u0027"},{"line_number":538,"context_line":"        primitive \u003d serializer.serialize_entity(self.context, obj)"},{"line_number":539,"context_line":"        self.assertEqual(\u00271.5\u0027, primitive[\u0027ironic_object.version\u0027])"},{"line_number":540,"context_line":"        data \u003d primitive[\u0027ironic_object.data\u0027]"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_8167cfe7","line":537,"updated":"2017-01-17 20:48:08.000000000","message":"nit, better to use something other than \u0027text\u0027, since that\u0027s what .bar is.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":534,"context_line":"        obj \u003d MyObj(self.context)"},{"line_number":535,"context_line":"        obj.foo \u003d 1"},{"line_number":536,"context_line":"        obj.bar \u003d \u0027text\u0027"},{"line_number":537,"context_line":"        obj.missing \u003d \u0027text\u0027"},{"line_number":538,"context_line":"        primitive \u003d serializer.serialize_entity(self.context, obj)"},{"line_number":539,"context_line":"        self.assertEqual(\u00271.5\u0027, primitive[\u0027ironic_object.version\u0027])"},{"line_number":540,"context_line":"        data \u003d primitive[\u0027ironic_object.data\u0027]"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_7a26b217","line":537,"in_reply_to":"7a3c09a3_8167cfe7","updated":"2017-01-19 12:59:23.000000000","message":"Done","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b0cd1c5943ebe815ed86f75cd21eab8774ecd784","unresolved":false,"context_lines":[{"line_number":588,"context_line":"        primitive \u003d serializer.serialize_entity(self.context, obj)"},{"line_number":589,"context_line":"        self.assertEqual(\u00271.5\u0027, primitive[\u0027ironic_object.version\u0027])"},{"line_number":590,"context_line":""},{"line_number":591,"context_line":""},{"line_number":592,"context_line":"class TestRegistry(test_base.TestCase):"},{"line_number":593,"context_line":"    @mock.patch(\u0027ironic.objects.base.objects\u0027)"},{"line_number":594,"context_line":"    def test_hook_chooses_newer_properly(self, mock_objects):"}],"source_content_type":"text/x-python","patch_set":22,"id":"7a3c09a3_fca11cf9","line":591,"updated":"2017-01-17 20:48:08.000000000","message":"we don\u0027t seem to have a test_base.py that tests the code in ironic/objects/base.py. I guess that\u0027s what this file does...\n\nAnyway, I was wondering if we want to have explicit tests for _get_version_manifest() and _get_target_version(). They are both fairly simplistic, and most? of that is tested via the above tests, so I\u0027m fine with yes, no, or in a separate patch :)","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fdcd39b3daa65d466dd7130b300b81716e91a236","unresolved":false,"context_lines":[{"line_number":588,"context_line":"        primitive \u003d serializer.serialize_entity(self.context, obj)"},{"line_number":589,"context_line":"        self.assertEqual(\u00271.5\u0027, primitive[\u0027ironic_object.version\u0027])"},{"line_number":590,"context_line":""},{"line_number":591,"context_line":""},{"line_number":592,"context_line":"class TestRegistry(test_base.TestCase):"},{"line_number":593,"context_line":"    @mock.patch(\u0027ironic.objects.base.objects\u0027)"},{"line_number":594,"context_line":"    def test_hook_chooses_newer_properly(self, mock_objects):"}],"source_content_type":"text/x-python","patch_set":22,"id":"5a3905b3_5abbb672","line":591,"in_reply_to":"7a3c09a3_fca11cf9","updated":"2017-01-19 12:59:23.000000000","message":"I\u0027ll add the tests for _get_target_version() in the \u0027Add version column\u0027 patch, since it gets a bit modified in that patch.","commit_id":"597d83d1b001c4d2c751ffdd8a6307c9b5bc0b3f"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"d2544f23155e5381a6f07bb02c751e87106c31c9","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import iso8601"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"import mock"},{"line_number":21,"context_line":"from ironic.conf import CONF"},{"line_number":22,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":23,"context_line":"from oslo_versionedobjects import exception as object_exception"},{"line_number":24,"context_line":"from oslo_versionedobjects import fixture as object_fixture"}],"source_content_type":"text/x-python","patch_set":25,"id":"5a3905b3_77b084de","line":21,"updated":"2017-01-19 14:48:29.000000000","message":"pep8 complaints here, please fix.","commit_id":"a9e89b34cc51e308a2f7d1086a434cb00077175d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1474bd878aa7c0767fa066ed8cba2bf06d167ae9","unresolved":false,"context_lines":[{"line_number":17,"context_line":"import gettext"},{"line_number":18,"context_line":"import iso8601"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from ironic.conf import CONF"},{"line_number":21,"context_line":"import mock"},{"line_number":22,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":23,"context_line":"from oslo_versionedobjects import exception as object_exception"}],"source_content_type":"text/x-python","patch_set":26,"id":"5a3905b3_73c7a612","line":20,"updated":"2017-01-19 19:48:07.000000000","message":"this needs to go after L27\n\nI\u0027m not sure pep8 will like this.","commit_id":"3a5aa5ebf7e5f4a29f3ea2adcc4b15d55df3f8b0"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad5e6a279f75d6889ebd42cae0dbf6e97abf7a64","unresolved":false,"context_lines":[{"line_number":17,"context_line":"import gettext"},{"line_number":18,"context_line":"import iso8601"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from ironic.conf import CONF"},{"line_number":21,"context_line":"import mock"},{"line_number":22,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":23,"context_line":"from oslo_versionedobjects import exception as object_exception"}],"source_content_type":"text/x-python","patch_set":26,"id":"5a3905b3_92a570a3","line":20,"in_reply_to":"5a3905b3_73c7a612","updated":"2017-01-23 12:35:31.000000000","message":"Done","commit_id":"3a5aa5ebf7e5f4a29f3ea2adcc4b15d55df3f8b0"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"979c8a40edcc8e0763299309375f33bb3ac38434","unresolved":false,"context_lines":[{"line_number":17,"context_line":"import gettext"},{"line_number":18,"context_line":"import iso8601"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from ironic.conf import CONF"},{"line_number":21,"context_line":"import mock"},{"line_number":22,"context_line":"from oslo_versionedobjects import base as object_base"},{"line_number":23,"context_line":"from oslo_versionedobjects import exception as object_exception"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_f9f6f9f7","line":20,"updated":"2017-01-20 09:06:14.000000000","message":"I\u0027d hate to -1 because of this, it needs to be in the third group of imports, as it\u0027s ironic.conf :)","commit_id":"ca396ad1aec5dffc1f3aaf43710f18d6a00bde0f"}]}
