)]}'
{"id":"openstack%2Fpython-magnumclient~147596","triplet_id":"openstack%2Fpython-magnumclient~master~I1697ff2d4fb47cdabf8da19ba862abcaed3a44ee","project":"openstack/python-magnumclient","branch":"master","topic":"bug/1410444","hashtags":[],"change_id":"I1697ff2d4fb47cdabf8da19ba862abcaed3a44ee","subject":"Fix an error on not finding log handler","status":"MERGED","created":"2015-01-15 17:17:27.000000000","updated":"2015-01-16 05:20:13.000000000","submitted":"2015-01-16 05:20:12.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"9087372665ff5e5a579b87ef685c347e40d82056","_number":147596,"virtual_id_number":147596,"owner":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},{"value":2,"date":"2015-01-16 05:20:12.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},{"value":0,"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"}],"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":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"all":[{"value":2,"date":"2015-01-16 05:18:37.000000000","_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2015-01-16 04:30:39.000000000","_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},{"value":0,"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"}],"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":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"all":[{"value":1,"date":"2015-01-16 05:18:37.000000000","_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},{"value":0,"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"value":0,"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},{"value":0,"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"}],"values":{"-2":"Do Not Backport","-1":"Not A Backport Candidate"," 0":"Backport Review Needed","+1":"Proposed Backport","+2":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-01-15 23:56:58.000000000","updated_by":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"reviewer":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"state":"REVIEWER"},{"updated":"2015-01-16 04:30:39.000000000","updated_by":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"reviewer":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"state":"REVIEWER"},{"updated":"2015-01-16 05:18:37.000000000","updated_by":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"reviewer":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"state":"REVIEWER"},{"updated":"2015-01-16 05:20:12.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"b7b25046b173564863630185991cc875b830e015","author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"date":"2015-01-15 17:17:27.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"88d340e27df2c57efb29b0de1e7cc7a31c23cd0e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-01-15 17:19:52.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-magnumclient-pep8 http://logs.openstack.org/96/147596/1/check/gate-python-magnumclient-pep8/aa21368/ : SUCCESS in 31s\n- gate-python-magnumclient-docs http://docs-draft.openstack.org/96/147596/1/check/gate-python-magnumclient-docs/d2458a3//doc/build/html/ : SUCCESS in 55s\n- gate-python-magnumclient-python27 http://logs.openstack.org/96/147596/1/check/gate-python-magnumclient-python27/41648d9/ : SUCCESS in 30s","accounts_in_message":[],"_revision_number":1},{"id":"149381006d321c1ce0234912251b4cdf8b3d5a44","author":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"date":"2015-01-15 18:46:06.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"3422c298fd220ec1c956085d853fab970cafb9f2","author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"date":"2015-01-15 23:39:20.000000000","message":"Patch Set 1: Code-Review-1\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"589d5661749300c149d2b99603c3fb00eda44caa","author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"date":"2015-01-15 23:42:00.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"2c6f93cef385af7be212f1bf4a67eae1de017c34","author":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"date":"2015-01-15 23:56:58.000000000","message":"Patch Set 1: Code-Review-1\n\nI agree with Jay, I still like to see how to hit the issue(means reproduce), and filed a bug, mark in git message","accounts_in_message":[],"_revision_number":1},{"id":"de83b1619ca974036f2f3bfd75b09c4578bde5b5","author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"date":"2015-01-16 03:03:14.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"54ddfb9d4de657f08e53b1d54cd1dc428e6b9273","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-01-16 03:07:22.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-magnumclient-pep8 http://logs.openstack.org/96/147596/2/check/gate-python-magnumclient-pep8/a96ca64/ : SUCCESS in 37s\n- gate-python-magnumclient-docs http://docs-draft.openstack.org/96/147596/2/check/gate-python-magnumclient-docs/adbcbac//doc/build/html/ : SUCCESS in 41s\n- gate-python-magnumclient-python27 http://logs.openstack.org/96/147596/2/check/gate-python-magnumclient-python27/b9c12a6/ : SUCCESS in 41s","accounts_in_message":[],"_revision_number":2},{"id":"25b24506422cdf323157d287cb4b357c3a67621a","author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"date":"2015-01-16 04:30:39.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"3bc40147078391b91509fa5e4a302337d330a995","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-01-16 05:18:37.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"f279dcc84c0ad939405ed98aa61308a8c2b42220","author":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"date":"2015-01-16 05:18:37.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"eb3448fdef639f5287e9734393d4a71ef089484f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-01-16 05:20:12.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-magnumclient-docs http://docs-draft.openstack.org/96/147596/2/gate/gate-python-magnumclient-docs/14e2cac//doc/build/html/ : SUCCESS in 36s\n- gate-python-magnumclient-pep8 http://logs.openstack.org/96/147596/2/gate/gate-python-magnumclient-pep8/bf02454/ : SUCCESS in 28s\n- gate-python-magnumclient-python27 http://logs.openstack.org/96/147596/2/gate/gate-python-magnumclient-python27/04569e3/ : SUCCESS in 43s","accounts_in_message":[],"_revision_number":2},{"id":"ea55de880511b56411c31b7b4c11ad70d210f75d","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-01-16 05:20:13.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"17bdfa26cac542d1055e449786ca93a622febd8f","revisions":{"e2abc85048de39b659dd30b8b9578d813f30d1e0":{"kind":"REWORK","_number":1,"created":"2015-01-15 17:17:27.000000000","uploader":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"ref":"refs/changes/96/147596/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-magnumclient","ref":"refs/changes/96/147596/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/1"}}},"commit":{"parents":[{"commit":"442e08b2895ad7eae29ce8ee7ffa0e4ba445f36c","subject":"Revert \"Fix an error on not finding log handler\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-magnumclient/commit/442e08b2895ad7eae29ce8ee7ffa0e4ba445f36c"}]}],"author":{"name":"Hongbin Lu","email":"hongbin034@gmail.com","date":"2015-01-15 16:58:19.000000000","tz":0},"committer":{"name":"Hongbin Lu","email":"hongbin034@gmail.com","date":"2015-01-15 17:15:33.000000000","tz":0},"subject":"Fix an error on not finding log handler","message":"Fix an error on not finding log handler\n\nMagnum client printed an error message when server return a failure\nstatus. Below is the exact message:\n\nNo handlers could be found for logger \"magnumclient.common.httpclient\"\n\nThis commit addressed the same problem as the reverted commit\n5b59253667a12a1b592d967bbcaa1f1adda559d3, but fixed it in a\nbetter way.\n\nChange-Id: I1697ff2d4fb47cdabf8da19ba862abcaed3a44ee\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-magnumclient/commit/e2abc85048de39b659dd30b8b9578d813f30d1e0"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-magnumclient/commit/e2abc85048de39b659dd30b8b9578d813f30d1e0"}]},"branch":"refs/heads/master"},"17bdfa26cac542d1055e449786ca93a622febd8f":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2015-01-16 03:03:14.000000000","uploader":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"ref":"refs/changes/96/147596/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-magnumclient","ref":"refs/changes/96/147596/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-magnumclient refs/changes/96/147596/2"}}},"commit":{"parents":[{"commit":"442e08b2895ad7eae29ce8ee7ffa0e4ba445f36c","subject":"Revert \"Fix an error on not finding log handler\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-magnumclient/commit/442e08b2895ad7eae29ce8ee7ffa0e4ba445f36c"}]}],"author":{"name":"Hongbin Lu","email":"hongbin034@gmail.com","date":"2015-01-15 16:58:19.000000000","tz":0},"committer":{"name":"Hongbin Lu","email":"hongbin034@gmail.com","date":"2015-01-16 02:28:37.000000000","tz":0},"subject":"Fix an error on not finding log handler","message":"Fix an error on not finding log handler\n\nWhen server return a failure response, magnumclient will use the python\nlogging library to log the status. The library will attempt to log the\nfailure by finding a log handler to do the actual logging tasks. If there\nis no log handler, no message will be logged and the error message below\nwill be printed.\n\nNo handlers could be found for logger \"magnumclient.common.httpclient\"\n\nIn before, magnumclient did not add any log handler on non-debug mode,\nwhich is a bug. This commit is for fixing that. It should be mentioned\nthat there is another commit 5b59253667a12a1b592d967bbcaa1f1adda559d3\n(which has been reverted by 442e08b2895ad7eae29ce8ee7ffa0e4ba445f36c)\nfor addressing the same problem. However, this commit is a better fix since\nit calls function basicConfig to add a default handler to root logger,\nwhich ensure that there is always a handler globally.\n\nRelated-Bug: 1410444\nRelated-Bug: 1410507\nRelated-Bug: 1410510\nChange-Id: I1697ff2d4fb47cdabf8da19ba862abcaed3a44ee\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-magnumclient/commit/17bdfa26cac542d1055e449786ca93a622febd8f"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-magnumclient/commit/17bdfa26cac542d1055e449786ca93a622febd8f"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
