)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6f09bb4269598a2a6850ac9ac4fe0b1bb8c74014","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Migrate default policy file from JSON to YAML"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Default value of \u0027CONF.oslo_policy.policy_file\u0027 config option"},{"line_number":10,"context_line":"has been changed from \u0027policy.json\u0027 to \u0027policy.yaml\u0027. If new default"},{"line_number":11,"context_line":"file \u0027policy.yaml\u0027 does not exist but old default \u0027policy.json\u0027 exist"},{"line_number":12,"context_line":"then fallback to use old default file."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"An upgrade checks is added to check the policy_file format and"},{"line_number":15,"context_line":"fail upgrade checks if it is JSON formatted."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f560f44_bf2acd8d","line":12,"range":{"start_line":9,"start_character":0,"end_line":12,"end_character":38},"updated":"2020-09-07 17:23:58.000000000","message":"+1","commit_id":"155aca096a28441f575e335816f70e89af25766a"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6f09bb4269598a2a6850ac9ac4fe0b1bb8c74014","unresolved":false,"context_lines":[{"line_number":11,"context_line":"file \u0027policy.yaml\u0027 does not exist but old default \u0027policy.json\u0027 exist"},{"line_number":12,"context_line":"then fallback to use old default file."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"An upgrade checks is added to check the policy_file format and"},{"line_number":15,"context_line":"fail upgrade checks if it is JSON formatted."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Added a warning in policy doc about JSON formatted file is deprecated,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f560f44_9f2709c8","line":14,"range":{"start_line":14,"start_character":11,"end_line":14,"end_character":17},"updated":"2020-09-07 17:23:58.000000000","message":"nit: check","commit_id":"155aca096a28441f575e335816f70e89af25766a"}],"doc/source/configuration/policy-concepts.rst":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":".. warning::"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":7,"context_line":"   YAML formatted file."},{"line_number":8,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":9,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_e203090f","line":6,"range":{"start_line":6,"start_character":55,"end_line":6,"end_character":61},"updated":"2020-09-08 07:59:31.000000000","message":"22.0.0 (Victoria)","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":".. warning::"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":7,"context_line":"   YAML formatted file."},{"line_number":8,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":9,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_a7975b45","line":6,"range":{"start_line":6,"start_character":55,"end_line":6,"end_character":61},"in_reply_to":"9f560f44_e203090f","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":7,"context_line":"   YAML formatted file."},{"line_number":8,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":9,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"},{"line_number":10,"context_line":"   backward compatible way."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_65054310","line":8,"range":{"start_line":8,"start_character":7,"end_line":8,"end_character":130},"updated":"2020-09-08 07:59:31.000000000","message":"Or:\n\n  `oslopolicy-convert-json-to-yaml`__ tool to ...\n  ...\n\n  .. __: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"84d77f20e3a942a957f01f9e5a2b4660e6000650","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":".. warning::"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0(Victoria)."},{"line_number":7,"context_line":"   Use YAML formatted file. Use `oslopolicy-convert-json-to-yaml`__ tool"},{"line_number":8,"context_line":"   to convert the existing JSON to YAML formatted policy file in backward"},{"line_number":9,"context_line":"   compatible way."}],"source_content_type":"text/x-rst","patch_set":15,"id":"9f560f44_a9c72d45","line":6,"range":{"start_line":6,"start_character":60,"end_line":6,"end_character":62},"updated":"2020-09-08 15:28:53.000000000","message":"missing space","commit_id":"ee71a2440b4f2d19457a72d57cddc0b00b20c666"}],"doc/source/configuration/policy.rst":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":".. warning::"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":10,"context_line":"   YAML formatted file."},{"line_number":11,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_e5183377","line":9,"range":{"start_line":9,"start_character":55,"end_line":9,"end_character":61},"updated":"2020-09-08 07:59:31.000000000","message":"22.0.0 (Victoria)","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":".. warning::"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":10,"context_line":"   YAML formatted file."},{"line_number":11,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_26518c0f","line":9,"range":{"start_line":9,"start_character":55,"end_line":9,"end_character":61},"in_reply_to":"9f560f44_e5183377","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":10,"context_line":"   YAML formatted file."},{"line_number":11,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"},{"line_number":13,"context_line":"   backward compatible way."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_c5152f3f","line":11,"updated":"2020-09-08 07:59:31.000000000","message":"Use external hyperlink?","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0. Use"},{"line_number":10,"context_line":"   YAML formatted file."},{"line_number":11,"context_line":"   Use `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"   tool to convert the existing JSON to YAML formatted policy file in"},{"line_number":13,"context_line":"   backward compatible way."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9f560f44_464c8075","line":11,"in_reply_to":"9f560f44_c5152f3f","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"84d77f20e3a942a957f01f9e5a2b4660e6000650","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":".. warning::"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   JSON formatted policy file is deprecated since Nova 22.0.0(Victoria)."},{"line_number":10,"context_line":"   Use YAML formatted file. Use `oslopolicy-convert-json-to-yaml`__ tool"},{"line_number":11,"context_line":"   to convert the existing JSON to YAML formatted policy file in backward"},{"line_number":12,"context_line":"   compatible way."}],"source_content_type":"text/x-rst","patch_set":15,"id":"9f560f44_49dc9117","line":9,"range":{"start_line":9,"start_character":61,"end_line":9,"end_character":62},"updated":"2020-09-08 15:28:53.000000000","message":"ditto","commit_id":"ee71a2440b4f2d19457a72d57cddc0b00b20c666"}],"nova/cmd/status.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"0d7ab5016cc8b1cd31e53c38d5eb5a1cf051c7bc","unresolved":false,"context_lines":[{"line_number":412,"context_line":""},{"line_number":413,"context_line":"    def _check_policy_json(self):"},{"line_number":414,"context_line":"        \"Checks to see if policy file is JSON-formatted policy file.\""},{"line_number":415,"context_line":"        msg \u003d _(\"Your policy file  is JSON-formatted which is \""},{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""}],"source_content_type":"text/x-python","patch_set":4,"id":"9f560f44_905d5c17","line":415,"range":{"start_line":415,"start_character":33,"end_line":415,"end_character":34},"updated":"2020-09-04 01:55:45.000000000","message":"redundant space.","commit_id":"505b6d9e0e3fb16bc2501c24b9b3ad0724bac2d6"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        \"Checks to see if policy file is JSON-formatted policy file.\""},{"line_number":415,"context_line":"        msg \u003d _(\"Your policy file  is JSON-formatted which is \""},{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_a53bdbce","line":417,"range":{"start_line":417,"start_character":71,"end_line":417,"end_character":72},"updated":"2020-09-08 07:59:31.000000000","message":"the","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        \"Checks to see if policy file is JSON-formatted policy file.\""},{"line_number":415,"context_line":"        msg \u003d _(\"Your policy file  is JSON-formatted which is \""},{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_23933e51","line":417,"range":{"start_line":417,"start_character":71,"end_line":417,"end_character":72},"in_reply_to":"9f560f44_a53bdbce","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""},{"line_number":421,"context_line":"                \"latest/cli/oslopolicy-convert-json-to-yaml.html.\")"},{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_c52ecf8a","line":419,"range":{"start_line":419,"start_character":50,"end_line":419,"end_character":54},"updated":"2020-09-08 07:59:31.000000000","message":"files","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""},{"line_number":421,"context_line":"                \"latest/cli/oslopolicy-convert-json-to-yaml.html.\")"},{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_e53153ef","line":419,"range":{"start_line":419,"start_character":31,"end_line":419,"end_character":32},"updated":"2020-09-08 07:59:31.000000000","message":"files","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""},{"line_number":421,"context_line":"                \"latest/cli/oslopolicy-convert-json-to-yaml.html.\")"},{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_8394ca37","line":419,"range":{"start_line":419,"start_character":31,"end_line":419,"end_character":32},"in_reply_to":"9f560f44_e53153ef","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""},{"line_number":421,"context_line":"                \"latest/cli/oslopolicy-convert-json-to-yaml.html.\")"},{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"},{"line_number":423,"context_line":"        # Check if policy file exist and is JSON-formatted."}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_4558ff2f","line":420,"range":{"start_line":419,"start_character":57,"end_line":420,"end_character":31},"updated":"2020-09-08 07:59:31.000000000","message":"a backwards-compatible manner:","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                \"deprecated since Victoria release (Nova 22.0.0). \""},{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted to YAML-formatted file in backward \""},{"line_number":420,"context_line":"                \"compatible way: https://docs.openstack.org/oslo.policy/\""},{"line_number":421,"context_line":"                \"latest/cli/oslopolicy-convert-json-to-yaml.html.\")"},{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"},{"line_number":423,"context_line":"        # Check if policy file exist and is JSON-formatted."}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_6399b66b","line":420,"range":{"start_line":419,"start_character":57,"end_line":420,"end_character":31},"in_reply_to":"9f560f44_4558ff2f","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"},{"line_number":423,"context_line":"        # Check if policy file exist and is JSON-formatted."},{"line_number":424,"context_line":"        policy_path \u003d CONF.find_file(CONF.oslo_policy.policy_file)"},{"line_number":425,"context_line":"        if (policy_path and fileutils.is_json(policy_path)):"},{"line_number":426,"context_line":"            status \u003d upgradecheck.Result(upgradecheck.Code.FAILURE,"},{"line_number":427,"context_line":"                                         msg)"},{"line_number":428,"context_line":"        return status"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_651ee35f","line":425,"range":{"start_line":425,"start_character":11,"end_line":425,"end_character":12},"updated":"2020-09-08 07:59:31.000000000","message":"nit","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"},{"line_number":423,"context_line":"        # Check if policy file exist and is JSON-formatted."},{"line_number":424,"context_line":"        policy_path \u003d CONF.find_file(CONF.oslo_policy.policy_file)"},{"line_number":425,"context_line":"        if (policy_path and fileutils.is_json(policy_path)):"},{"line_number":426,"context_line":"            status \u003d upgradecheck.Result(upgradecheck.Code.FAILURE,"},{"line_number":427,"context_line":"                                         msg)"},{"line_number":428,"context_line":"        return status"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_43b752d9","line":425,"range":{"start_line":425,"start_character":11,"end_line":425,"end_character":12},"in_reply_to":"9f560f44_651ee35f","updated":"2020-09-08 14:46:28.000000000","message":"humm i am still in c++ mode many times:)","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":424,"context_line":"        policy_path \u003d CONF.find_file(CONF.oslo_policy.policy_file)"},{"line_number":425,"context_line":"        if (policy_path and fileutils.is_json(policy_path)):"},{"line_number":426,"context_line":"            status \u003d upgradecheck.Result(upgradecheck.Code.FAILURE,"},{"line_number":427,"context_line":"                                         msg)"},{"line_number":428,"context_line":"        return status"},{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    # The format of the check functions is to return an upgradecheck.Result"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_853df7bc","line":427,"range":{"start_line":427,"start_character":41,"end_line":427,"end_character":45},"updated":"2020-09-08 07:59:31.000000000","message":"This will fit on one line","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":424,"context_line":"        policy_path \u003d CONF.find_file(CONF.oslo_policy.policy_file)"},{"line_number":425,"context_line":"        if (policy_path and fileutils.is_json(policy_path)):"},{"line_number":426,"context_line":"            status \u003d upgradecheck.Result(upgradecheck.Code.FAILURE,"},{"line_number":427,"context_line":"                                         msg)"},{"line_number":428,"context_line":"        return status"},{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    # The format of the check functions is to return an upgradecheck.Result"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_63b256e7","line":427,"range":{"start_line":427,"start_character":41,"end_line":427,"end_character":45},"in_reply_to":"9f560f44_853df7bc","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cdca1080f9fcfaca9d9ba722e508da55e355260b","unresolved":false,"context_lines":[{"line_number":417,"context_line":"                \"You need to switch to YAML-formatted file. You can use the \""},{"line_number":418,"context_line":"                \"``oslopolicy-convert-json-to-yaml`` tool to convert existing \""},{"line_number":419,"context_line":"                \"JSON-formatted files to YAML-formatted files in a \""},{"line_number":420,"context_line":"                \"backwards-compatible manner: https://docs.openstack.org/oslo.policy/\""},{"line_number":421,"context_line":"                \"latest/cli/oslopolicy-convert-json-to-yaml.html.\")"},{"line_number":422,"context_line":"        status \u003d upgradecheck.Result(upgradecheck.Code.SUCCESS)"},{"line_number":423,"context_line":"        # Check if policy file exist and is JSON-formatted."}],"source_content_type":"text/x-python","patch_set":15,"id":"9f560f44_efa760a7","line":420,"updated":"2020-09-08 21:28:54.000000000","message":"pep8: E501 line too long (86 \u003e 79 characters)","commit_id":"ee71a2440b4f2d19457a72d57cddc0b00b20c666"}],"nova/policy.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3ebfc370cf562507e180d4ca4c9adf7bc3fa85d9","unresolved":false,"context_lines":[{"line_number":31,"context_line":"CONF \u003d cfg.CONF"},{"line_number":32,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# TODO(gmann): Remove setting the default value of config policy_file"},{"line_number":35,"context_line":"# once oslo_policy change the default value to \u0027policy.yaml\u0027."},{"line_number":36,"context_line":"# https://github.com/openstack/oslo.policy/blob/a626ad12fe5a3abd49d70e3e5b95589d279ab578/oslo_policy/opts.py#L49"},{"line_number":37,"context_line":"DEFAULT_POLICY_FILE \u003d \u0027policy.yaml\u0027"},{"line_number":38,"context_line":"opts.set_defaults(cfg.CONF, DEFAULT_POLICY_FILE)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"_ENFORCER \u003d None"},{"line_number":41,"context_line":"# This list is about the resources which support user based policy enforcement."}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_29c44f5f","line":38,"range":{"start_line":34,"start_character":0,"end_line":38,"end_character":48},"updated":"2020-08-28 16:48:44.000000000","message":"as noted on irc we need to add a fallback in the case wehere the config value is not defied.\n\nin that case we need to check for policy.json if we do not fined policy.yaml.","commit_id":"3d9dee4212a6fbaee5dc5d0af856c03112974558"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":48,"context_line":"opts.set_defaults(cfg.CONF, DEFAULT_POLICY_FILE)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"def pick_policy_file(policy_file):"},{"line_number":52,"context_line":"    # TODO(gmann): We have changed the default value of"},{"line_number":53,"context_line":"    # CONF.oslo_policy.policy_file option to \u0027policy.yaml\u0027 in Victoria"},{"line_number":54,"context_line":"    # release. To avoid breaking any deployment relying on default"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_05a0c7f3","line":51,"updated":"2020-09-08 07:59:31.000000000","message":"tbh, I find it a bit weird that this logic lives in nova instead of oslo.policy. Any reason we couldn\u0027t have used the latter?","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":48,"context_line":"opts.set_defaults(cfg.CONF, DEFAULT_POLICY_FILE)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"def pick_policy_file(policy_file):"},{"line_number":52,"context_line":"    # TODO(gmann): We have changed the default value of"},{"line_number":53,"context_line":"    # CONF.oslo_policy.policy_file option to \u0027policy.yaml\u0027 in Victoria"},{"line_number":54,"context_line":"    # release. To avoid breaking any deployment relying on default"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_e31946d1","line":51,"in_reply_to":"9f560f44_05a0c7f3","updated":"2020-09-08 14:46:28.000000000","message":"it is bit tricky. so config option oslo_policy.policy_file default value in oslo side still is \u0027policy.json\u0027[1] because changing that impact for all the projects. So we will change the default value project by project first and then in oslo policy.when we will do in oslo policy then we can move this logic in central place in oslo policy.\n\nI will move this code to oslo policy for sharing with other projects but usage of it has to be on projects side while we change project side default value.\n\n[1] https://github.com/openstack/oslo.policy/blob/d7b2995d587ef568d57e66ff62d764058c1254f0/oslo_policy/opts.py#L49","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        location \u003d CONF.get_location(\u0027policy_file\u0027, \u0027oslo_policy\u0027).location"},{"line_number":63,"context_line":"        if CONF.find_file(CONF.oslo_policy.policy_file):"},{"line_number":64,"context_line":"            return CONF.oslo_policy.policy_file"},{"line_number":65,"context_line":"        elif location in [cfg.Locations.opt_default,"},{"line_number":66,"context_line":"                          cfg.Locations.set_default]:"},{"line_number":67,"context_line":"            old_default \u003d \u0027policy.json\u0027"},{"line_number":68,"context_line":"            if CONF.find_file(old_default):"},{"line_number":69,"context_line":"                return old_default"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_e55f930c","line":66,"range":{"start_line":65,"start_character":0,"end_line":66,"end_character":53},"updated":"2020-09-08 07:59:31.000000000","message":"nit: one line?","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        location \u003d CONF.get_location(\u0027policy_file\u0027, \u0027oslo_policy\u0027).location"},{"line_number":63,"context_line":"        if CONF.find_file(CONF.oslo_policy.policy_file):"},{"line_number":64,"context_line":"            return CONF.oslo_policy.policy_file"},{"line_number":65,"context_line":"        elif location in [cfg.Locations.opt_default,"},{"line_number":66,"context_line":"                          cfg.Locations.set_default]:"},{"line_number":67,"context_line":"            old_default \u003d \u0027policy.json\u0027"},{"line_number":68,"context_line":"            if CONF.find_file(old_default):"},{"line_number":69,"context_line":"                return old_default"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_23e17ed1","line":66,"range":{"start_line":65,"start_character":0,"end_line":66,"end_character":53},"in_reply_to":"9f560f44_e55f930c","updated":"2020-09-08 14:46:28.000000000","message":"it goes beyond 80 char","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        elif location in [cfg.Locations.opt_default,"},{"line_number":66,"context_line":"                          cfg.Locations.set_default]:"},{"line_number":67,"context_line":"            old_default \u003d \u0027policy.json\u0027"},{"line_number":68,"context_line":"            if CONF.find_file(old_default):"},{"line_number":69,"context_line":"                return old_default"},{"line_number":70,"context_line":"    # Return overridden value"},{"line_number":71,"context_line":"    return CONF.oslo_policy.policy_file"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_c55c0f1b","line":68,"updated":"2020-09-08 07:59:31.000000000","message":"Do you want to issue a warning here or will oslo.policy do that for us?","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        elif location in [cfg.Locations.opt_default,"},{"line_number":66,"context_line":"                          cfg.Locations.set_default]:"},{"line_number":67,"context_line":"            old_default \u003d \u0027policy.json\u0027"},{"line_number":68,"context_line":"            if CONF.find_file(old_default):"},{"line_number":69,"context_line":"                return old_default"},{"line_number":70,"context_line":"    # Return overridden value"},{"line_number":71,"context_line":"    return CONF.oslo_policy.policy_file"}],"source_content_type":"text/x-python","patch_set":14,"id":"9f560f44_63009667","line":68,"in_reply_to":"9f560f44_c55c0f1b","updated":"2020-09-08 14:46:28.000000000","message":"yeah oslo policy will do the warning.","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"}],"releasenotes/notes/bug-1875418-default-policy-file-change-22bd4cc6e27e0091.yaml":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"da3b9782731e7eddc1e330f8efa3c285eb637985","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    backward compatible way."},{"line_number":14,"context_line":"fixes:"},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Fixes `bug#1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"9f560f44_15959f32","line":16,"updated":"2020-09-07 13:22:53.000000000","message":"I would add here that the bug is fixed by changing to yaml as default policy file format.","commit_id":"ca55498f0d099a732d291432811fd971a99db7fd"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"b30b5312415bcc31ebe75914244584b4dcc3084e","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    backward compatible way."},{"line_number":14,"context_line":"fixes:"},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Fixes `bug#1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"9f560f44_35c8a353","line":16,"in_reply_to":"9f560f44_15959f32","updated":"2020-09-07 13:26:47.000000000","message":"Done","commit_id":"ca55498f0d099a732d291432811fd971a99db7fd"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"9051969d95bee97fad75c0fc1d5de8c21c3c29f5","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."},{"line_number":9,"context_line":"    Refer to `this bug \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"},{"line_number":10,"context_line":"    for more details."},{"line_number":11,"context_line":"    Also check `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"    tool to convert the JSON to YAML formatted policy file in"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9f560f44_a8a73550","line":9,"range":{"start_line":9,"start_character":14,"end_line":9,"end_character":22},"updated":"2020-09-08 00:22:06.000000000","message":"nit: s/this bug/bug #1875418/g","commit_id":"1a95471d79552a02d14ee932f8e416e4ade1b31d"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"408e3f7eeb5af9ad65bf66665b4ab3c1efaac931","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."},{"line_number":9,"context_line":"    Refer to `this bug \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"},{"line_number":10,"context_line":"    for more details."},{"line_number":11,"context_line":"    Also check `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"    tool to convert the JSON to YAML formatted policy file in"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9f560f44_333d568e","line":9,"range":{"start_line":9,"start_character":13,"end_line":9,"end_character":71},"updated":"2020-09-08 01:38:49.000000000","message":"seems this ref is conflicting with existing one","commit_id":"1a95471d79552a02d14ee932f8e416e4ade1b31d"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"ecda3547bf2fc999aa302514f090d2ebd2327f8c","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."},{"line_number":9,"context_line":"    Refer to `this bug \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"},{"line_number":10,"context_line":"    for more details."},{"line_number":11,"context_line":"    Also check `oslopolicy-convert-json-to-yaml \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html\u003e`_"},{"line_number":12,"context_line":"    tool to convert the JSON to YAML formatted policy file in"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9f560f44_b373264e","line":9,"range":{"start_line":9,"start_character":13,"end_line":9,"end_character":71},"in_reply_to":"9f560f44_333d568e","updated":"2020-09-08 01:44:50.000000000","message":"Yes, this is used in https://opendev.org/openstack/nova/src/branch/master/releasenotes/notes/bug-1875418-0df3198e36530ec7.yaml#L28-L29","commit_id":"1a95471d79552a02d14ee932f8e416e4ade1b31d"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"9051969d95bee97fad75c0fc1d5de8c21c3c29f5","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    backward compatible way."},{"line_number":14,"context_line":"fixes:"},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    `bug#1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_ is fixed"},{"line_number":17,"context_line":"    by changing the default value of ``CONF.oslo_policy.policy_file``to YAML format."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9f560f44_88a4f14c","line":16,"range":{"start_line":16,"start_character":5,"end_line":16,"end_character":16},"updated":"2020-09-08 00:22:06.000000000","message":"nit: bug #1875418","commit_id":"1a95471d79552a02d14ee932f8e416e4ade1b31d"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"9051969d95bee97fad75c0fc1d5de8c21c3c29f5","unresolved":false,"context_lines":[{"line_number":14,"context_line":"fixes:"},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    `bug#1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_ is fixed"},{"line_number":17,"context_line":"    by changing the default value of ``CONF.oslo_policy.policy_file``to YAML format."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9f560f44_286965f7","line":17,"range":{"start_line":17,"start_character":69,"end_line":17,"end_character":71},"updated":"2020-09-08 00:22:06.000000000","message":"white space","commit_id":"1a95471d79552a02d14ee932f8e416e4ade1b31d"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_a5ae3be4","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":33},"updated":"2020-09-08 07:59:31.000000000","message":"This is unnecessary (it\u0027s obvious from the section of the release notes it\u0027s in). Just:\n\n  The default value ...","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_c63a50cb","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":33},"in_reply_to":"9f560f44_a5ae3be4","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_e5b4b338","line":5,"range":{"start_line":5,"start_character":4,"end_line":5,"end_character":36},"updated":"2020-09-08 07:59:31.000000000","message":"the ``[oslo_policy] policy_file`` config option","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_a6375ce3","line":5,"range":{"start_line":5,"start_character":4,"end_line":5,"end_character":36},"in_reply_to":"9f560f44_e5b4b338","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."},{"line_number":9,"context_line":"    Refer to `bug 1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"},{"line_number":10,"context_line":"    for more details."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_0589e773","line":7,"range":{"start_line":7,"start_character":55,"end_line":7,"end_character":66},"updated":"2020-09-08 07:59:31.000000000","message":"``policy.json``","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."},{"line_number":9,"context_line":"    Refer to `bug 1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"},{"line_number":10,"context_line":"    for more details."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_2584eb5d","line":7,"range":{"start_line":7,"start_character":20,"end_line":7,"end_character":54},"updated":"2020-09-08 07:59:31.000000000","message":"ditto","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Beginning with Nova 22.0.0, default value of"},{"line_number":5,"context_line":"    ``CONF.oslo_policy.policy_file`` has been changed from ``policy.json``"},{"line_number":6,"context_line":"    to ``policy.yaml``. Nova policy new defaults since 21.0.0 and current"},{"line_number":7,"context_line":"    default value of ``CONF.oslo_policy.policy_file`` (policy.json) does not"},{"line_number":8,"context_line":"    work when ``policy.json`` is generated by `oslopolicy-sample-generator \u003chttps://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html\u003e`_  tool."},{"line_number":9,"context_line":"    Refer to `bug 1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_"},{"line_number":10,"context_line":"    for more details."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_0631e8ed","line":7,"range":{"start_line":7,"start_character":20,"end_line":7,"end_character":54},"in_reply_to":"9f560f44_2584eb5d","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"9bd39eb734de438013fbe1282aec9efb82491b5d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"fixes:"},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Bug `1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_ is fixed"},{"line_number":17,"context_line":"    by changing the default value of ``CONF.oslo_policy.policy_file`` to YAML format."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_457f5f65","line":17,"range":{"start_line":17,"start_character":37,"end_line":17,"end_character":70},"updated":"2020-09-08 07:59:31.000000000","message":"ditto","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"20a7d5cdb3c85916b5af3886fa9168130a3d8dc8","unresolved":false,"context_lines":[{"line_number":14,"context_line":"fixes:"},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Bug `1875418 \u003chttps://bugs.launchpad.net/nova/+bug/1875418\u003e`_ is fixed"},{"line_number":17,"context_line":"    by changing the default value of ``CONF.oslo_policy.policy_file`` to YAML format."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"9f560f44_e62dd48f","line":17,"range":{"start_line":17,"start_character":37,"end_line":17,"end_character":70},"in_reply_to":"9f560f44_457f5f65","updated":"2020-09-08 14:46:28.000000000","message":"Done","commit_id":"4ef32b403037391d662590afda4d5f3884ac32ec"}]}
