)]}'
{"id":"openstack%2Fos-api-ref~799216","triplet_id":"openstack%2Fos-api-ref~master~Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222","project":"openstack/os-api-ref","branch":"master","topic":"trivial","hashtags":[],"change_id":"Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222","subject":"Fix exception logging","status":"MERGED","created":"2021-07-02 14:52:08.000000000","updated":"2021-10-21 09:57:44.000000000","submitted":"2021-10-21 09:55:49.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":3,"unresolved_comment_count":1,"has_review_started":true,"submission_id":"799216-trivial","meta_rev_id":"7169f5caea3b27af0f3c0b6c415d8a91019f29cf","_number":799216,"virtual_id_number":799216,"owner":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2021-10-21 09:55:49.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"all":[{"value":2,"date":"2021-10-21 09:18:20.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"all":[{"value":1,"date":"2021-10-21 09:18:20.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-07-02 15:08:59.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2021-10-05 10:33:39.000000000","updated_by":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"reviewer":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"state":"REVIEWER"}],"messages":[{"id":"5ace5135a0827586e6490abbf656a90f46be942a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"date":"2021-07-02 14:52:08.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"8b4b0ba667e02a8ad3c796289f30889769ade899","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"date":"2021-07-02 14:53:20.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"bbad26bcdfe1c7cd196feb35787de3ac32389c4d","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-07-02 15:08:59.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/1d92b80a451a455fbc5cecf36bada86b : SUCCESS in 3m 34s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/533421ee02d24f3e8a1141ebad6e92f3 : SUCCESS in 3m 54s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/6856dca0242d4eb8910b193c4f698a32 : SUCCESS in 4m 06s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/70566d46b6f6400480742050e410eeac : SUCCESS in 6m 04s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/2cc7750755db4a01a71347fad607f846 : SUCCESS in 3m 25s\n- os-api-ref-nova-src https://zuul.opendev.org/t/openstack/build/3093ba19b87c41a49314efd73de8e8c1 : SUCCESS in 5m 48s","accounts_in_message":[],"_revision_number":2},{"id":"2c9c847dd5ecb75e909904946839df05871d5ed6","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2021-10-05 10:33:39.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"7cac1153490653e11973e4f8189ee1782a9d4d6f","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-05 10:38:19.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":2},{"id":"613c9185c3ead7cc1a6f02050b21c926ba6de9df","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-05 10:46:02.000000000","message":"Patch Set 2: Verified-2\n\nBuild failed (gate pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/8c4c548736cd421cae38a88ec0a15d1d : SUCCESS in 4m 14s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/b6920192b2da4c8483bdb10a0cd4faab : FAILURE in 4m 23s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/923c21fc304849f68ec8db7c6222cc38 : FAILURE in 4m 19s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/5034caf57ce742f4b858d928ee390fab : SUCCESS in 4m 23s\n- os-api-ref-nova-src https://zuul.opendev.org/t/openstack/build/d65becbc5fc64626a1861dfd55af7e17 : SUCCESS in 5m 41s","accounts_in_message":[],"_revision_number":2},{"id":"17984a9eb8185a7f4e103fba7141203c1d2d64d4","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"date":"2021-10-05 17:29:13.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"0e238c781031b0c6b1c7ce38e00c1059e2cd7a1e","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-05 17:40:34.000000000","message":"Patch Set 3: Verified-1\n\n(1 comment)\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/5530104f9f4e483d869c95294a25f5bf : FAILURE in 3m 23s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/3cadde6db5a146a99dab1956897af3b7 : SUCCESS in 3m 58s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/9ff672437aad40fca4ba12acf2e64072 : SUCCESS in 3m 24s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/1f8e38bdea6c4c1891ece357f12306f3 : SUCCESS in 3m 54s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/0d215b6176da465aaabc4c22fdcf8a00 : SUCCESS in 3m 36s\n- os-api-ref-nova-src https://zuul.opendev.org/t/openstack/build/c0a13d2f5d9b465c86c592956c262d82 : SUCCESS in 5m 35s","accounts_in_message":[],"_revision_number":3},{"id":"f7bbbe0260bfc5a4ceb69395de9ed357a237d1bc","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"date":"2021-10-05 17:52:08.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"dfdfa0439be1b342cf6281d93b550c16e6dff089","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-05 18:02:12.000000000","message":"Patch Set 4: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/94379a03de1345638216f639898c4efa : SUCCESS in 3m 48s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/6bc5443c81c34288823c4a1b34599feb : SUCCESS in 4m 06s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/7a2878011448465fa458665e3bfc65c5 : SUCCESS in 3m 33s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/d5a5dfcbdd1d4ad4bc970f94c460371d : SUCCESS in 4m 03s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/10ecad470f8248f09af66c318ccee97b : SUCCESS in 3m 24s\n- os-api-ref-nova-src https://zuul.opendev.org/t/openstack/build/66c98b187219448dbb18e834f9ecf214 : SUCCESS in 5m 57s","accounts_in_message":[],"_revision_number":4},{"id":"4332face06afea4873d4f6a89aea2ad06e9c005f","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2021-10-06 08:54:47.000000000","message":"Patch Set 4:\n\n(1 comment)","accounts_in_message":[],"_revision_number":4},{"id":"4e88f73186dac4ad24ffd7cf216c2ef293dd715c","author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"date":"2021-10-06 10:21:19.000000000","message":"Patch Set 4:\n\n(1 comment)","accounts_in_message":[],"_revision_number":4},{"id":"e95587e578fcde8e4a4f00adba95d1148165c03a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2021-10-21 09:17:38.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"91493dca18027cd2103a203e8366faf79c076238","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2021-10-21 09:18:20.000000000","message":"Patch Set 5: Code-Review+2 Workflow+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":5},{"id":"ad770dc7580cca068adf726086f37609f2f5e15a","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-21 09:28:50.000000000","message":"Patch Set 5: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/ac2f5f91ae4f45b49a2473850d31758a : SUCCESS in 5m 24s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/b28b0c6533ea461bbe259a231512edcc : SUCCESS in 5m 59s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/9fb0eb9c76c14d5a9e907c0175c8a073 : SUCCESS in 5m 06s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/d7370cd7ae9148fda90d73df26391783 : SUCCESS in 5m 25s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/0262423d00634800b960023ac43168fb : SUCCESS in 4m 55s\n- os-api-ref-nova-src https://zuul.opendev.org/t/openstack/build/91a889df9aab4aa8bb39f60089dca59f : SUCCESS in 5m 22s","accounts_in_message":[],"_revision_number":5},{"id":"e61ed24a36c368565c01e017e204a98e291172d1","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-21 09:37:23.000000000","message":"Patch Set 5: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":5},{"id":"423bf45e3d1cfcec5dc36e88d1d624ec94ed5c14","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-21 09:55:49.000000000","message":"Patch Set 5: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/e25409c488f441db98a8e5aab5bac800 : SUCCESS in 4m 13s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/b74fc816b3784838a127f32436a75baa : SUCCESS in 4m 28s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/21ea23eaf4fc4aa59a9961d9b2d3cef8 : SUCCESS in 5m 08s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/50b8fa07c2584d66ae7d9072235a8a2e : SUCCESS in 4m 28s\n- os-api-ref-nova-src https://zuul.opendev.org/t/openstack/build/6a3fd73774144389a2c28120ae431a21 : SUCCESS in 6m 18s","accounts_in_message":[],"_revision_number":5},{"id":"866410042113c1ae2a8316749ab7971d09adbdf1","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-21 09:55:49.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":5},{"id":"7169f5caea3b27af0f3c0b6c415d8a91019f29cf","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-21 09:57:44.000000000","message":"Patch Set 5:\n\nBuild succeeded (promote pipeline).\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/912859988b4145f5b3408dbde9cef4d9 : SUCCESS in 1m 11s","accounts_in_message":[],"_revision_number":5}],"current_revision_number":5,"current_revision":"3d4f056ca3fa870000391f02cea2120392ddfbfd","revisions":{"e35b4f9c958878bbb09e6c83a4e710886a57b899":{"kind":"REWORK","_number":1,"created":"2021-07-02 14:52:08.000000000","uploader":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"ref":"refs/changes/16/799216/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/os-api-ref","ref":"refs/changes/16/799216/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/1"}}},"commit":{"parents":[{"commit":"79b9b698d9d8ded6864bb83465b39b4c5f123345","subject":"Merge \"Switch testing to Xena testing runtime\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/79b9b698d9d8ded6864bb83465b39b4c5f123345"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:51:39.000000000","tz":-180},"committer":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:52:05.000000000","tz":-180},"subject":"Fix exception logging","message":"Fix exception logging\n\nWhen an exception happens while executing the method `_load_param_file`,\nthe exception logging `LOG.exception(exc_info\u003dexc)` will generate an error.\n\nA small snippet to reproduce the issue is the following code:\n````\nfrom sphinx.util import logging\n\nLOG \u003d logging.getLogger(__name__)\n\ntry:\n    raise Exception(\"teste\")\nexcept Exception as exc:\n    LOG.exception(exc_info\u003dexc)\n\n```\n\nWhich will generate the error:\n\n```\n\nException: teste\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/rafael/git/os-api-ref/os_api_ref/test-logging.py\", line 8, in \u003cmodule\u003e\n    LOG.exception(exc_info\u003dexc)\nTypeError: exception() missing 1 required positional argument: \u0027msg\u0027\n\nProcess finished with exit code 1\n```\n\nWith this fix, the exception loggin error is solved, and users get a meaningful message.\n\nChange-Id: Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/e35b4f9c958878bbb09e6c83a4e710886a57b899"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/e35b4f9c958878bbb09e6c83a4e710886a57b899"}]},"branch":"refs/heads/master"},"b6b9979effe92d1cd5b2dcfc9b40645d983c57d2":{"kind":"REWORK","_number":2,"created":"2021-07-02 14:53:20.000000000","uploader":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"ref":"refs/changes/16/799216/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/os-api-ref","ref":"refs/changes/16/799216/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/2"}}},"commit":{"parents":[{"commit":"79b9b698d9d8ded6864bb83465b39b4c5f123345","subject":"Merge \"Switch testing to Xena testing runtime\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/79b9b698d9d8ded6864bb83465b39b4c5f123345"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:51:39.000000000","tz":-180},"committer":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:53:10.000000000","tz":-180},"subject":"Fix exception logging","message":"Fix exception logging\n\nWhen an exception happens while executing the method `_load_param_file`,\nthe exception logging `LOG.exception(exc_info\u003dexc)` will generate an error.\n\nA small snippet to reproduce the issue is the following code:\n````\nfrom sphinx.util import logging\n\nLOG \u003d logging.getLogger(__name__)\n\ntry:\n    raise Exception(\"teste\")\nexcept Exception as exc:\n    LOG.exception(exc_info\u003dexc)\n\n```\n\nWhich will generate the error:\n\n```\n\nException: teste\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/rafael/git/os-api-ref/os_api_ref/test-logging.py\", line 8, in \u003cmodule\u003e\n    LOG.exception(exc_info\u003dexc)\nTypeError: exception() missing 1 required positional argument: \u0027msg\u0027\n\nProcess finished with exit code 1\n```\n\nWith this fix, the exception loggin error is solved, and users get a meaningful message.\n\nChange-Id: Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/b6b9979effe92d1cd5b2dcfc9b40645d983c57d2"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/b6b9979effe92d1cd5b2dcfc9b40645d983c57d2"}]},"branch":"refs/heads/master"},"a9e253ede0ba0fb68836883a6668569b7b7a0152":{"kind":"REWORK","_number":3,"created":"2021-10-05 17:29:13.000000000","uploader":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"ref":"refs/changes/16/799216/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/os-api-ref","ref":"refs/changes/16/799216/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/3"}}},"commit":{"parents":[{"commit":"79b9b698d9d8ded6864bb83465b39b4c5f123345","subject":"Merge \"Switch testing to Xena testing runtime\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/79b9b698d9d8ded6864bb83465b39b4c5f123345"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:51:39.000000000","tz":-180},"committer":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-10-05 17:29:01.000000000","tz":-180},"subject":"Fix exception logging","message":"Fix exception logging\n\nWhen an exception happens while executing the method `_load_param_file`,\nthe exception logging `LOG.exception(exc_info\u003dexc)` will generate an error.\n\nA small snippet to reproduce the issue is the following code:\n````\nfrom sphinx.util import logging\n\nLOG \u003d logging.getLogger(__name__)\n\ntry:\n    raise Exception(\"teste\")\nexcept Exception as exc:\n    LOG.exception(exc_info\u003dexc)\n\n```\n\nWhich will generate the error:\n\n```\n\nException: teste\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/rafael/git/os-api-ref/os_api_ref/test-logging.py\", line 8, in \u003cmodule\u003e\n    LOG.exception(exc_info\u003dexc)\nTypeError: exception() missing 1 required positional argument: \u0027msg\u0027\n\nProcess finished with exit code 1\n```\n\nWith this fix, the exception loggin error is solved, and users get a meaningful message.\n\nChange-Id: Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/a9e253ede0ba0fb68836883a6668569b7b7a0152"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/a9e253ede0ba0fb68836883a6668569b7b7a0152"}]},"branch":"refs/heads/master"},"9e47b308d022da6f3dde5eebbc9de49d252bc225":{"kind":"REWORK","_number":4,"created":"2021-10-05 17:52:08.000000000","uploader":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"ref":"refs/changes/16/799216/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/os-api-ref","ref":"refs/changes/16/799216/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/4"}}},"commit":{"parents":[{"commit":"79b9b698d9d8ded6864bb83465b39b4c5f123345","subject":"Merge \"Switch testing to Xena testing runtime\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/79b9b698d9d8ded6864bb83465b39b4c5f123345"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:51:39.000000000","tz":-180},"committer":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-10-05 17:51:45.000000000","tz":-180},"subject":"Fix exception logging","message":"Fix exception logging\n\nWhen an exception happens while executing the method `_load_param_file`,\nthe exception logging `LOG.exception(exc_info\u003dexc)` will generate an error.\n\nA small snippet to reproduce the issue is the following code:\n````\nfrom sphinx.util import logging\n\nLOG \u003d logging.getLogger(__name__)\n\ntry:\n    raise Exception(\"teste\")\nexcept Exception as exc:\n    LOG.exception(exc_info\u003dexc)\n\n```\n\nWhich will generate the error:\n\n```\n\nException: teste\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/rafael/git/os-api-ref/os_api_ref/test-logging.py\", line 8, in \u003cmodule\u003e\n    LOG.exception(exc_info\u003dexc)\nTypeError: exception() missing 1 required positional argument: \u0027msg\u0027\n\nProcess finished with exit code 1\n```\n\nWith this fix, the exception loggin error is solved, and users get a meaningful message.\n\nChange-Id: Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/9e47b308d022da6f3dde5eebbc9de49d252bc225"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/9e47b308d022da6f3dde5eebbc9de49d252bc225"}]},"branch":"refs/heads/master"},"3d4f056ca3fa870000391f02cea2120392ddfbfd":{"kind":"REWORK","_number":5,"created":"2021-10-21 09:17:38.000000000","uploader":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"ref":"refs/changes/16/799216/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/os-api-ref","ref":"refs/changes/16/799216/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/os-api-ref refs/changes/16/799216/5"}}},"commit":{"parents":[{"commit":"8aa8e717995c5c6527ca18422c7bfb8b7b2bda9c","subject":"tox: Don\u0027t use distutils entrypoint for coverage","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/8aa8e717995c5c6527ca18422c7bfb8b7b2bda9c"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2021-07-02 14:51:39.000000000","tz":-180},"committer":{"name":"Stephen Finucane","email":"stephenfin@redhat.com","date":"2021-10-21 09:16:39.000000000","tz":60},"subject":"Fix exception logging","message":"Fix exception logging\n\nWhen an exception happens while executing the method `_load_param_file`,\nthe exception logging `LOG.exception(exc_info\u003dexc)` will generate an\nerror.\n\nA small snippet to reproduce the issue is the following code:\n\n  from sphinx.util import logging\n\n  LOG \u003d logging.getLogger(__name__)\n\n  try:\n      raise Exception(\"teste\")\n  except Exception as exc:\n      LOG.exception(exc_info\u003dexc)\n\nWhich will generate the error:\n\n  Exception: teste\n\n  During handling of the above exception, another exception occurred:\n\n  Traceback (most recent call last):\n    File \"/home/rafael/git/os-api-ref/os_api_ref/test-logging.py\", line 8, in \u003cmodule\u003e\n      LOG.exception(exc_info\u003dexc)\n  TypeError: exception() missing 1 required positional argument: \u0027msg\u0027\n\n  Process finished with exit code 1\n\nWith this fix, the exception logging error is solved, and users get a\nmeaningful message.\n\nChange-Id: Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/3d4f056ca3fa870000391f02cea2120392ddfbfd"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/os-api-ref/commit/3d4f056ca3fa870000391f02cea2120392ddfbfd"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"}},{"label":"Workflow","status":"OK","applied_by":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dCustom-Rule"],"failing_atoms":[],"atom_explanations":{}}},{"name":"Workflow","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Workflow\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dCustom-Rule"],"failing_atoms":[],"atom_explanations":{}}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dCustom-Rule"],"failing_atoms":[],"atom_explanations":{}}}]}
