)]}'
{"doc/source/contributor/upgrade_checks.rst":[{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7fe7ddf6b7d18771b831d887ed27367175354624","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Introduction"},{"line_number":29,"context_line":"------------"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contain checks which performs a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"3rd party plugins checks"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_b83635b2","line":31,"range":{"start_line":31,"start_character":42,"end_line":31,"end_character":49},"updated":"2018-12-12 22:28:48.000000000","message":"contains","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7fe7ddf6b7d18771b831d887ed27367175354624","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Introduction"},{"line_number":29,"context_line":"------------"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contain checks which performs a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"3rd party plugins checks"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_983d798d","line":31,"range":{"start_line":31,"start_character":63,"end_line":31,"end_character":71},"updated":"2018-12-12 22:28:48.000000000","message":"perform","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"d510543f6f7d4782c6de113aee6a1f536236a139","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Introduction"},{"line_number":29,"context_line":"------------"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contain checks which performs a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"3rd party plugins checks"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_714ae125","line":31,"range":{"start_line":31,"start_character":63,"end_line":31,"end_character":71},"in_reply_to":"3f79a3b5_983d798d","updated":"2018-12-13 22:15:29.000000000","message":"Done","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"d510543f6f7d4782c6de113aee6a1f536236a139","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Introduction"},{"line_number":29,"context_line":"------------"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contain checks which performs a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"3rd party plugins checks"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_91477d1c","line":31,"range":{"start_line":31,"start_character":42,"end_line":31,"end_character":49},"in_reply_to":"3f79a3b5_b83635b2","updated":"2018-12-13 22:15:29.000000000","message":"Done","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"0c4fb1cb1bb299e94f4daf05897bdb66c77a333d","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Neutron upgrade checks script allows to add check functions by stadium and 3rd"},{"line_number":38,"context_line":"party projects."},{"line_number":39,"context_line":"The ``neutron-status`` script detects which sub-projects have been installed by"},{"line_number":40,"context_line":"enumerating the ``neutron.status.upgrade.checks`` entrypoints. For more details"},{"line_number":41,"context_line":"see the `Entry Points section of Contributing extensions to Neutron"},{"line_number":42,"context_line":"\u003ccontribute.html#entry-points\u003e`_."},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_4fe77911","line":40,"updated":"2018-11-26 14:38:16.000000000","message":"I know we had discussed ordering of checks before. Does it make sense to add a ref/note for that here?","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"d510543f6f7d4782c6de113aee6a1f536236a139","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Neutron upgrade checks script allows to add check functions by stadium and 3rd"},{"line_number":38,"context_line":"party projects."},{"line_number":39,"context_line":"The ``neutron-status`` script detects which sub-projects have been installed by"},{"line_number":40,"context_line":"enumerating the ``neutron.status.upgrade.checks`` entrypoints. For more details"},{"line_number":41,"context_line":"see the `Entry Points section of Contributing extensions to Neutron"},{"line_number":42,"context_line":"\u003ccontribute.html#entry-points\u003e`_."},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_b1987968","line":40,"in_reply_to":"3f79a3b5_4fe77911","updated":"2018-12-13 22:15:29.000000000","message":"Done","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7fe7ddf6b7d18771b831d887ed27367175354624","unresolved":false,"context_lines":[{"line_number":45,"context_line":"``neutron-status`` script and variable ``CHECK_NAME`` which contains name of"},{"line_number":46,"context_line":"check which will be displayed in summary of script run."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"In ``neutron.cmd.upgrade_checks.noop`` example of simple check function can be"},{"line_number":49,"context_line":"found."}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_38f8e5c0","line":49,"range":{"start_line":48,"start_character":0,"end_line":49,"end_character":6},"updated":"2018-12-12 22:28:48.000000000","message":"To me this sounds like Yoda ;-). I would re-phrase it as:\n\nAn example of a simple check function con be found in ``neutron.cmd.upgrade_checks.noop``.","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"d510543f6f7d4782c6de113aee6a1f536236a139","unresolved":false,"context_lines":[{"line_number":45,"context_line":"``neutron-status`` script and variable ``CHECK_NAME`` which contains name of"},{"line_number":46,"context_line":"check which will be displayed in summary of script run."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"In ``neutron.cmd.upgrade_checks.noop`` example of simple check function can be"},{"line_number":49,"context_line":"found."}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_31854903","line":49,"range":{"start_line":48,"start_character":0,"end_line":49,"end_character":6},"in_reply_to":"3f79a3b5_38f8e5c0","updated":"2018-12-13 22:15:29.000000000","message":"LOL, indeed. Changed","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contains checks which perform a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"3rd party plugins checks"},{"line_number":35,"context_line":"------------------------"},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3f79a3b5_e3b5b9f0","line":33,"updated":"2018-12-14 14:34:03.000000000","message":"Is there more documentation somewhere for the command to reference? Yeah there is:\n\nhttps://docs.openstack.org/neutron/latest/cli/neutron-status.html\n\nCan we link to that as well here for context?","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contains checks which perform a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"3rd party plugins checks"},{"line_number":35,"context_line":"------------------------"},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3f79a3b5_43fa6d45","line":33,"in_reply_to":"3f79a3b5_e3b5b9f0","updated":"2018-12-14 15:07:14.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":45,"context_line":"The recommended entry point name is a repository name: For example,"},{"line_number":46,"context_line":"\u0027neutron-fwaas\u0027 for FWaaS and \u0027networking-sfc\u0027 for SFC:"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":".. code-block:: none"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    neutron.status.upgrade.checks \u003d"},{"line_number":51,"context_line":"        neutron-fwaas \u003d neutron_fwaas.upgrade.checks:Checks"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3f79a3b5_43c6ed6c","line":48,"range":{"start_line":48,"start_character":16,"end_line":48,"end_character":20},"updated":"2018-12-14 14:34:03.000000000","message":"nit: this could probably be ini right? setup.cfg is just an ini file.","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":45,"context_line":"The recommended entry point name is a repository name: For example,"},{"line_number":46,"context_line":"\u0027neutron-fwaas\u0027 for FWaaS and \u0027networking-sfc\u0027 for SFC:"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":".. code-block:: none"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    neutron.status.upgrade.checks \u003d"},{"line_number":51,"context_line":"        neutron-fwaas \u003d neutron_fwaas.upgrade.checks:Checks"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3f79a3b5_63f52953","line":48,"range":{"start_line":48,"start_character":16,"end_line":48,"end_character":20},"in_reply_to":"3f79a3b5_43c6ed6c","updated":"2018-12-14 15:07:14.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"be088ffc85f0310ccc2b7140c58520019296a019","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contains checks which perform a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":"For more details see `neutron-status command-line client"},{"line_number":34,"context_line":"\u003c../cli/neutron-status.html\u003e`_ page."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"3rd party plugins checks"},{"line_number":37,"context_line":"------------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3f79a3b5_790ab829","line":34,"range":{"start_line":33,"start_character":21,"end_line":34,"end_character":30},"updated":"2018-12-14 16:13:59.000000000","message":"I think you can just do:\n\nFor more details, see: :doc:`\u003c/cli/neutron-status\u003e`","commit_id":"04c1cab137afbde144b93c141faee4ae5d018a4b"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"2ca82dfcf76866f796983e8cb27ab6024117e18e","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"CLI tool ``neutron-status upgrade check`` contains checks which perform a"},{"line_number":32,"context_line":"release-specific readiness check before restarting services with new code."},{"line_number":33,"context_line":"For more details see `neutron-status command-line client"},{"line_number":34,"context_line":"\u003c../cli/neutron-status.html\u003e`_ page."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"3rd party plugins checks"},{"line_number":37,"context_line":"------------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3f79a3b5_4e07ed70","line":34,"range":{"start_line":33,"start_character":21,"end_line":34,"end_character":30},"in_reply_to":"3f79a3b5_790ab829","updated":"2018-12-14 21:34:56.000000000","message":"Done","commit_id":"04c1cab137afbde144b93c141faee4ae5d018a4b"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"492b3a63a122b0c05f89b882920daa6621a7f78a","unresolved":false,"context_lines":[{"line_number":50,"context_line":".. code-block:: ini"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    neutron.status.upgrade.checks \u003d"},{"line_number":53,"context_line":"        neutron-fwaas \u003d neutron_fwaas.upgrade.checks:Checks"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Entrypoint should be class which inherits from"},{"line_number":56,"context_line":"``neutron.cmd.upgrade_checks.base.BaseChecks``."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_f473264f","line":53,"range":{"start_line":53,"start_character":8,"end_line":53,"end_character":21},"updated":"2018-12-15 00:00:58.000000000","message":"I couldn\u0027t get this working. I add this as entry point in the neutron-fwaas repo but the \u0027neutron-status upgrade check\u0027 couldn\u0027t find the check there (it seems it cannot find entry points outside of neutron repo).\n\n$ pwd\n/home/vagrant/neutron-fwaas\n$ git diff\ndiff --git a/setup.cfg b/setup.cfg\nindex 4e563ad..2f404ef 100644\n--- a/setup.cfg\n+++ b/setup.cfg\n@@ -63,6 +63,8 @@ neutron.agent.l3.firewall_drivers \u003d\n     netlink_conntrack \u003d neutron_fwaas.services.firewall.service_drivers.agents.drivers.linux.netlink_conntrack:ConntrackNetlink\n neutron.services.logapi.drivers \u003d\n     fwaas_v2_log \u003d neutron_fwaas.services.logapi.agents.drivers.iptables.log:IptablesLoggingDriver\n+neutron.status.upgrade.checks \u003d\n+    neutron-fwaas \u003d neutron_fwaas.upgrade.checks:Checks\n\n$ sudo pip install -c /opt/stack/requirements/upper-constraints.txt -e .\n$ neutron-status upgrade check\n+---------------------------------------+\n| Upgrade Check Results                 |\n+---------------------------------------+\n| Check: Check nothing                  |\n| Result: Success                       |\n| Details: Always succeed (placeholder) |\n+---------------------------------------+","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"329c2f6a63d2ef4dd5462cffafba709f18bd5660","unresolved":false,"context_lines":[{"line_number":50,"context_line":".. code-block:: ini"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    neutron.status.upgrade.checks \u003d"},{"line_number":53,"context_line":"        neutron-fwaas \u003d neutron_fwaas.upgrade.checks:Checks"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Entrypoint should be class which inherits from"},{"line_number":56,"context_line":"``neutron.cmd.upgrade_checks.base.BaseChecks``."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_220ac028","line":53,"range":{"start_line":53,"start_character":8,"end_line":53,"end_character":21},"in_reply_to":"3f79a3b5_62bd187f","updated":"2018-12-15 09:47:08.000000000","message":"I also tested with neutron-fwaas and confirmed it works well.\n\nneutron-fwaas diff http://paste.openstack.org/show/737355/\nresult: http://paste.openstack.org/show/737356/\n\nIt seems we need a guideline on check names and/or detail. Otherwise, operators cannot identify which module should be checked. This is a possible further step and out of the scope of this patch.","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9ed39678383760c39fe23e0e232b81eca8bc8528","unresolved":false,"context_lines":[{"line_number":50,"context_line":".. code-block:: ini"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    neutron.status.upgrade.checks \u003d"},{"line_number":53,"context_line":"        neutron-fwaas \u003d neutron_fwaas.upgrade.checks:Checks"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Entrypoint should be class which inherits from"},{"line_number":56,"context_line":"``neutron.cmd.upgrade_checks.base.BaseChecks``."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_62bd187f","line":53,"range":{"start_line":53,"start_character":8,"end_line":53,"end_character":21},"in_reply_to":"3f79a3b5_f473264f","updated":"2018-12-15 08:32:06.000000000","message":"Did You install neutron-fwaas once again after this change? If not You should at least add this entry to neutron_fwaas.egg/entrypoints.txt file","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"c4aa2cf9cb2d2bc29fdcc0f75f306e2fa64bba06","unresolved":false,"context_lines":[{"line_number":56,"context_line":"``neutron.cmd.upgrade_checks.base.BaseChecks``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"An example of a checks class can be found in"},{"line_number":59,"context_line":"``neutron.cmd.upgrade_checks.checks.Checks``."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_11f59453","line":59,"range":{"start_line":59,"start_character":36,"end_line":59,"end_character":42},"updated":"2018-12-14 22:53:00.000000000","message":"CoreChecks","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9ed39678383760c39fe23e0e232b81eca8bc8528","unresolved":false,"context_lines":[{"line_number":56,"context_line":"``neutron.cmd.upgrade_checks.base.BaseChecks``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"An example of a checks class can be found in"},{"line_number":59,"context_line":"``neutron.cmd.upgrade_checks.checks.Checks``."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_22c72013","line":59,"range":{"start_line":59,"start_character":36,"end_line":59,"end_character":42},"in_reply_to":"3f79a3b5_11f59453","updated":"2018-12-15 08:32:06.000000000","message":"Done","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"}],"lower-constraints.txt":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"247c8da930c3533649daeec9fed3cd5119b431f9","unresolved":false,"context_lines":[{"line_number":64,"context_line":"os-xenapi\u003d\u003d0.3.1"},{"line_number":65,"context_line":"osc-lib\u003d\u003d1.8.0"},{"line_number":66,"context_line":"oslo.cache\u003d\u003d1.26.0"},{"line_number":67,"context_line":"oslo.concurrency\u003d\u003d3.26.0"},{"line_number":68,"context_line":"oslo.config\u003d\u003d5.2.0"},{"line_number":69,"context_line":"oslo.context\u003d\u003d2.19.2"},{"line_number":70,"context_line":"oslo.db\u003d\u003d4.27.0"},{"line_number":71,"context_line":"oslo.i18n\u003d\u003d3.15.3"}],"source_content_type":"text/plain","patch_set":3,"id":"3f79a3b5_6762e6a9","line":68,"range":{"start_line":67,"start_character":0,"end_line":68,"end_character":18},"updated":"2018-11-05 16:04:14.000000000","message":"Why do these need to be updated in this change? Maybe call that out in the commit message if it\u0027s really related.","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"71b43a9268fb1ff63e1ff93913bc81d8a7f80aca","unresolved":false,"context_lines":[{"line_number":64,"context_line":"os-xenapi\u003d\u003d0.3.1"},{"line_number":65,"context_line":"osc-lib\u003d\u003d1.8.0"},{"line_number":66,"context_line":"oslo.cache\u003d\u003d1.26.0"},{"line_number":67,"context_line":"oslo.concurrency\u003d\u003d3.26.0"},{"line_number":68,"context_line":"oslo.config\u003d\u003d5.2.0"},{"line_number":69,"context_line":"oslo.context\u003d\u003d2.19.2"},{"line_number":70,"context_line":"oslo.db\u003d\u003d4.27.0"},{"line_number":71,"context_line":"oslo.i18n\u003d\u003d3.15.3"}],"source_content_type":"text/plain","patch_set":3,"id":"3f79a3b5_c4cc0ec0","line":68,"range":{"start_line":67,"start_character":0,"end_line":68,"end_character":18},"in_reply_to":"3f79a3b5_6762e6a9","updated":"2018-11-05 22:21:03.000000000","message":"I think I saw some lower-constraints failure because of those versions but I agree that it shouldn\u0027t be changed here. I proposed another patch for that: https://review.openstack.org/#/c/615666/","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"}],"neutron/cmd/status.py":[{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"c0297c498c18b42153b96d1bdb6cc2e49417128e","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from oslo_config import cfg"},{"line_number":16,"context_line":"from oslo_upgradecheck import upgradecheck"},{"line_number":17,"context_line":"import pkg_resources"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"CHECKS_ENTRYPOINTS \u003d \u0027neutron.status.upgrade.checks\u0027"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_a32eabf6","line":17,"updated":"2018-11-05 20:50:19.000000000","message":"Agreed, stevedore is the right way to go.  It also uses entry points IIRC - that is how we implemented neutron agent extensions.","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"247c8da930c3533649daeec9fed3cd5119b431f9","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from oslo_config import cfg"},{"line_number":16,"context_line":"from oslo_upgradecheck import upgradecheck"},{"line_number":17,"context_line":"import pkg_resources"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"CHECKS_ENTRYPOINTS \u003d \u0027neutron.status.upgrade.checks\u0027"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_87c9427b","line":17,"updated":"2018-11-05 16:04:14.000000000","message":"Why not use stevedore for this? I thought stevedore was pretty standard in openstack projects since it provides some hooks for loading entry points, including failure callbacks.","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"e8d811db6a9318623ef8d6c1de635e116e49c145","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from oslo_config import cfg"},{"line_number":16,"context_line":"from oslo_upgradecheck import upgradecheck"},{"line_number":17,"context_line":"import pkg_resources"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"CHECKS_ENTRYPOINTS \u003d \u0027neutron.status.upgrade.checks\u0027"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_fe02f870","line":17,"in_reply_to":"3f79a3b5_a32eabf6","updated":"2018-11-05 21:32:14.000000000","message":"I used pkg_resources as it is used in other similar places in Neutron already, see: http://codesearch.openstack.org/?q\u003dpkg_resources\u0026i\u003dnope\u0026files\u003d\u0026repos\u003dneutron\n\nI would like to do such things in same way across the project so do You think that we should switch everywhere to stevedore? (Not in this patch of course)","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"9d39ed96cd7aec4c3c8080929ffb3f72172fbb79","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from oslo_config import cfg"},{"line_number":16,"context_line":"from oslo_upgradecheck import upgradecheck"},{"line_number":17,"context_line":"import pkg_resources"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"CHECKS_ENTRYPOINTS \u003d \u0027neutron.status.upgrade.checks\u0027"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_be580089","line":17,"in_reply_to":"3f79a3b5_fe02f870","updated":"2018-11-05 21:37:07.000000000","message":"I would have expected neutron to be using stevedore already, but yeah it\u0027s probably best to be consistent for now and then consider the pros/cons of moving neutron as a whole over to stevedore. Anyway, I\u0027m not -1 on this point.","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"247c8da930c3533649daeec9fed3cd5119b431f9","unresolved":false,"context_lines":[{"line_number":22,"context_line":"def load_checks():"},{"line_number":23,"context_line":"    checks \u003d []"},{"line_number":24,"context_line":"    for entrypoint in pkg_resources.iter_entry_points(CHECKS_ENTRYPOINTS):"},{"line_number":25,"context_line":"        check \u003d entrypoint.load()"},{"line_number":26,"context_line":"        checks.append((check.CHECK_NAME, check.run_check))"},{"line_number":27,"context_line":"    return tuple(checks)"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_e7a7d6ba","line":25,"range":{"start_line":25,"start_character":8,"end_line":25,"end_character":33},"updated":"2018-11-05 16:04:14.000000000","message":"What if this blows up? Do we want to try/except/log continue or just let one bad plugin fail the checks for everyone?","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"71b43a9268fb1ff63e1ff93913bc81d8a7f80aca","unresolved":false,"context_lines":[{"line_number":22,"context_line":"def load_checks():"},{"line_number":23,"context_line":"    checks \u003d []"},{"line_number":24,"context_line":"    for entrypoint in pkg_resources.iter_entry_points(CHECKS_ENTRYPOINTS):"},{"line_number":25,"context_line":"        check \u003d entrypoint.load()"},{"line_number":26,"context_line":"        checks.append((check.CHECK_NAME, check.run_check))"},{"line_number":27,"context_line":"    return tuple(checks)"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_c47e4e6c","line":25,"range":{"start_line":25,"start_character":8,"end_line":25,"end_character":33},"in_reply_to":"3f79a3b5_e7a7d6ba","updated":"2018-11-05 22:21:03.000000000","message":"Added try...except...","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"0c4fb1cb1bb299e94f4daf05897bdb66c77a333d","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def load_checks():"},{"line_number":25,"context_line":"    checks \u003d []"},{"line_number":26,"context_line":"    for entrypoint in pkg_resources.iter_entry_points(CHECKS_ENTRYPOINTS):"},{"line_number":27,"context_line":"        try:"},{"line_number":28,"context_line":"            check \u003d entrypoint.load()"},{"line_number":29,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_af172def","line":26,"updated":"2018-11-26 14:38:16.000000000","message":"It seems you could use neutron_lib.utils.runtime.NamespacedPlugins for this instead.","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"d510543f6f7d4782c6de113aee6a1f536236a139","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def load_checks():"},{"line_number":25,"context_line":"    checks \u003d []"},{"line_number":26,"context_line":"    for entrypoint in pkg_resources.iter_entry_points(CHECKS_ENTRYPOINTS):"},{"line_number":27,"context_line":"        try:"},{"line_number":28,"context_line":"            check \u003d entrypoint.load()"},{"line_number":29,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_c78a1765","line":26,"in_reply_to":"3f79a3b5_af172def","updated":"2018-12-13 22:15:29.000000000","message":"thx, I didn\u0027t know about this module","commit_id":"a83196eccdcc5d2c741386291f04fc98a3563eda"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":24,"context_line":"def load_checks():"},{"line_number":25,"context_line":"    checks \u003d []"},{"line_number":26,"context_line":"    ns_plugin \u003d runtime.NamespacedPlugins(CHECKS_ENTRYPOINTS)"},{"line_number":27,"context_line":"    for module_name, module in ns_plugin._extensions.items():"},{"line_number":28,"context_line":"        try:"},{"line_number":29,"context_line":"            project_checks_class \u003d module.entry_point.load()"},{"line_number":30,"context_line":"            project_checks \u003d project_checks_class()"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_436a6d83","line":27,"range":{"start_line":27,"start_character":41,"end_line":27,"end_character":52},"updated":"2018-12-14 14:34:03.000000000","message":"Is this normal? Accessing a private attribute is kind of gross.","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":24,"context_line":"def load_checks():"},{"line_number":25,"context_line":"    checks \u003d []"},{"line_number":26,"context_line":"    ns_plugin \u003d runtime.NamespacedPlugins(CHECKS_ENTRYPOINTS)"},{"line_number":27,"context_line":"    for module_name, module in ns_plugin._extensions.items():"},{"line_number":28,"context_line":"        try:"},{"line_number":29,"context_line":"            project_checks_class \u003d module.entry_point.load()"},{"line_number":30,"context_line":"            project_checks \u003d project_checks_class()"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_c3b43d87","line":27,"range":{"start_line":27,"start_character":41,"end_line":27,"end_character":52},"in_reply_to":"3f79a3b5_436a6d83","updated":"2018-12-14 15:07:14.000000000","message":"At least for now I don\u0027t see any better way to access it. I will propose follow up patch to neutron-lib and then we can change it here too.\nFor now I will leave todo note here","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":33,"context_line":"                      \"Error: %(err)s\","},{"line_number":34,"context_line":"                      {\u0027entrypoint\u0027: module_name, \u0027err\u0027: e})"},{"line_number":35,"context_line":"            continue"},{"line_number":36,"context_line":"        checks.append(project_checks.get_checks())"},{"line_number":37,"context_line":"    return tuple(checks)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_c3243d65","line":36,"range":{"start_line":36,"start_character":37,"end_line":36,"end_character":47},"updated":"2018-12-14 14:34:03.000000000","message":"Do you want to put a try/except around this as well in case a given entrypoint check blows up so that you don\u0027t take down the other checks? Or would you want this to fail explicitly if there is a problem?","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":33,"context_line":"                      \"Error: %(err)s\","},{"line_number":34,"context_line":"                      {\u0027entrypoint\u0027: module_name, \u0027err\u0027: e})"},{"line_number":35,"context_line":"            continue"},{"line_number":36,"context_line":"        checks.append(project_checks.get_checks())"},{"line_number":37,"context_line":"    return tuple(checks)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_c38bddc4","line":36,"range":{"start_line":36,"start_character":37,"end_line":36,"end_character":47},"in_reply_to":"3f79a3b5_c3243d65","updated":"2018-12-14 15:07:14.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"be088ffc85f0310ccc2b7140c58520019296a019","unresolved":false,"context_lines":[{"line_number":32,"context_line":"            project_checks \u003d project_checks_class()"},{"line_number":33,"context_line":"            checks.append(project_checks.get_checks())"},{"line_number":34,"context_line":"        except Exception as e:"},{"line_number":35,"context_line":"            LOG.error(\"Checks class %(entrypoint)s failed to load. \""},{"line_number":36,"context_line":"                      \"Error: %(err)s\","},{"line_number":37,"context_line":"                      {\u0027entrypoint\u0027: module_name, \u0027err\u0027: e})"},{"line_number":38,"context_line":"            continue"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_19f9441c","line":35,"range":{"start_line":35,"start_character":61,"end_line":35,"end_character":65},"updated":"2018-12-14 16:13:59.000000000","message":"nit: this could be misleading if get_checks() is what fails, but it should be obvious what failed from the exception. Alternatively, change LOG.error to LOG.exception to get the traceback.","commit_id":"04c1cab137afbde144b93c141faee4ae5d018a4b"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"2ca82dfcf76866f796983e8cb27ab6024117e18e","unresolved":false,"context_lines":[{"line_number":32,"context_line":"            project_checks \u003d project_checks_class()"},{"line_number":33,"context_line":"            checks.append(project_checks.get_checks())"},{"line_number":34,"context_line":"        except Exception as e:"},{"line_number":35,"context_line":"            LOG.error(\"Checks class %(entrypoint)s failed to load. \""},{"line_number":36,"context_line":"                      \"Error: %(err)s\","},{"line_number":37,"context_line":"                      {\u0027entrypoint\u0027: module_name, \u0027err\u0027: e})"},{"line_number":38,"context_line":"            continue"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_8e72e516","line":35,"range":{"start_line":35,"start_character":61,"end_line":35,"end_character":65},"in_reply_to":"3f79a3b5_19f9441c","updated":"2018-12-14 21:34:56.000000000","message":"Done","commit_id":"04c1cab137afbde144b93c141faee4ae5d018a4b"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"c4aa2cf9cb2d2bc29fdcc0f75f306e2fa64bba06","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        try:"},{"line_number":31,"context_line":"            project_checks_class \u003d module.entry_point.load()"},{"line_number":32,"context_line":"            project_checks \u003d project_checks_class()"},{"line_number":33,"context_line":"            checks.append(project_checks.get_checks())"},{"line_number":34,"context_line":"        except Exception as e:"},{"line_number":35,"context_line":"            LOG.exception(\"Checks class %(entrypoint)s failed to load. \""},{"line_number":36,"context_line":"                          \"Error: %(err)s\","}],"source_content_type":"text/x-python","patch_set":11,"id":"3f79a3b5_f16c9807","line":33,"range":{"start_line":33,"start_character":41,"end_line":33,"end_character":51},"updated":"2018-12-14 22:53:00.000000000","message":"Nit: perhaps it is better handle the case that this method return None or empty list, in which case we should not append it?","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9ed39678383760c39fe23e0e232b81eca8bc8528","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        try:"},{"line_number":31,"context_line":"            project_checks_class \u003d module.entry_point.load()"},{"line_number":32,"context_line":"            project_checks \u003d project_checks_class()"},{"line_number":33,"context_line":"            checks.append(project_checks.get_checks())"},{"line_number":34,"context_line":"        except Exception as e:"},{"line_number":35,"context_line":"            LOG.exception(\"Checks class %(entrypoint)s failed to load. \""},{"line_number":36,"context_line":"                          \"Error: %(err)s\","}],"source_content_type":"text/x-python","patch_set":11,"id":"3f79a3b5_e2d048ca","line":33,"range":{"start_line":33,"start_character":41,"end_line":33,"end_character":51},"in_reply_to":"3f79a3b5_f16c9807","updated":"2018-12-15 08:32:06.000000000","message":"Done","commit_id":"2673a8b3798714752971e003dc9156eb5f7716a4"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4f4ff60ef278b8b89f8763c8b79b039657f11e8e","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        try:"},{"line_number":31,"context_line":"            project_checks_class \u003d module.entry_point.load()"},{"line_number":32,"context_line":"            project_checks \u003d project_checks_class().get_checks()"},{"line_number":33,"context_line":"            if project_checks:"},{"line_number":34,"context_line":"                checks.append(project_checks)"},{"line_number":35,"context_line":"        except Exception as e:"},{"line_number":36,"context_line":"            LOG.exception(\"Checks class %(entrypoint)s failed to load. \""}],"source_content_type":"text/x-python","patch_set":14,"id":"3f79a3b5_92dd0642","line":33,"updated":"2018-12-17 21:00:40.000000000","message":"You should probably have a unit test for this condition.","commit_id":"573e9fba875377695a3173c1423a8d4d24d7f888"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"b2581c0f4f49e28ace8a6b5d90c0d5251649f001","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        try:"},{"line_number":31,"context_line":"            project_checks_class \u003d module.entry_point.load()"},{"line_number":32,"context_line":"            project_checks \u003d project_checks_class().get_checks()"},{"line_number":33,"context_line":"            if project_checks:"},{"line_number":34,"context_line":"                checks.append(project_checks)"},{"line_number":35,"context_line":"        except Exception as e:"},{"line_number":36,"context_line":"            LOG.exception(\"Checks class %(entrypoint)s failed to load. \""}],"source_content_type":"text/x-python","patch_set":14,"id":"3f79a3b5_88194ed4","line":33,"in_reply_to":"3f79a3b5_92dd0642","updated":"2018-12-18 10:46:51.000000000","message":"Done","commit_id":"573e9fba875377695a3173c1423a8d4d24d7f888"}],"neutron/cmd/upgrade_checks/base.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    \"\"\"Base class providing upgrade checks."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    Stadium projects which want to provide own upgrade checks to"},{"line_number":26,"context_line":"    neutron-status CLI tool should inherit from this class."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    Each check method have to accept neutron.cmd.status.Checker"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_6313e904","line":25,"range":{"start_line":25,"start_character":43,"end_line":25,"end_character":46},"updated":"2018-12-14 14:34:03.000000000","message":"their own","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    \"\"\"Base class providing upgrade checks."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    Stadium projects which want to provide own upgrade checks to"},{"line_number":26,"context_line":"    neutron-status CLI tool should inherit from this class."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    Each check method have to accept neutron.cmd.status.Checker"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_a366e126","line":25,"range":{"start_line":25,"start_character":43,"end_line":25,"end_character":46},"in_reply_to":"3f79a3b5_6313e904","updated":"2018-12-14 15:07:14.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"}],"neutron/cmd/upgrade_checks/checks.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a36ddc383f9e0e077d1ac8f6072f028f0a8144f9","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    def noop_check(checker):"},{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result(upgradecheck.Code.SUCCESS)"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_bf27db65","line":32,"updated":"2018-12-14 07:52:10.000000000","message":"It is better to add \"detail\" like:\n\n  upgradecheck.Result(upgradecheck.Code.SUCCESS, \u0027Always succeed\u0027)\n\nhttps://docs.openstack.org/oslo.upgradecheck/latest/usage.html","commit_id":"ed14ccd29a1ede08bd0662e43bf0e4a2fc3ff797"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"88d9fdb81bf54fe1690f8925c1e1f751a79a88de","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    def noop_check(checker):"},{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result(upgradecheck.Code.SUCCESS)"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_9fae9f81","line":32,"in_reply_to":"3f79a3b5_bf27db65","updated":"2018-12-14 08:04:42.000000000","message":"Done","commit_id":"ed14ccd29a1ede08bd0662e43bf0e4a2fc3ff797"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.cmd.upgrade_checks import base"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class Checks(base.BaseChecks):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def get_checks(self):"},{"line_number":24,"context_line":"        return ("}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_63c1a950","line":21,"range":{"start_line":21,"start_character":6,"end_line":21,"end_character":12},"updated":"2018-12-14 14:34:03.000000000","message":"Do you want to call this CoreChecks or something to indicate it\u0027s part of neutron core?","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7744d82fda669bfe4d91a1b96ee2b69e42b271e7","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.cmd.upgrade_checks import base"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class Checks(base.BaseChecks):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def get_checks(self):"},{"line_number":24,"context_line":"        return ("}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_fc6d5668","line":21,"range":{"start_line":21,"start_character":6,"end_line":21,"end_character":12},"in_reply_to":"3f79a3b5_0350f52c","updated":"2018-12-14 16:34:41.000000000","message":"I thought individual repos would have their own Checks, so I didn\u0027t -1 to this, but CoreChecks might make more sense to highlight this is specific o the neutron repo.","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.cmd.upgrade_checks import base"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class Checks(base.BaseChecks):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def get_checks(self):"},{"line_number":24,"context_line":"        return ("}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_0350f52c","line":21,"range":{"start_line":21,"start_character":6,"end_line":21,"end_character":12},"in_reply_to":"3f79a3b5_63c1a950","updated":"2018-12-14 15:07:14.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"2ca82dfcf76866f796983e8cb27ab6024117e18e","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.cmd.upgrade_checks import base"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class Checks(base.BaseChecks):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def get_checks(self):"},{"line_number":24,"context_line":"        return ("}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_ae3ec124","line":21,"range":{"start_line":21,"start_character":6,"end_line":21,"end_character":12},"in_reply_to":"3f79a3b5_fc6d5668","updated":"2018-12-14 21:34:56.000000000","message":"It is now CoreChecks in PS10. Is it fine for You Akihiro?","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result("},{"line_number":33,"context_line":"            upgradecheck.Code.SUCCESS, _(\"Always succeed\"))"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_83d3a536","line":33,"range":{"start_line":33,"start_character":37,"end_line":33,"end_character":58},"updated":"2018-12-14 14:34:03.000000000","message":"We probably don\u0027t need this detail message.","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c3d92b96579987e289aeae259dd4abd8892f8e7f","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result("},{"line_number":33,"context_line":"            upgradecheck.Code.SUCCESS, _(\"Always succeed\"))"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_d930acb9","line":33,"range":{"start_line":33,"start_character":37,"end_line":33,"end_character":58},"in_reply_to":"3f79a3b5_6351a932","updated":"2018-12-14 15:48:55.000000000","message":"OK. I think it would be best if once Neutron core has a real upgrade check, we remove this placeholder since it could cause confusion. For now you could have made it \"Always succeed (placeholder)\" to maybe avoid confusion.","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result("},{"line_number":33,"context_line":"            upgradecheck.Code.SUCCESS, _(\"Always succeed\"))"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_6351a932","line":33,"range":{"start_line":33,"start_character":37,"end_line":33,"end_character":58},"in_reply_to":"3f79a3b5_83d3a536","updated":"2018-12-14 15:07:14.000000000","message":"Akihiro asked for it in comment to previous PS. I it\u0027s not a problem I think we can leave it here as it is now","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"c554f2bb3984fba6110988e2a2e183abec618aca","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result("},{"line_number":33,"context_line":"            upgradecheck.Code.SUCCESS, _(\"Always succeed\"))"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_d972ec17","line":33,"range":{"start_line":33,"start_character":37,"end_line":33,"end_character":58},"in_reply_to":"3f79a3b5_d930acb9","updated":"2018-12-14 16:01:52.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7744d82fda669bfe4d91a1b96ee2b69e42b271e7","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        # NOTE(slaweq) This is only example Noop check, it can be removed when"},{"line_number":31,"context_line":"        # some real check methods will be added"},{"line_number":32,"context_line":"        return upgradecheck.Result("},{"line_number":33,"context_line":"            upgradecheck.Code.SUCCESS, _(\"Always succeed\"))"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_1cbb72de","line":33,"range":{"start_line":33,"start_character":37,"end_line":33,"end_character":58},"in_reply_to":"3f79a3b5_d972ec17","updated":"2018-12-14 16:34:41.000000000","message":"Good point. The original motivation in my comment in the previous patch set was to avoid \"None\" in the output. \"Placeholder\" makes more sense.","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"}],"neutron/tests/unit/cmd/test_status.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fb31b2caca74ee9c293987005119bb0293ea1b8e","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def test_load_checks(self):"},{"line_number":24,"context_line":"        entry_points \u003d [mock.MagicMock()]"},{"line_number":25,"context_line":"        expected_checks \u003d tuple(["},{"line_number":26,"context_line":"            (entry.load().CHECK_NAME, entry.load().run_check) for"},{"line_number":27,"context_line":"            entry in entry_points])"},{"line_number":28,"context_line":"        with mock.patch("}],"source_content_type":"text/x-python","patch_set":5,"id":"3f79a3b5_cb65e7e5","line":25,"range":{"start_line":25,"start_character":32,"end_line":25,"end_character":33},"updated":"2018-11-22 11:58:06.000000000","message":"This array is unnecessary.","commit_id":"18abb3cbe96cdaa680c737edc31111bb27b4f17b"}],"neutron/tests/unit/cmd/upgrade_checks/test_checks.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a36ddc383f9e0e077d1ac8f6072f028f0a8144f9","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        self.checks \u003d checks.Checks()"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def test_get_checks_list(self):"},{"line_number":29,"context_line":"        self.assertEqual(tuple, type(self.checks.get_checks()))"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def test_noop_check(self):"},{"line_number":32,"context_line":"        check_result \u003d checks.Checks.noop_check(mock.Mock())"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_5fc2478a","line":29,"updated":"2018-12-14 07:52:10.000000000","message":"How about using assertIsInstance?\n\n  assertIsInstance(self.checks.get_checks(), tuple)","commit_id":"ed14ccd29a1ede08bd0662e43bf0e4a2fc3ff797"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"88d9fdb81bf54fe1690f8925c1e1f751a79a88de","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        self.checks \u003d checks.Checks()"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def test_get_checks_list(self):"},{"line_number":29,"context_line":"        self.assertEqual(tuple, type(self.checks.get_checks()))"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def test_noop_check(self):"},{"line_number":32,"context_line":"        check_result \u003d checks.Checks.noop_check(mock.Mock())"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_7fab836f","line":29,"in_reply_to":"3f79a3b5_5fc2478a","updated":"2018-12-14 08:04:42.000000000","message":"Done","commit_id":"ed14ccd29a1ede08bd0662e43bf0e4a2fc3ff797"}],"releasenotes/notes/Neutron-status-upgrade-check-framework-fc34d03c8829672c.yaml":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"d03664ae14f74f2d12f56aca75e53cac56c4241c","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    Neutron upgrade to ensure if the upgrade can be performed safely."},{"line_number":9,"context_line":"    Stadium and 3rd party projects can register their own checks to this new"},{"line_number":10,"context_line":"    neutron-status CLI tool using entrypoints in"},{"line_number":11,"context_line":"    ``neutron.status.upgrade.checks`` namespace"},{"line_number":12,"context_line":"upgrade:"},{"line_number":13,"context_line":"  - |"},{"line_number":14,"context_line":"    Operator can now use new CLI tool ``neutron-status upgrade check``"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"3f79a3b5_72838a50","line":11,"updated":"2018-12-17 20:52:40.000000000","message":"nit: missing trailing period","commit_id":"8cdda921473290da86c01d1214c7b3dd091b5cb9"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5b3a0bc83c80e45798313ac27c85cb17a2998fd7","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    Neutron upgrade to ensure if the upgrade can be performed safely."},{"line_number":9,"context_line":"    Stadium and 3rd party projects can register their own checks to this new"},{"line_number":10,"context_line":"    neutron-status CLI tool using entrypoints in"},{"line_number":11,"context_line":"    ``neutron.status.upgrade.checks`` namespace"},{"line_number":12,"context_line":"upgrade:"},{"line_number":13,"context_line":"  - |"},{"line_number":14,"context_line":"    Operator can now use new CLI tool ``neutron-status upgrade check``"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"3f79a3b5_1257b6ce","line":11,"in_reply_to":"3f79a3b5_72838a50","updated":"2018-12-17 20:55:29.000000000","message":"Done","commit_id":"8cdda921473290da86c01d1214c7b3dd091b5cb9"}],"setup.cfg":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"247c8da930c3533649daeec9fed3cd5119b431f9","unresolved":false,"context_lines":[{"line_number":231,"context_line":"    SubnetServiceType \u003d neutron.objects.subnet:SubnetServiceType"},{"line_number":232,"context_line":"    Tag \u003d neutron.objects.tag:Tag"},{"line_number":233,"context_line":"    Trunk \u003d neutron.objects.trunk:Trunk"},{"line_number":234,"context_line":"neutron.status.upgrade.checks \u003d"},{"line_number":235,"context_line":"    noop \u003d neutron.cmd.upgrade_checks.noop"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"[extract_messages]"}],"source_content_type":"text/x-ttcn-cfg","patch_set":3,"id":"3f79a3b5_67bae6ba","line":234,"range":{"start_line":234,"start_character":0,"end_line":234,"end_character":29},"updated":"2018-11-05 16:04:14.000000000","message":"If I\u0027m writing one of these things, I would expect some kind of developer documentation for what is expected out of an entry point like this, maybe it could live here?\n\nhttps://docs.openstack.org/neutron/latest/contributor/index.html\n\nI\u0027m not sure if it would go under stadium or the developer guide (or internals). But there should at least be *some* minimal documentation if you\u0027re going to support an extension point.","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"71b43a9268fb1ff63e1ff93913bc81d8a7f80aca","unresolved":false,"context_lines":[{"line_number":231,"context_line":"    SubnetServiceType \u003d neutron.objects.subnet:SubnetServiceType"},{"line_number":232,"context_line":"    Tag \u003d neutron.objects.tag:Tag"},{"line_number":233,"context_line":"    Trunk \u003d neutron.objects.trunk:Trunk"},{"line_number":234,"context_line":"neutron.status.upgrade.checks \u003d"},{"line_number":235,"context_line":"    noop \u003d neutron.cmd.upgrade_checks.noop"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"[extract_messages]"}],"source_content_type":"text/x-ttcn-cfg","patch_set":3,"id":"3f79a3b5_84a85674","line":234,"range":{"start_line":234,"start_character":0,"end_line":234,"end_character":29},"in_reply_to":"3f79a3b5_67bae6ba","updated":"2018-11-05 22:21:03.000000000","message":"Added some docs","commit_id":"57b0f657add0c66ebafeb8aecee4d60b5fd7ed9d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15e55cfd57e01013221bc9ac0e26c76c6c20e01f","unresolved":false,"context_lines":[{"line_number":231,"context_line":"    SubnetServiceType \u003d neutron.objects.subnet:SubnetServiceType"},{"line_number":232,"context_line":"    Tag \u003d neutron.objects.tag:Tag"},{"line_number":233,"context_line":"    Trunk \u003d neutron.objects.trunk:Trunk"},{"line_number":234,"context_line":"neutron.status.upgrade.checks \u003d"},{"line_number":235,"context_line":"    neutron \u003d neutron.cmd.upgrade_checks.checks:Checks"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"[extract_messages]"}],"source_content_type":"text/x-ttcn-cfg","patch_set":8,"id":"3f79a3b5_63d8c94e","line":234,"updated":"2018-12-14 14:34:03.000000000","message":"Do you want to add a release note for this? Or update the existing release note for the upgrade checker code already added?","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"59a4da5258da29a3c40ab2fff941fcf323275314","unresolved":false,"context_lines":[{"line_number":231,"context_line":"    SubnetServiceType \u003d neutron.objects.subnet:SubnetServiceType"},{"line_number":232,"context_line":"    Tag \u003d neutron.objects.tag:Tag"},{"line_number":233,"context_line":"    Trunk \u003d neutron.objects.trunk:Trunk"},{"line_number":234,"context_line":"neutron.status.upgrade.checks \u003d"},{"line_number":235,"context_line":"    neutron \u003d neutron.cmd.upgrade_checks.checks:Checks"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"[extract_messages]"}],"source_content_type":"text/x-ttcn-cfg","patch_set":8,"id":"3f79a3b5_c61e8b60","line":234,"in_reply_to":"3f79a3b5_63d8c94e","updated":"2018-12-14 15:07:14.000000000","message":"Done","commit_id":"baa93cc494315e83adcb161384b6cc7096f996f5"}]}
