)]}'
{"id":"openstack%2Fironic-python-agent~743606","triplet_id":"openstack%2Fironic-python-agent~master~Ieb285c73dde5928de06306c51ea9dbbb614632d8","project":"openstack/ironic-python-agent","branch":"master","hashtags":[],"change_id":"Ieb285c73dde5928de06306c51ea9dbbb614632d8","subject":"Capture TypeError when the logger fails","status":"ABANDONED","created":"2020-07-28 18:02:41.000000000","updated":"2020-08-03 21:29:32.000000000","total_comment_count":6,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"a369e28f3f3f1b01ba20272cb6a3e621b9a5b357","_number":743606,"virtual_id_number":743606,"owner":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"tag":"autogenerated:zuul:check","value":1,"date":"2020-07-30 20:40:44.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"date":"2020-07-30 20:51:20.000000000","_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"rejected":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},{"value":-2,"date":"2020-07-30 23:26:37.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"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":{"rejected":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"all":[{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},{"value":-1,"date":"2020-07-30 23:26:37.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"values":{"-1":"Do Not Backport"," 0":"Backport Review Needed","+1":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2020-07-29 12:30:25.000000000","updated_by":{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},"reviewer":{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},"state":"REVIEWER"},{"updated":"2020-07-30 10:04:41.000000000","updated_by":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"reviewer":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"state":"REVIEWER"},{"updated":"2020-07-30 20:40:44.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":"2020-07-30 20:51:20.000000000","updated_by":{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},"reviewer":{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"ea2e9774d4a5d53ce0418054584fce6811cdb010","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-07-28 18:02:41.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d9b909d84f97441843976e9284c9a175b85ca8f3","author":{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},"date":"2020-07-28 19:02:22.000000000","message":"Patch Set 1: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"636990ed0a22d6b6db986bdf17e9ba4537b9bb0b","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-07-28 19:28:05.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"3bf62739f54305c82149bf7dd9eb442daec461cd","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-07-28 19:49:06.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"1e4f2660af7d836e9980a755237dd1662c1bd3ec","author":{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},"date":"2020-07-28 21:49:53.000000000","message":"Patch Set 2:\n\nBuild succeeded (check pipeline).\n\n- tripleo-ci-centos-8-ovb-1ctlr_1comp-featureset001 https://review.rdoproject.org/zuul/build/70f2fa8c321541f6850b00e58a053d62 : SUCCESS in 1h 59m 48s","accounts_in_message":[],"_revision_number":2},{"id":"c69f003287b9208364df7ce6b5f6d3afec6a9fae","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-07-28 21:58:00.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/f11f607911dd43129c79a71db3baf3c2 : SUCCESS in 3m 52s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/f72f8647a2e94587bc8b767e891bf214 : SUCCESS in 4m 08s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/0b069ddac60e4a27ba49961775a62527 : SUCCESS in 4m 14s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/d164d2bf29a54cb589ecc3acec6e22f3 : SUCCESS in 4m 25s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/46b4c541adf64cd3b7f529bd3863af85 : SUCCESS in 3m 57s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/06821e73c66346f98733c6a81d71ad67 : SUCCESS in 11m 08s\n- ipa-tempest-bios-ipmi-direct-src https://zuul.opendev.org/t/openstack/build/28821855aaee461aa0a6b99897b5d2bc : SUCCESS in 1h 44m 51s\n- ipa-tempest-bios-ipmi-iscsi-src https://zuul.opendev.org/t/openstack/build/c3fa1c5e3919457290d7fe1b7c1c7175 : SUCCESS in 1h 29m 24s\n- ironic-standalone-ipa-src https://zuul.opendev.org/t/openstack/build/b3d14e2a560d42e5b66adaaea1557f03 : SUCCESS in 1h 30m 55s\n- metalsmith-integration-ipa-src https://zuul.opendev.org/t/openstack/build/f20ec9bad7484b5792efe6aadeba640c : SUCCESS in 1h 23m 14s\n- ironic-python-agent-check-image-tinyipa https://zuul.opendev.org/t/openstack/build/f1a6d89ebfdf4fed862b534ad50a38d3 : SUCCESS in 18m 48s (non-voting)\n- ironic-python-agent-check-image-dib-centos8 https://zuul.opendev.org/t/openstack/build/0476ae6a77bc4b5482a52c038e6bf10b : SUCCESS in 10m 34s (non-voting)\n- ipa-tempest-ironic-inspector-src https://zuul.opendev.org/t/openstack/build/fcc94fa7e3a14d4c8b2b63ed8f2df5b4 : SUCCESS in 2h 05m 45s (non-voting)\n- openstack-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/04bf943a3656474291da14ad92ba2735 : SUCCESS in 3m 59s (non-voting)\n- ipa-tox-bandit https://zuul.opendev.org/t/openstack/build/288c80cb7f2f4d719e7760cf7b62e10c : SUCCESS in 5m 04s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"df925e6b612b371db19d313c309c959e43252615","author":{"_account_id":21909,"name":"Bob Fournier","email":"bfournie@redhat.com","username":"bfournie"},"date":"2020-07-29 12:30:25.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"3fb20411493ba84791daf663d2fc20f7eb152ce1","author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"date":"2020-07-30 10:04:41.000000000","message":"Patch Set 2: Code-Review-1\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"c6c131a8830a19cadd5b89b82be4696b0142e17e","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-07-30 13:25:30.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"9105e43c1653804cec252283bd52700ae432fe5d","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-07-30 18:51:01.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"30332c06e6d69f18203a6e9735c1eb0c99fe03ef","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-07-30 20:40:44.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/0f04090585e342abbd767fd918179bf0 : SUCCESS in 3m 43s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/1f2f686a72b44b9b93f7809dcedd4c69 : SUCCESS in 4m 43s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/329cc820548246b9bd3459ffe28fa293 : SUCCESS in 4m 27s\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/996a1e804bab41a6a4a62fb05d099196 : SUCCESS in 6m 09s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/148ea8d9bc6e499399e342acc8d3c67c : SUCCESS in 5m 46s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/25f878e57b924e04bf3151c4a228073d : SUCCESS in 5m 23s\n- ipa-tempest-bios-ipmi-direct-src https://zuul.opendev.org/t/openstack/build/437c380b20d14041a22e254d60229795 : SUCCESS in 1h 16m 21s\n- ipa-tempest-bios-ipmi-iscsi-src https://zuul.opendev.org/t/openstack/build/469a4883b6994be2b49fd3a0f353fb93 : SUCCESS in 1h 41m 08s\n- ironic-standalone-ipa-src https://zuul.opendev.org/t/openstack/build/48f5f44763b04adbb31393f1fe809f55 : SUCCESS in 1h 17m 18s\n- metalsmith-integration-ipa-src https://zuul.opendev.org/t/openstack/build/f1fe6bfca6a54c479a71acf5d42a6d85 : SUCCESS in 56m 11s\n- ironic-python-agent-check-image-tinyipa https://zuul.opendev.org/t/openstack/build/ccb4a3a527184de2b74b991224f7adf3 : SUCCESS in 17m 17s (non-voting)\n- ironic-python-agent-check-image-dib-centos8 https://zuul.opendev.org/t/openstack/build/8b850276e4d740be802508b8036b2047 : SUCCESS in 9m 38s (non-voting)\n- ipa-tempest-ironic-inspector-src https://zuul.opendev.org/t/openstack/build/993503d9f4dc4820b7b8a9d624b682b8 : SUCCESS in 1h 43m 08s (non-voting)\n- openstack-tox-functional-py36 https://zuul.opendev.org/t/openstack/build/12493737f94143679a5be25a4d8a55eb : SUCCESS in 4m 19s (non-voting)\n- ipa-tox-bandit https://zuul.opendev.org/t/openstack/build/6a94fdf491a949b19016d37ad4ef573a : SUCCESS in 5m 13s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"0dbb26741541c54eb82ad37b3b54eaa706533965","author":{"_account_id":23181,"name":"RDO Third Party CI","email":"dmsimard+rdothirdparty@redhat.com","username":"rdothirdparty","tags":["SERVICE_USER"]},"date":"2020-07-30 20:51:20.000000000","message":"Patch Set 3:\n\nBuild succeeded (check pipeline).\n\n- tripleo-ci-centos-8-ovb-1ctlr_1comp-featureset001 https://review.rdoproject.org/zuul/build/571690c701fc4abfa4938ff606e19e18 : SUCCESS in 1h 59m 17s","accounts_in_message":[],"_revision_number":3},{"id":"8835940cba575c0834fbf2ae429da53b6e3785b6","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-07-30 23:26:37.000000000","message":"Patch Set 3: Code-Review-2 Workflow-1\n\nnope nope nope! This is not it!\n\nhttps://review.opendev.org/#/c/744077/","accounts_in_message":[],"_revision_number":3},{"id":"a369e28f3f3f1b01ba20272cb6a3e621b9a5b357","author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"date":"2020-08-03 21:29:32.000000000","message":"Abandoned\n\nWrong issue, abandoning.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"2327d51d1d6f346424cda0a8e24a2980f8285e1a","revisions":{"512ce2e8edc331143b5722d2af4ddac391412e35":{"kind":"REWORK","_number":1,"created":"2020-07-28 18:02:41.000000000","uploader":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"ref":"refs/changes/06/743606/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/ironic-python-agent","ref":"refs/changes/06/743606/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/1"}}},"commit":{"parents":[{"commit":"c66bec0f43cfeb371a8ac97df3eddca3853191dc","subject":"Set min version of tox to 3.2.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/c66bec0f43cfeb371a8ac97df3eddca3853191dc"}]}],"author":{"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","date":"2020-07-28 17:44:48.000000000","tz":-420},"committer":{"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","date":"2020-07-28 17:44:48.000000000","tz":-420},"subject":"Capture TypeError when the logger fails","message":"Capture TypeError when the logger fails\n\nOslo_utils, excutils module\u0027s save_and_reraise_exception has\na wonderful feature where it automatically logs exceptions in\nthe exception stack that it drops from the exception it is going\nto raise.\n\nUnfortunately, when the code that is part of this exception logging\nhas a failure, it is near impossible to figure out the actual origin\nof the failure.\n\nThis is espescially difficult with the IPA ramdisk as we cannot\neasily troubleshoot after the fact and the stack trace scrolls of\nthe screen with all of the steps through the logging code without\nproviding any hint as to what actually occured to cause the exception\nin the first place.\n\nAdds some handling which we should be able to backport to older\nversions where python 2.7 and the cirica 2016 python systemd logging\ncode exists which is where things go sideways, which it explicitly\ncannot handle tuples being passed in for conversion.\n\nrhbz# 1848101\nStory: 2007962\nTask: 40455\n\nChange-Id: Ieb285c73dde5928de06306c51ea9dbbb614632d8\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/512ce2e8edc331143b5722d2af4ddac391412e35"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/512ce2e8edc331143b5722d2af4ddac391412e35"}]},"branch":"refs/heads/master"},"6186a3fdeb4fcd2f30fee848dc974bab62b0c874":{"kind":"REWORK","_number":2,"created":"2020-07-28 19:49:06.000000000","uploader":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"ref":"refs/changes/06/743606/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/ironic-python-agent","ref":"refs/changes/06/743606/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/2"}}},"commit":{"parents":[{"commit":"c66bec0f43cfeb371a8ac97df3eddca3853191dc","subject":"Set min version of tox to 3.2.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/c66bec0f43cfeb371a8ac97df3eddca3853191dc"}]}],"author":{"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","date":"2020-07-28 17:44:48.000000000","tz":-420},"committer":{"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","date":"2020-07-28 19:49:01.000000000","tz":-420},"subject":"Capture TypeError when the logger fails","message":"Capture TypeError when the logger fails\n\nOslo_utils, excutils module\u0027s save_and_reraise_exception has\na wonderful feature where it automatically logs exceptions in\nthe exception stack that it drops from the exception it is going\nto raise.\n\nUnfortunately, when the code that is part of this exception logging\nhas a failure, it is near impossible to figure out the actual origin\nof the failure.\n\nThis is espescially difficult with the IPA ramdisk as we cannot\neasily troubleshoot after the fact and the stack trace scrolls of\nthe screen with all of the steps through the logging code without\nproviding any hint as to what actually occured to cause the exception\nin the first place.\n\nAdds some handling which we should be able to backport to older\nversions where python 2.7 and the cirica 2016 python systemd logging\ncode exists which is where things go sideways, which it explicitly\ncannot handle tuples being passed in for conversion.\n\nrhbz# 1848101\nStory: 2007962\nTask: 40455\n\nChange-Id: Ieb285c73dde5928de06306c51ea9dbbb614632d8\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/6186a3fdeb4fcd2f30fee848dc974bab62b0c874"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/6186a3fdeb4fcd2f30fee848dc974bab62b0c874"}]},"branch":"refs/heads/master"},"2327d51d1d6f346424cda0a8e24a2980f8285e1a":{"kind":"REWORK","_number":3,"created":"2020-07-30 18:51:01.000000000","uploader":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"ref":"refs/changes/06/743606/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/ironic-python-agent","ref":"refs/changes/06/743606/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/ironic-python-agent refs/changes/06/743606/3"}}},"commit":{"parents":[{"commit":"c66bec0f43cfeb371a8ac97df3eddca3853191dc","subject":"Set min version of tox to 3.2.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/c66bec0f43cfeb371a8ac97df3eddca3853191dc"}]}],"author":{"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","date":"2020-07-28 17:44:48.000000000","tz":-420},"committer":{"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","date":"2020-07-30 18:50:54.000000000","tz":-420},"subject":"Capture TypeError when the logger fails","message":"Capture TypeError when the logger fails\n\nOslo_utils, excutils module\u0027s save_and_reraise_exception has\na wonderful feature where it automatically logs exceptions in\nthe exception stack that it drops from the exception it is going\nto raise.\n\nUnfortunately, when the code that is part of this exception logging\nhas a failure, it is near impossible to figure out the actual origin\nof the failure.\n\nThis is espescially difficult with the IPA ramdisk as we cannot\neasily troubleshoot after the fact and the stack trace scrolls of\nthe screen with all of the steps through the logging code without\nproviding any hint as to what actually occured to cause the exception\nin the first place.\n\nAdds some handling which we should be able to backport to older\nversions where python 2.7 and the cirica 2016 python systemd logging\ncode exists which is where things go sideways, which it explicitly\ncannot handle tuples being passed in for conversion.\n\nrhbz# 1848101\nStory: 2007962\nTask: 40455\n\nChange-Id: Ieb285c73dde5928de06306c51ea9dbbb614632d8\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/2327d51d1d6f346424cda0a8e24a2980f8285e1a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/ironic-python-agent/commit/2327d51d1d6f346424cda0a8e24a2980f8285e1a"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
